Actions during dialog are not running in /passive mode. - Advanced Installer Community

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!

SubZero
Posts: 63
Joined: Mon Mar 14, 2011 10:29 am

Actions during dialog are not running in /passive mode.

Hi AI-Team,
I have some actions that are necessary to run through installation. Some of these actions are triggered when the user presses the next button on certain dialogs. During silent installation using /passive these actions are not executed. How to I manage that these actions are also executed in silent mode (e.g. putting the value of the property APPDIR into another property at a specific timepoint)
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Actions during dialog are not running in /passive mode.

Hi,

This happens because those UI Custom Actions are executed only when the push button event is published. During a silent installation only the standard actions from InstallExecuteSequence get executed. You can try to add your custom actions after any standard action during that phase( depending on their functionality ).

Here's an article to help you decide at what point to schedule them:
http://www.advancedinstaller.com/user-g ... tions.html

Since you mentioned using the APPDIR property, you should schedule that custom action after InstallExecuteSequence CostFinalize. As mentioned in the article, this standard action ends the disk space costing and resolves the folders in the project.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”