Signing installer of my program generated by Inno

2019-01-20 06:54发布

问题:

I have a installer file created with Inno Setup of an application that I developed.

So when I go to install the program, it shows me a window telling me that my application is not trusted.

How can I sign my installer file to avoid that window when a user installs my program, or to make my installer a trusted installer?

I have a .pfx file that I generated with OpenSSL and my SSL certificate. I tried signing it with the Inno Setup signing tool but without success. This is the line on my signing window:

"C:\Program Files\Windows Kits\8.1\bin\x86\signtool.exe" sign /f "C:\Users\user\Documents\programtoinstall\Installers\key.pfx" /p "passwordOfThePfxFile"  /tr "http://timestamp.comodoca.com/authenticode" $f

回答1:

Signing an installer with a self-signed certificate won't have any effect.

You have to sign the installer with a code signing certificate issued by a trusted authority.