Nico Z
Nico Z

Reputation: 1037

Retrieve installation path in uninstaller

I want to display installation path on uninstaller window.

enter image description here

How to automatically remember and place there the name of the folder chosen for the installation? Is this possible?

Sorry for my bad english.

Upvotes: 1

Views: 90

Answers (1)

Martin Prikryl
Martin Prikryl

Reputation: 202682

Use the {app} constant. In Pascal Script, your can resolve it using the ExpandConstant function:

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

Note that contrary to the installer, you cannot use the WizardDirValue function.

For solutions in the installer, see How do you find the user-selected install path in Inno Setup?

Upvotes: 1

Related Questions