views:

45

answers:

2

WSLK requires that the unins000.exe, generated by Inno, is signed. The only way I devised to do that is by unpacking the installer, signing and then repacking it again. Isn't there an easier way?

I have found an Inno Unpacker, but I'm not sure about how to repack it.

A: 

Usually stubs (and deinstallation EXEs) are provided as separate EXE files. Isn't it so in Inno case?

Eugene Mayevski 'EldoS Corp
not in my experience
Jader Dias
+4  A: 

In version 5.2.4 of InnoSetup, a new [Setup] section directive was added to help sign setup.exe and the uninstall:

Added new [Setup] section directive: SignTool, which makes it possible to further automate digital signing of Setup and Uninstall. See the help file for more information.

Source: http://www.jrsoftware.org/files/is5-whatsnew.htm

mirtheil
Further documentation at http://www.jrsoftware.org/ishelp/index.php?topic=setup_signtool
Jader Dias
Since I couldn't use variables in the SignTool directive, I made it point to an external script which could point to the certificate files.
Jader Dias