This can be done by using a Launch file custom action placed as a publish event on the Finish button from the Exit dialog. This is the complete method:
1. Go to "Custom Actions" page and create a new "Launch File" custom action. Right click in the "File to launch" field and select "File" and Choose your file. Select "Run as Administrator" option.
2. Go to "Dialogs" page and select "ExitDialog". Click on the Finish button and go to its Publish Events tab. Click "New" and select "Execute custom action". In the "Argument" field, please choose your launch file custom action. Use the "UP" button to place this new publish event at the top of the list.
FOLLOW US
Get the latest news in Application Packaging