Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How MSI handles control events' ordering?


1 reply to this topic

rbrinda

rbrinda
  • Full Members
  • 65 posts

Posted 10 December 2002 - 22:31

I have two events on the Next control of a dialog, each one launching another dialog depending on the condition being evaluated. These events are ordered in the MSI database in ControlEvent table in the same order they appear in the Developer 8 IDE (Basic MSI Project). But during installation, these events are not executed in the same order. For testing purpose, i gave the condition as 1 (so that it always evaluates to True) for both events to see which one is executed first. I have Event A first and then Event B but only Event B is executed first and its corresponding dialog launched.

Could someone please explain how these ordering works in MSI?

Thanks.


-rb

luke_s

luke_s
  • Full Members
  • 532 posts

Posted 11 December 2002 - 23:26

From my experience, with the control event that displays a dialog, if the conditions are the same, the dialog with the higher sequence number is run first and all others are discarded.
I am pretty sure that all custom do actions are evaluated regardless.