Hello,
In order to achieve that, we can have a condition set for our "Launch File" custom action that will only execute it during first time installs.
First of all, please note that this is possible through the Dialog Editor feature, which is available starting with the Enterprise edition.
Here's the step by step:
- go to
"Custom Actions" page
- click
"New Custom Action" (in the ribbon)

- Screenshot_191.png (9.38 KiB) Viewed 222 times
- select
"Launch File" from the list and add it
"Unsequenced" (so we can schedule it on a dialog event)

- Screenshot_192.png (15.96 KiB) Viewed 222 times
- choose your app to be launched in the
"File to launch" field by adding
"[" and then selecting
"File"
- go to the
"Dialogs" page and select the
"ExitDlg" dialog
- select the
"Finish" button -->
"Published Events" -->
"New"

- Screenshot_193.png (11.61 KiB) Viewed 222 times
The condition is
NOT OLDPRODUCTS so that the custom action is not executed during an upgrade, but only during the first time install.
Hope this helps!
Best regards,
Catalin
FOLLOW US
Get the latest news in Application Packaging