Search code examples
inno-setupsetuptools

Inno Setup Constant in Code Section


Is there a way to get InnoSetup constant value in [Code] section? I need this during install time and the constant value that I am trying to get is {app}.


Solution

  • You can use AppValue := ExpandConstant('{app}');