Signing installer of my program generated by Inno Setup to make it of a trusted company?

1.9k views Asked by At

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

There are 1 answers

7
Martin Prikryl On

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.