Inno Setup 6.0.5 总是创建没有签名的新卸载程序文件
Inno Setup 6.0.5 always create new uninstaller file which doest not have signature
我最近将 Inno Setup 从 5 升级到 6。
构建脚本和iss文件没有改变,但是在Inno Setup 6环境中构建总是失败。
失败点在签名的卸载程序中。
[Setup]
SignedUninstaller = yes
SignedUninstallerDir=Release\
为了创建带有数字签名的卸载程序,我在 setup.iss
中设置了 SignedUninstaller=yes
,我没有设置 SignTool,因为我的签名是由其他服务提供的,我需要使用其他脚本来改为签名。
在inno setup 5环境下,第一次创建了一个新的卸载程序uninst-5.5.9 (u)-xxxxxx.e32
文件,我拿这个给其他服务做签名然后放回Release\
文件夹
重新编译我的构建脚本,它显示 "Using existing signed uninstaller file: uninst-5.5.9 (u)-xxxxxx.e32" 我在创建之前添加了签名卸载程序。在 Inno Setup 5 中一切正常。
然而,我只将 inno setup 升级到 6.0.5,情况完全不同,每次编译时卸载程序的文件名都会更改,总是显示 "正在创建新的签名卸载程序文件:uninst- 6.0.5 (u)-xxxxxxxx.e32",这导致我在 Inno Setup 5 中所做的方法在这里无法工作。
我注意到这里的编译日志很不一样...
Inno 设置 5
Preparing Setup program executable
Updating icons (SETUP.E32)
Using existing signed uninstaller file:
Inno 设置 6
Preparing Setup program executable
Updating icons (SETUP.E32)
Updating version info (SETUP.E32)
Creating new signed uninstaller file:
代码完全一样,只是升级了Inno Setup编译器。
有人知道5和6的区别吗?
谢谢
自 6.0.4 起,Inno Setup 将您的应用程序的版本信息(产品名称、产品版本、公司、版权等)包含到卸载程序中。这是此更改的一部分:
Windows AppLocker publisher conditions are now supported by Setup up to and including the file name level.
因此现在每个应用程序的卸载程序都不同。这确实取消了 SignedUninstallerDir
.
的预期缓存效果
我最近将 Inno Setup 从 5 升级到 6。
构建脚本和iss文件没有改变,但是在Inno Setup 6环境中构建总是失败。
失败点在签名的卸载程序中。
[Setup]
SignedUninstaller = yes
SignedUninstallerDir=Release\
为了创建带有数字签名的卸载程序,我在 setup.iss
中设置了 SignedUninstaller=yes
,我没有设置 SignTool,因为我的签名是由其他服务提供的,我需要使用其他脚本来改为签名。
在inno setup 5环境下,第一次创建了一个新的卸载程序uninst-5.5.9 (u)-xxxxxx.e32
文件,我拿这个给其他服务做签名然后放回Release\
文件夹
重新编译我的构建脚本,它显示 "Using existing signed uninstaller file: uninst-5.5.9 (u)-xxxxxx.e32" 我在创建之前添加了签名卸载程序。在 Inno Setup 5 中一切正常。
然而,我只将 inno setup 升级到 6.0.5,情况完全不同,每次编译时卸载程序的文件名都会更改,总是显示 "正在创建新的签名卸载程序文件:uninst- 6.0.5 (u)-xxxxxxxx.e32",这导致我在 Inno Setup 5 中所做的方法在这里无法工作。
我注意到这里的编译日志很不一样...
Inno 设置 5
Preparing Setup program executable
Updating icons (SETUP.E32)
Using existing signed uninstaller file:
Inno 设置 6
Preparing Setup program executable
Updating icons (SETUP.E32)
Updating version info (SETUP.E32)
Creating new signed uninstaller file:
代码完全一样,只是升级了Inno Setup编译器。
有人知道5和6的区别吗?
谢谢
自 6.0.4 起,Inno Setup 将您的应用程序的版本信息(产品名称、产品版本、公司、版权等)包含到卸载程序中。这是此更改的一部分:
Windows AppLocker publisher conditions are now supported by Setup up to and including the file name level.
因此现在每个应用程序的卸载程序都不同。这确实取消了 SignedUninstallerDir
.