Inno Setup 卸载可执行文件位置和名称
我可以将其配置为将其放置在 Windows 安装程序生成的 .msi 文件隐藏的同一位置 C:\windows\something\
中,而不是在 C:\Program Files\MyAppFolder 中\?
我还可以将名称更改为比 unins000.exe 意图更明显的名称吗?
Can I configure it to be placed in the same location C:\windows\something\
that .msi files produced by windows installer are hidden in, instead of in C:\Program Files\MyAppFolder\
?
Also can I change the name to something more obvious in intent than unins000.exe?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
可以通过在脚本文件中设置值来更改卸载程序路径:
似乎没有办法更改名称。
The uninstaller path can be changed by setting a value in the script file:
There doesn't appear to be a way to change the name.
对于附带的 InnoSetup,目前无法指定卸载文件名。
由于源可用,您可以更改文件名的存储行为
在 UninstallExeFileName 中并在 Install.pas 中的GenerateFilenames() 中设置
With the shipping InnoSetup there is currently no way specify the Uninstall file name.
Since Source is available you can change the behavior the file name is stored
in UninstallExeFileName and is set in GenerateFilenames() in the Install.pas