I'm not suggesting that the compiler or linker handle this at all. Just 
interested in it being baked into the targets so if a key file is specified 
that the output MSI is signed at the end of the build process. I agree that WiX 
should not be in the business of signing each of the individual items that goes 
into the installer.

Yes, it sucks there is no signtool task. Pretty much all the rest can be done 
using built-in tasks. I found a useful blog 
entry<http://blogs.msdn.com/mwade/archive/2006/10/03/A-PostBuild-Step-that-Does-Something.aspx>
 that I'll use to get this done, although again, it'd be nice if this were 
standard in the wix.targets file :)

Neil

From: Rob Mensching
Sent: May-07-08 2:33 PM
To: Neil Enns; wix-users@lists.sourceforge.net
Subject: RE: Signing built MSIs?

Write a task that signs files?  <smile/>

Seriously, some people have suggested that WiX should sign files.  I'm a little 
skeptical because it doesn't seem like something the compiler/linker should be 
doing.  Others have noted that signing is done by csc.exe to create strong 
named assemblies.  I've argued that is a little different because the 
signatures are for different reasons... but it isn't a good argument.  <grin/>

So, we've waffled on this a little bit.  One thing I *do not* think WiX should 
be doing is signing all the installed files.  That should be handled before you 
get to the binding process.

However, I'm open to discussion...


PS:  Why doesn't MSBuild come with a signing task?  <shrug/>  I want C++ tasks 
first in any case.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Enns
Sent: Wednesday, May 07, 2008 13:36
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Signing built MSIs?

Does WiX 3.0 currently have any support for signing the generated MSI at the 
end of the build process? I took a quick peek at the wix.targets file and 
didn't see anything obvious. Is there a recommended way of doing this?

Thanks,

Neil
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to