Inno Setup: how to use {app} in InitializeWizard Procedure

后端 未结 1 808
悲&欢浪女
悲&欢浪女 2021-01-12 14:21

How can I gain access to the {app} variable in the InitializeWizard procedure ?

When I use ExpandConstant(\'{app}\'); I get th

相关标签:
1条回答
  • 2021-01-12 14:46

    Found the answer :)

    Prototype:

    function WizardDirValue: String;
    

    Description:

    Returns the current contents of the edit control on the Select Destination Location page of the wizard.

    Unlike ExpandConstant('{app}'), this function will not fail if called after the wizard is shown but prior to the user selecting a directory. Rather, it will return the default directory name.

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