Hi,
How can I enforce it so that the .msi file will not install if the prerequisites are not installed?
Follow these steps:
- double click the prerequisite
- in the Edit Prerequisite dialog that appears go to
Options tab
- here check “Force installation of this prerequisite” checkbox
This option will not allow the installation of the product until the prerequisite is installed.
Do I need to manually add them as "Custom Launch Conditions"? If so, how do I do that?
In case the MSI file is launched separately from the EXE bootstrapper then you need to create a
Custom Launch Condition, just as you said. To do so, follow these steps:
- create a New Search in the
Search page
- this search will look for a resource (files or registry value) installed by the prerequisite
- the result of the search is returned through its name, which is a property
- into the Condition field of the dialog
New Launch Condition enter the search property
This way the MSI file will allow installation only if the search is successfull.
Regards,
Bogdan
FOLLOW US
Get the latest news in Application Packaging