Custom action to run before Install Execution Stage - Advanced Installer Community
danBhentschel
Posts: 7
Joined: Wed Jul 15, 2015 6:08 pm

Custom action to run before Install Execution Stage

I'm looking for a way to execute a Custom Action before the Install Execution Stage starts. I need my action to run every time, even in "silent" installs.

- dan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Custom action to run before Install Execution Stage

Hi Dan and welcome to Advanced Installer forums,

In order to achieve this, you can add the custom action as a custom action with sequence in the Custom Actions page before the Searches stage from the Install Execution Stage. This way, your custom action will be the first one executed during the Install Execution Stage.

Just in case you have encountered or if you will encounter any difficulties in implementing your installation scenarios with Advanced Installer, let us know and we will gladly assist you.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
danBhentschel
Posts: 7
Joined: Wed Jul 15, 2015 6:08 pm

Re: Custom action to run before Install Execution Stage

I think you are misunderstanding, though. I don't want my action to be implemented as the first action during the Install Execution Stage. I want it to be executed first, before the Install Execution Stage begins. I haven't found a reliable way of doing this yet, other than masquerading my custom action as a pre-install prerequisite.

- dan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Custom action to run before Install Execution Stage

Hi Dan,

Since during a silent installation only the actions from the Install Execution Stage are executed, indeed, the only way to execute the custom action before this is to ad it as a pre-install prerequisite.

For details, please check the add prerequisite article.

If you need any help, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”