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:[email protected]]
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:[email protected]]
Sent: 19 July 2010 19:29
To: [email protected]
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
[email protected]
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users