Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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}.

like image 475
odez213 Avatar asked Aug 03 '11 19:08

odez213


1 Answers

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

  • Documentation on ExpandConstant
  • Example of it's usage.
like image 169
Robert Love Avatar answered Oct 25 '22 18:10

Robert Love