简体   繁体   English

如何摆脱烦人的InnoSetup文件夹选择机制?

[英]How to get rid of annoying InnoSetup folder selection mechanism?

When I set: 当我设定时:

DefaultDirName={pf}\\My program DefaultDirName = {pf} \\我的程序

in InnoSetup .iss file, it starts directory selection with this path correctly. 在InnoSetup .iss文件中,它将使用此路径正确启动目录选择。 However, if user press 'Browse' button and start navigating through filesystem, InnoSetup keeps 'My program' suffix at the end of path chosen by user. 但是,如果用户按下“浏览”按钮并开始浏览文件系统,则InnoSetup会将“我的程序”后缀保留在用户选择的路径的末尾。 How to get rid of this? 如何摆脱这个?

好的,我自己找到它:)答案是将AppendDefaultDirName设置为no。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM