gpt4 book ai didi

inno-setup - Inno Setup 代码签名证书因找不到指定文件而失败

转载 作者:行者123 更新时间:2023-12-05 05:16:54 31 4
gpt4 key购买 nike

<分区>

我有 Inno Setup 和 CSC...我尝试按照 Inno Setup 的文档来设置代码签名。我这样做主要是因为我想对 uninst***.exe 文件进行代码签名。

编译时,我得到这个错误:

Running Sign Tool command: signtool sign /f <absolute_path_that_exists>\<file_that_exists>.p12 /p <some_cool_password> /fd sha256 /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /v "<absolute_path_that_exists>\uninst.e32.tmp"

Sign Tool command failed (Failed to execute Sign Tool.
Error 2: The system cannot find the file specified). Will retry (2 tries left).

我的 Inno Setup .iss 文件中有这个:

SignTool=standardcsc
SignedUninstaller=yes

standardcsc 在哪里:

signtool sign /f <absolute_path_that_exists>\<file_that_exists>.p12 /p <some_cool_password> /fd sha256 /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /v $f

唯一不存在的文件是<absolute_path_that_exists>\uninst.e32.tmp"

我不完全确定我是否做对了...为什么 Inno Setup 试图签署一个不存在的文件?

我很困惑,我不知道如何解决这个问题...请帮忙!

谢谢。

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com