gpt4 book ai didi

windows-7 - InnoSetup - 编译符号工具失败,退出代码为 0x1

转载 作者:行者123 更新时间:2023-12-03 17:43:22 25 4
gpt4 key购买 nike

它无法在签名中编译。

在我的 innosetup 包装中,我必须包含一些第三方软件,例如 VLC、Google Chrome、Putty 等。

包含这些第三方工具的那一刻 compile/build 失败了。但是当我不使用它们时,它编译得很好。 (不幸的是,我无法通过外部 URL 使用这些应用程序,因此我必须将它们嵌入到我的编译中)

Source: "C:\Users\tpt\Desktop\innosetup\nw\run.bat"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Users\tpt\Desktop\innosetup\software\*"; DestDir: "{app}\software"; Flags: ignoreversion

enter image description here

编辑:我压缩了软件文件夹但仍然相同,我也将 .exe 压缩到 .rar 但仍然出现相同的错误?

enter image description here

最佳答案

只需从 rarfile 中删除扩展名,将其设置为“chrome64”,并在设置文件时使用批处理脚本重命名它。

在 innosetup 中

[Run]
Filename: "{app}\rename.bat"

在 rename.bat 中:
@ECHO OFF
ren Chrome64 Chrome64.rar
del rename.bat

我刚刚从 Chrome.exe 中删除了扩展程序,并在安装时将其批量重命名回 exe,重命名后,它的运行没有问题。
编译没有给我错误。

关于windows-7 - InnoSetup - 编译符号工具失败,退出代码为 0x1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30540870/

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