Some of the Custom Actions not executing. - Advanced Installer Community
Siddhant
Posts: 3
Joined: Thu May 29, 2014 12:42 pm

Some of the Custom Actions not executing.

I have a .msi installer designed using Advanced Installer 6.3. The problem is that some of the custom actions are not executing (some of the vb scripts that have been associated with the installer) when I try to run the installer in the silent mode. Thought the installation completes and does not throw any error during execution, but later I could see some of the scripts have been skipped. What is the way around this problem.?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Some of the Custom Actions not executing.

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

This may happen if you have scheduled your custom action during the "InstallUISequence" stage. Please keep in mind that during a silent installation only the custom action scheduled during "InstallExecuteSequence" are launched, the actions scheduled in "InstallUISequence" are skipped. If this is not the case please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them. Also specify the name of the skipped custom actions.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Siddhant
Posts: 3
Joined: Thu May 29, 2014 12:42 pm

Re: Some of the Custom Actions not executing.

Hey,
Thanks for the suggestions. Most of my custom actions are neither under InstallUISequence nor under InstallExecuteSequence. These are part of dialog editor, hence are executed by control events. Do I need to execute all these vbscripts as a part of InstallExecuteSequence so that they can be executed during silent mode? I have attached a snapshot of the way my custom actions are organised. I am not entirely sure, if I am allowed to provide the .aip and the verbose log. I'll have to ask my seniors about that. Will do if they approve.
Anyways, thanks again.
Attachments
OrganisationOfCustomActions.JPG
OrganisationOfCustomActions.JPG (79.24 KiB) Viewed 4414 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Some of the Custom Actions not executing.

Hello,

Please keep in mind this happens because you have added the related custom action as "UI Custom Actions". The UI custom actions are also not executed during a silent install. In order to be always executed (silent or with UI install) your custom actions should be added under "InstallExecuteSequence".

So, in order to achieve what you want you should add your custom actions under "InstallExecuteSequence" folders tree.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Siddhant
Posts: 3
Joined: Thu May 29, 2014 12:42 pm

Re: Some of the Custom Actions not executing.

Thanks for help. Will let you know if I face some other issue.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Some of the Custom Actions not executing.

You're welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”