How do I launch a file after an installation?AnswerFor some installation packages you may want to launch a file or open a folder or an URL after the install process is finished. This can be done in two ways: 1. The user can decide if the file will be launchedFor this you can follow these steps:
2. The user cannot decide if the file will be launchedFor this you can use a custom action scheduled under the "InstallExecuteSequence" -> "InstallFinalize" standard action (you can use the "Launch file or open URL custom action" for example). This custom action will have the "Expression" field in the "Execution Condition" section set to "NOT Installed". In order to use the custom action you can follow these steps:
If you want to run the custom action when the user clicks the "Finish" button on "ExitDialog" you can follow these steps:
DoAction myapp.exe AI_INSTALL where "myapp.exe" is the custom action you created
If you want to let the user choose if the custom action runs (the file, folder or URL is launched), you can use a custom checkbox:
DoAction myapp.exe AI_INSTALL AND CHECK This way, the custom action will run only if the checkbox is selected. If you want the checkbox to be selected by default, you can set any value in the "Default Value" field. | |
|
| Privacy Policy | Windows Installer | Search Engine Ranking | Link Analyzer | ||
| © 2002 - 2008 Caphyon Ltd. Trademarks belong to their respective owners. All rights reserved. | ||