Simon Dahlbacka wrote:
> On Mon, Sep 28, 2009 at 9:37 PM, Mark <godef...@gmail.com> wrote:
> 
>> I'm (still) trying to install a SnapIn using WiX and PSExtension. I'm
>> (still) getting the same error, however, which doesn't make any sense to
>> me, and I believe it's a bug in PSExtension. Here's the relevant
>> component in my .wxs file:
>>
>> <Component Id="nmps_dll" Guid="1c48d3b5-64ab-4f0c-9ce6-c4eb6f3232e9">
>>        <File Id="pstools.dll" Source="$(var.pstools.TargetDir)"
>> KeyPath="yes"
>> Assembly=".net" AssemblyApplication="pstools.dll">
>>                <ps:SnapIn Id="pstools" Description="Management Tools"
>> Vendor="mycompany" />
>>        </File>
>> </Component>
>>
>> And when I try to build the installer, I get this error:
>>
>> Unresolved bind-time variable !(bind.assemblyName.pstools.dll),
>> Version=!(bind.assemblyVersion.pstools.dll),
>> Culture=!(bind.assemblyCulture.pstools.dll),
>> PublicKeyToken=!(bind.assemblyPublicKeyToken.pstools.dll).
>>
>> If I leave the <ps:SnapIn> tag out, it builds fine (but doesn't register
>> the snapin, of course), and if I leave the AssemblyApplication attribute
>> out, I get an error about strong names (which is expected, it's not
>> strong-named, but I don't want it to go in the GAC).
>>
>> Don't know anything about installing snapins but:
> Doesn't @Assembly=".net" say that the file is to be installed in GAC ?
> 
> /Simon


Yes, unless @AssemblyApplication is specified. That's the way I read it, 
anyway.

Mark


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to