How to sign installation files of a Visual Studio .msi

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2009-10-30T21:00:38Z Indexed on 2010/04/02 5:13 UTC
Read the original article Hit count: 558

This may be a duplicate, though I can't find it at this time. If so please point me in the right direction.

I recently purchased an authenticode certificate from globalsign and am having problems signing my files for deployment. There are a couple of .exe files that are generated by a project and then put into a .msi. When I sign the .exe files with the signtool the certificate is valid and they run fine. The problem is that when I build the .msi (using the visual studio setup project) the .exe files loose their signatures. So I can sign the .msi after it is built, but the installed .exe files continue the whole "unknown publisher" business. How can I retain the signature on these files for installation on the client machine?

You help is appreciated.

-Alex

© Stack Overflow or respective owner

Related posts about authenticode

Related posts about c#