Hi Thomas,
If you need that your prerequisite to be installed before your packet installation then this is what you should do:
- In "Files and Folders" view add the .msi file (your prerequisites, i.e MyPrereq.msi) as a temporary file to your package.
- Select the file and from its context menu choose "Properties..." option. In the new dialog enable "Do not remove the file when setup ends" option.
- Now drag the file from "Temporary" folder to "Application Folder".
- If you want to copy a temporary file in "Application Folder" you should have elevation rights during Wizard dialogs stage. So, from "Install Parameters" page enable "Run as administrator" option.
- From the "Search" page create a "New Extended Search" (i.e. MY_LAUNCH_CONDITION) and in the "Extended Search Properties" pane choose your search criteria (i.e set the "Criteria" field to "Product Version (identify by Upgrade Code)" and in the "Upgrade Code" field put your prerequisites Upgrade Code).
- In the "Custom Action" page add a "EXE with Working Dir" custom action.
- Drag it in under "Wizard Dialogs Stage" -> "User Selection".
- Set the "Full Path:" field to
- Set the "Condition" field to
- Uncheck "Maintenance" and "Uninstall" checkboxes.
- Build and run your package.
If you have any questions let me know.
Regards,
Daniel