您没有提供任何可用于调试问题的信息。
因此,我将发布通用指令来调试“签名工具”问题。
Try command-line compiler (ISCC.exe
). It will preserve a full signtool.exe
error message in the output:
Or temporarily prefix the sign tool command with cmd.exe /k
to preserve its output even when compiling in Inno Setup GUI Compiler. E.g.:
cmd.exe /k C:\path\to\signtool.exe sign /f C:\mykey.pfx $f
Note that if you use a path to signtool.exe
with spaces, due to the way cmd
works, you have to wrap not only the path itself to double quotes, but also the whole command:
cmd.exe /k ""C:\path to signtool\signtool.exe" sign /f C:\mykey.pfx $f"
当使用带有令牌的EV时,您可以使用/a /sha1 [哈希值]
来分配指纹。
就像这样:
signtool sign /tr http://timestamp.digicert.com /td sha256 /fd sha256 /sha1 certfingerprint $f
这将使 signtool 从令牌中选择证书。
更多信息: https://learn.microsoft.com/zh-cn/dotnet/framework/tools/signtool-exe
Compil32.exe
视为不受信任的进程而阻止访问安装程序的临时文件。 - undefined