Inno setup signtool因inno设置失败:0x80070003-“;存储IsDiskFile()失败";

Inno setup signtool因inno设置失败:0x80070003-“;存储IsDiskFile()失败";,inno-setup,signtool,Inno Setup,Signtool,我在签署我的软件时遇到了一个奇怪的错误。我正在使用inno setup 4.5.2 Running Sign Tool command: signtool.exe sign /a /f cert.pfx /v /t "http://timestamp.verisign.com/scripts/timstamp.dll" /p pwd /d "Setup Label" "out\uninst.e32.tmp" SignTool Error: An unexpected internal error

我在签署我的软件时遇到了一个奇怪的错误。我正在使用inno setup 4.5.2

Running Sign Tool command: signtool.exe sign /a /f cert.pfx /v /t "http://timestamp.verisign.com/scripts/timstamp.dll" /p pwd /d "Setup Label" "out\uninst.e32.tmp"
SignTool Error: An unexpected internal error has occurred.
Error information: "Error: Store IsDiskFile() failed." (-2147024893/0x80070003)
Error in W:\path\installer.iss: Sign Tool failed with exit code 0x1.
Compile aborted.
命令行看起来还不错,它甚至可以在inno安装编译之外工作。设置
SignedUninstaller=no
get me Further时,在尝试对输出设置文件进行签名时仍会出现此错误


现在,我几乎到处都在查找错误代码(0x80070003)和/或消息“Store IsDiskFile()failed”。我还尝试了多种版本的signtool。

我发现了问题,证书的路径必须是相对于安装程序输出路径的,而不是当前工作文件夹的。在这种情况下,它将是“.\cert.pfx”。

我也有同样的问题。我的问题是我在
signTool
命令中使用了
,而我需要使用
$q
。令人惊讶的是,它成功地对可执行文件进行了签名,但未能对结果setup.exe文件进行签名。

我的问题是.pfx文件位于网络驱动器(G:)上。将其移动到lokal驱动器(C:)已解决问题。

此消息表示找不到证书文件。在我的情况下,证书文件完全丢失(未在本地签出).+1在我的例子中,要签名的文件路径是不正确的。无论如何,这篇文章为我指明了正确的方向,但是错误消息可能会更好!在我的例子中,我需要将证书路径从相对更改为绝对(在我的ci构建服务器的工作区内)。