We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Ruben
Posts: 57
Joined: Fri Apr 10, 2015 2:35 pm

When is APPDIR set ?

Hallo Team,

is there a specification when SET_APPDIR happens ?

What I experienced: Some of our custom actions rely on APPDIR. Placing these Actions in "Install Execution Stage" before "Searches" fail, because APPDIR is empty.
I placed them in the Execution Stage, Paths Resolution/ shortly after LaunchConditions and that seems to work well.

But to be safe, we need a specification at which point we can rely on APPDIR.

Thank you very much,
Ruben
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: When is APPDIR set ?

Hi Ruben,

The "SET_APPDIR" custom action is executed between the "Paths Resolution -> LaunchConditions" and "Paths Resolution -> CostInitialize" standard actions. Its sequence value is "750" in the "InstallUISequence" and "InstallExecuteSequence" tables.

Also, the value of the "APPDIR" property can be manually changed on the "FolderDlg" dialog when the installation path of the product is selected.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”