Automate Code Signing with InnoSetup

Posted on September 11, 2014 at 9:45 pm

Open Inno Setup, click on Tools -> Configure Sign Tools… -> Add…

Name of the Sign Tool:

SignTool

Command of the Sign Tool:

cmd.exe /c cd "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin" &signtool.exe sign /f certificate.pfx /p yourpassword /t http://timestamp.globalsign.com/scripts/timestamp.dll $f

Then in your InnoSetup script, add this under the [Setup] section:

SignTool=SignTool

Then compile your script and all the exe files will be digitally signed.

Especially the setup file and the unins000.exe file.

Stay Updated

Other Posts

Updated Posts