skipjam
Posts: 6
Joined: Fri Apr 15, 2005 6:36 pm

Adding custom action to dialog button

I can't seem to find a way to add a custom action to a dialog button. I tried following the instructions in the helpfile, but I am at a lost. I created the custom action...however I don't know where to attach it. The tutorial instructs to go to the dialog editor and select the button to associate the custom action with. I want to attach the action to the Finish button of the ExitDialog dialog box. I can't seem to modify this dialog....in fact I can't seem to do much in the dialog editor including creating new dialog boxes.

I am using 4.2...I've been using Advanced Installer since v3.1. I don't remember if this was ever an issue with older versions.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

In order to use the "Dialog Editor" you need to create a "Enterprise" project (an "Enterprise" project needs an "Enterprise" license).

Here is how you can add a custom action to a dialog button:

1. Switch to "Custom Actions" page and add your custom action under the "UI Custom Actions" section.
2. Switch to "Dialogs" page and select the "ExitDialog" dialog, select the "Finish" button and add a new published event like this:
Name: DoAction
Argument: select the custom actions created at step 1.

Regards,
Gigi
________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”