hsc
Posts: 101
Joined: Wed Mar 02, 2016 2:55 pm

Dialog and control events: parallel or sequential?

Do the events which I can configure in the dialog editor as "init events" and "published events" run in parallel, i.e. each event is triggered at the same time, or do they run sequentially, i.e. each event is only triggered when the previous one has finished?
The background of my question is that I am running a PowerShell script in the middle of my InitEvents sequence, and I want this script to use previous property assignments as input, and I want to use its output to assign it to other properties.

Thanks
Hans
Catalin
Posts: 7492
Joined: Wed Jun 13, 2018 7:49 am

Re: Dialog and control events: parallel or sequential?

Hello Hans,

On a basic level, the entire installation process is a sequence of events.

This includes the dialogs as well.

Init Events are basically Published Events, but executed when the "Next" button of the previous dialog was pressed.

Now, when it comes to your scenario, it should be achievable as the events are executed sequentially.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”