Neil Suggestion (but not tested).
Close visual studio, then edit the project file manually. When setting the path use the either the $(SolutionDir) or $(ProjectDir) as the root of the path, so that the project is transportable. Then reopen in Vis studio. Haven't done this with wix project files, but it does work with other items in other project files. Michael -----Original Message----- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Tuesday, 20 July 2010 4:01 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WixFirewallExtension from 3.5 Thanks for the tip but I couldn't get it work. Neil -----Original Message----- From: Blair [mailto:os...@live.com] Sent: 20 July 2010 03:45 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] WixFirewallExtension from 3.5 Is there any way to make the HintPath a fully qualified path? Perhaps something along these lines? <ItemGroup> <Ext Include="..\..\path\to\ext.dll"/> <WixExtension Include="Ext"> <HintPath>%(Ext.FullPath)</HintPath> <Name>Ext</Name> </WixExtension> </ItemGroup> -----Original Message----- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Monday, July 19, 2010 1:42 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WixFirewallExtension from 3.5 It was loading the wrong version. The problem seems to be that candle doesn't use relative paths with -ext, so it ends up reading the file from the WiX bin folder. If you specify a fully qualified path it works. Visual Studio sets the path to a relative path (e.g. -ext WixFirewallExtension.dll) and so it fails. I can't seem to find any way to force Visual Studio to load the correct file. Neil -----Original Message----- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: 19 July 2010 19:29 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WixFirewallExtension from 3.5 On 7/19/2010 2:23 PM, Neil Sleightholm wrote: > I would like to use the WixFirewallExtension from 3.5 with WiX 3.0 > because it now supports the "Profile" attribute. I thought this would > simply be a case of referencing the extension from a local folder and > all would be ok. But when I try this I get an error from candle "The > fire:FirewallException element contains an unexpected attribute > 'Profile'." The candle command line looks correct, i.e. it has a full > path to the 3.5 version of the assembly. One odd thing I have noticed is > that when I look at the properties of the assembly in Visual Studio the > Version is 3.0.0.0 rather than 3.5.0.0. > The assembly version is unchanged, because they're backward compatible. I suspect Candle is loading the 3.0 version; try FusLogVw to verify. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------ ------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ---- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users