微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Windows Installer未知发布者

如何解决Windows Installer未知发布者

我正在创建一个项目,并且为Windows安装了一个安装程序。当我单击安装程序时,会遇到警告“您是否要允许未知发行商的此应用程序对您的设备进行更改”。可能是它的安全原因。我不想在安装程序时看到它。我该怎么做?谢谢

解决方法

您需要使用数字证书签署MSI。 Some information on Microsoft SmartScreen and digital certificates here

据我了解,您需要一个EV-code signing certificate 。 EV =>“扩展验证”。


签名过程 Odd 'Program name' when installing signed msi installer

signtool.exe /d "Your Software Name"

许多MSI工具将此过程纳入其工具的GUI中(当您指向证书时,它会自动神奇地发生)。

Latif Uluman使用的实际命令行(来自注释):

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

链接:

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。