briancorcoran
Posts: 19
Joined: Thu Mar 16, 2017 4:21 pm

Published Events order of execution

I've always just assumed that Published Events are executed in order from Top to Bottom. However, I have an odd case where I have two events of the same type (Display a specific dialog) connected to the Next button of a dialog. It seems like the top event should be run first, and that is not the case. I even changed the condition to AI_INSTALL to seemingly force this behavior but it still does the bottom event first.

What is the order or what are the rules here?

Brian
Eusebiu
Posts: 4960
Joined: Wed Nov 14, 2012 2:04 pm

Re: Published Events order of execution

Hi Brian,

There are two types of events: events that display a dialog and the rest. The events that display a dialog are executed from Bottom to the Top while the other events are executed from Top to the Bottom. Please read the "ControlEvent Table" article for more details.

If you have other questions, just let us know.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”