Custom Action Execution Stage - Advanced Installer Community
MikeH
Posts: 1
Joined: Mon Oct 21, 2013 11:58 pm

Custom Action Execution Stage

Hi,

I need to call a custom action in between the installer installing files and creating registry values. For example, I need my files to be installed into the installation folder, I will then call an executable within the installation folder and then I want the installer to create the registry values specified within the MSI. Is that possible?

I am thinking the process is

Standard Action: InstallFiles
Wait until completed
Custom Action: Call my executable
Wait until completed
Standard Action: WriteRegistryValues


Regards,
Mike
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Custom Action Execution Stage

Hello Mike and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to launch your .EXE file you can go in the Custom Actions page add the predefined Launch installed file custom action with sequence and select your .EXE.
You should choose the When the system is being modified (deferred) option from the Execution Time pane.

Also, select the custom action and use the [Move] button to schedule it after the InstallFiles standard action.
MoveCA.jpg
MoveCA.jpg (144.53 KiB) Viewed 1888 times
If you have other questions, please let us know.

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

Return to “Common Problems”