无法验证安装程序

发布于 2024-09-17 05:32:08 字数 501 浏览 2 评论 0原文

我想验证我的安装程序,我已使用此源对我的安装程序进行签名:

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\signtool.exe" sign /a /f "M:\cert\MyPFX.pfx" /t "http://timestamp.verisign.com/scripts/timstamp.dll" /p UFMPassped "M:\Setup.exe" 

它签名并带有时间戳,没有任何错误,

但是当我想验证它时,出现错误:

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\signtool.exe" verify /v /pa "M:\Setup.exe" 

它说:

File Not Valid : M:\Setup.exe 

我的问题在哪里?

I want to verify my installer , I have used this source to sign my installer :

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\signtool.exe" sign /a /f "M:\cert\MyPFX.pfx" /t "http://timestamp.verisign.com/scripts/timstamp.dll" /p UFMPassped "M:\Setup.exe" 

It signed and timestamped without any error ,

but when I want to verify it , there is a error :

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\signtool.exe" verify /v /pa "M:\Setup.exe" 

it say :

File Not Valid : M:\Setup.exe 

where is my problem ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

幻想少年梦 2024-09-24 05:32:08

您使用的 InnoSetup 版本是什么?我听说过使用旧版本的 InnoSetup 创建的签名安装程序存在问题。您可能应该使用最新版本 (v5.3.10)。

如果您在本地(而不是在 M: 上)签署文件,它会返回该错误吗?

What version of InnoSetup are you using? I've heard of problems with signing installers created with older versions of InnoSetup. You probably should use the latest version (v5.3.10).

If you sign the file locally (rather than on M:), does it return that error?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文