Latif Uluman
Latif Uluman

Reputation: 255

Windows Installer Unknown Publisher

I am creating a project and I did an installer for windows. When I click the installer, I encounter with a warning which is "that do you want to allow this app from unknown publisher to make changes to your device". Probably the reason of it security reasons. I do not want to see it when I install my program. How can I do it? Thanks

Upvotes: 1

Views: 4664

Answers (1)

Stein Åsmul
Stein Åsmul

Reputation: 42126

You need to sign the MSI with a digital certificate. Some information on Microsoft SmartScreen and digital certificates here.

As far as I know you need an EV-code signing certificate. EV => "Extended Validation".


Signing Process: Odd 'Program name' when installing signed msi installer

signtool.exe /d "Your Software Name"

Many MSI tools incorporate this process inside their tools's GUI (it happens auto-magically when you point to the certificate).

Actual command line used by Latif Uluman (from comments):

signtool sign /debug /fd SHA256 /tr timestamp.globalsign.com/scripts/timstamp.dll /f certificatepath /p certificateprivatekey executablepath

Links:

Upvotes: 1

Related Questions