Sequence of custom actions - 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!

mweintr
Posts: 10
Joined: Mon Sep 22, 2008 7:58 pm

Sequence of custom actions

Is there any rhyme or reason to the sequence of custom actions? I have four .BAT scripts that run in the Commit phase of my installation. I've renamed them aStep1.bat, bStep2.bat, etc., but they do no not follow any order I try to assign: alphabetical, or even chronological by creation time.

What's the scoop? I'm sure this is a very simple fix, but doing a forum search for "sequence custom actions" gave me an error because those search terms are too common. Argh!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Sequence of custom actions

Hi,

The custom actions are executed in the order you specify in the "Custom Actions" page. However, Immediate custom actions are executed before Deferred, Rollback or Commit custom actions. Please make sure that your custom actions use the same execution option.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”