在卸载程序

时间:2017-03-08 22:31:25

标签: inno-setup

我想在卸载程序窗口中显示安装路径。

enter image description here

如何自动记住并在那里放置为安装选择的文件夹的名称?这可能吗?

抱歉我的英语不好。

1 个答案:

答案 0 :(得分:1)

使用{app} constant。在Pascal脚本中,您可以使用ExpandConstant function

解决它
Edit.Text := ExpandConstant('{app}');

请注意,与安装程序相反,您无法使用WizardDirValue function

有关安装程序中的解决方案,请参阅How do you find the user-selected install path in Inno Setup?