Thu Aug 09, 2018 9:19 am
Hello,
Unfortunately, our predefined support for "View ReadMe" button can only open files. However, what you want to achieve is possible. In order to achieve this, we will use a "Push Button" control on the exit dialog, and when that button is pushed, we will trigger an "OpenUrl" custom action.
Here is a step-by-step which will help you implement those said above:
1) First, we will add an "OpenUrl" custom action without sequence. To do so, you can go to "Custom Actions" page from the "Custom Behavior" group and add an "OpenUrl". Upon clicking on the custom action, you will see two buttons placed to the right side of the custom action name. Click on the "Add custom action without sequence". In the "URL" field, insert the website which you want to open upon triggering this custom action.
2) Now we will create the button which will trigger the custom action. To do so, go to "Dialogs" page, select the "ExitDialog" and press the "Control Toolbox" button from the toolbar. Place the push button on your dialog. Now click on the push button and, under "Published Events" tab, click the "New..." button and insert the following:
-Event: Execute Custom Action
-Argument: OpenUrl (the name of the earlier created custom action)
-Condition: Left unchanged (the default condition is AI_INSTALL)
Also, upon clicking on the push button, a "Properties" pane will appear on the right side. There you can configure your push button. For example, you can change the text it displays to "View ReadMe"
Let me know if this helps!
Regards,
Catalin