Windows Installer, Java Installer, Freeware Installer
Home|Contact|Site Map|TOC|Search
Download  Features   Java  Licensing  Purchase  Testimonials  Support  Forums

How do I execute a custom action when a button is pushed?

Answer

To launch the custom action the "DoAction" published control event must be used.

First of all you must define the custom action that will be executed.

Csutom actiondSwitch to the Custom Actions page.

The custom actions that are to be used from control events must be defined in the "UI Custom Actions" section. For example you can create a custom action of "ScriptInline" type that displays a message.

Dialog EditorNow switch back to the Dialog Editor page. Select the button that will trigger the execution of the custom action.

Select the "Published Events" tab from the "Control" pane.

Use the [ New... ] button to create a new control event. The Edit Control Events dialog will be displayed.

Configure the control event as follows:

  • Name = DoAction
  • Argument = Select the name of the custom action that you created earlier.
  • Condition = Leave this field unchanged if you don't want to condition the execution of this control event.
Privacy Policy | Windows Installer | Search Engine Ranking | Link Analyzer