View Full Version : BASIC-MSI: Put Event to Dialog Control

06-12-2015, 04:44 AM

To put a new event to a dialog control is not to easy as in IS2014 was.
It takes to much time and is not user friendly!

Please write down, how do I define such event:

Argument : [INSTALLDIR]\
Cond.: Not INSTALLDIR >>"\"

06-12-2015, 06:28 AM
This is definitely a change, but I hope that you will be able to adjust without much difficulty. Here's how to add a control event that sets a property:

Go to the Dialogs view, click the Behavior node on the relevant dialog, and the control whose event you want to want to set the property in response to. Then:

Click the New Event button (the plus in the Events row) and select SetProperty
Type Not INSTALLDIR >>"\" next to Set Property where Condition1 or similar appears.
Type INSTALLDIR next to Property, where PROPERTY_NAME or similar appears
Type [INSTALLDIR]\ next to Value, where Argument1 or similar appears.

(Or modify the bold items for alternate conditions, properties, or values.)

06-12-2015, 06:35 AM
Now, I know it should be "SetProperty" as event taken.

06-12-2015, 12:47 PM
Using some more events.
The order in which events are processed? From top to bottom or vice verse'a?