Hello,
In order to achieve this you can set an installer property with your YourApp.exe path, depending on target operating system version. Then, you can use the above property in the "Launch application at the end of installation" section. Here are the steps to proceed:
- go to "Install Parameters" page and add a new property like this:
- Name: MY_APP_PATH
Value: Your value
- go to "Dialogs" page -> "ExitDialog" and set the "Application" field, from "Launch application at the end of installation" section, like this:
- go to "Custom Actions" page and add two "Set installer property" custom actions with sequence, added after "Wizard Dialogs Stage -> Paths Resolution" action group, like this:
- Property: MY_APP_PATH
Value: [APPDIR]YourApp.exe
Condition: NOT VersionNT64
Property: MY_APP_PATH
Value: [AI_Bin32_Dir]YourApp.exe
Condition: VersionNT64
- build and run your project
If you have any question let us know.
All the best,
Daniel