遇见的问题:打安装包,安装不是每次都询问安装位置。
解决:在.iss文件中Setup类中增加或者修改该配置项
[Setup]: DisableDirPage
Valid values:auto, yes, or no
Default value:auto
Description:
If this is set to yes, Setup will not show the Select Destination Location wizard page.
If this is set to auto, at startup Setup will look in the registry to see if the same application is already installed, and if so, it will not show the Select Destination Location wizard page.
If the Select Destination Location wizard page is not shown, it will always use the default directory name.
Also see AlwaysShowDirOnReadyPage.
具体参考官方链接:[Setup]: DisableDirPage