sn -Vr doesn't sign the assembly, it causes verification of that assembly to be
skipped.
> From: mark...@live.it
> To: wix-users@lists.sourceforge.net
> Date: Fri, 30 Aug 2013 00:32:46 +0200
> Subject: [WiX-users] HeatFile fail for a dll that need to be resigned
>
> I have a dll that is signed when it's compiled, and I need to harvest it
> using HeatFile for getting the registry keys to register it for using as a
> shell extension.
> The problem is that I have a stand alone solution with the setup project,
> that build the setup using the compiled file of my application included the
> dll that I have to use for shell extension, and I'm using virtual machine as
> server build, but in this machine I don't compile the dll so in this machine
> the dll isn't signed.
> IIf I run the HeatFile with this dll, I receive a warning 5151 and the wsx
> output file hasn't the registry keys and the build fail.
> I have tried to resign the dll calling the sn.exe (Strong Name Tool) with
> option -Vr, after this the HeatFile seem to work fine.
>
> Is there any way for integrating in the wix project the resign of the dll, it
> could be useful to have an option in the HeatFile item for resign the dll, or
> perhaps calling the sn.exe in a build step or with custom action? I need to
> retrieve the correct path because in this machine I install the Windows 7 SDK
> tools while in the local machine I have Visual Studio Installed and then the
> sn.exe location could be different.
>
> I'm using the last stable wix 3.7, perhaps something is there in the latest
> 3.8 or 4.0?
>
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users