签署由Inno Setup生成的程序的安装程序,使其成为一家受信任的公司? [英] Signing installer of my program generated by Inno Setup to make it of a trusted company?

查看:260
本文介绍了签署由Inno Setup生成的程序的安装程序,使其成为一家受信任的公司?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用自己开发的应用程序的Inno Setup创建了一个安装程序文件.

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?

我有一个使用OpenSSL和SSL证书生成的.pfx文件. 我尝试使用Inno Setup签名工具对其进行签名,但没有成功. 这是我的签名窗口上的行:

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

推荐答案

使用自签名证书对安装程序进行签名不会产生任何效果.

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.

这篇关于签署由Inno Setup生成的程序的安装程序,使其成为一家受信任的公司?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆