cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Roman1
Level 9

BASIC-MSI: Put Event to Dialog Control

Hello,

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:


Event : [INSTALLDIR]
Argument : [INSTALLDIR]\
Cond.: Not INSTALLDIR >>"\"
Labels (1)
0 Kudos
(3) Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

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:
[LIST=1]
  • 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.)
  • 0 Kudos
    Roman1
    Level 9

    ok.
    Now, I know it should be "SetProperty" as event taken.
    0 Kudos
    Roman1
    Level 9

    Using some more events.
    The order in which events are processed? From top to bottom or vice verse'a?
    0 Kudos