On Windows I digitally sign an .exe which I package up and also the created BitRock Windows installation image. At installation time Windows correctly identifies the authenticity of my installation image. However, when I later uninstall my product the uninstall image is not digitally signed. Is there a way I can sign the uninstall image too?
asked 15 Feb '12, 16:18
Creating a signed uninstaller is possible by first installing any project using your version of InstallBuilder, then copying the uninstall.exe file and signing it.
Next you can deploy your uninstaller along with your installation (for example naming it uninstall-signed.exe) and replace the uninstaller in
The code above will also delete the uninstall-signed.exe and remove it from list of files to uninstall.
answered 16 Feb '12, 06:43
I've wondered about this myself and find the answer interesting. I understand that the uninstaller has to be generated, but the above approach doesn't lend itself to automation. So a way to generate just the uninstaller as a post-build step would be a nice future feature. It would be convenient not to do a full install on the build machine, so maybe a command line option for generated installers.... Thanks.
answered 07 Oct '13, 15:54