Mon Jul 23, 2018 9:36 am
Hello Jaime,
In order to achieve what you want, you can use our predefined "Message Box" custom action which will be triggered upon pressing the "Next" button from your dialog.
Your scenario can be implemented following these steps:
1) Go to "Custom Actions" page from the "Custom Behavior" group and add the "Display message box" custom action using the "Add custom action without sequence" button.
2) Configure the custom action as you wish.
3) Now go to "Dialogs" page from the "User Interface" group. Click on the dialog in which you want your custom action to execute, click on the button which will trigger the custom action and under "Published Events" tab, click the "New..." button --> "Execute Custom Action". In the "Argument" field, you should have the name of the earlier created custom action and in the "Condition" you should have the condition to trigger this custom action.
Now in the condition field, click on "..." button. In the "Edit Condition" dialog press on the "Control Events" button which is located to the right side of the "Expression" field. After pressing that button, a "New Condition Wizard" will appear, letting you configure the condition. Press the "Next" button --> select the "Feature" option --> click "Next" button --> select your feature --> select "Will perform action" --> select the "Feature will be installed local. The feature is not reinstalled." condition --> click "Next" button --> select "Finish" option --> click "Next" button --> click "Finish" button. This way, the "MessageBox" custom action will be triggered only if the feature is selected in the "OptionalFeatsDlg" dialog.
Hope this helps!
Regards,
Catalin