Hi Wayne,
Is there a way to launch one of two possible shortcuts dependent upon the Windows version?
This can be done by using two "Launch file or open URL" custom actions. These custom action can be created under "UI Custom Actions" in order to use them in a dialog.
And can it be somehow tied to the "launch application" checkbox on the install finish dialog?
A custom action cannot be used for the "Launch application" checkbox on Exit Dialog. However, you can create your own checkbox which handles the two custom actions:
- in the
Dialogs page select "ExitDialog"
- on it create a new checkbox
- in the
Properties pane of the checkbox make sure that the "Text" field is empty
- create a new static text control and place it next to the checkbox, where its text was supposed to be
- for this static text set the "Transparent" flag to "True" in the "Properties" pane
- select the checkbox and in the "Properties" pane set the "Property Name" field to
LAUNCH_MY_APP
- select the "Finish" button and go to the "Published Events" tab
- create
"DoAction" control events which launch your custom actions
- use the
VersionNT and "LAUNCH_MY_APP" properties to condition the DoAction control events
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging