Inno Setup Constant in Code Section

后端 未结 1 1128
不知归路
不知归路 2021-01-17 20:03

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

1条回答
  •  长发绾君心
    2021-01-17 20:27

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

    • Documentation on ExpandConstant
    • Example of it's usage.

    0 讨论(0)
提交回复
热议问题