This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Prerequisites Conditions dont work
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 12, 2012
07:43 AM
Prerequisites Conditions dont work
I have a prerequisite for MSMQ and the actual tag of the prq file looks like this
I've been toiling for 5 hours now and getting nothing but incosistent outcomes. I expect the result to be that if either of the registry values
msmq_CoreInstalled
msmq_MulticastInstalled
msmq_TriggersInstalled
have a value diffrent from 1
or are plain missing, the prerequisite is installed. The prerequisite is not a feature prerequisite.
I've been using Regedit.exe to experiement with the registry values.
The outcome has more or less been like coin flips, WHAT am i missing?.
I've been toiling for 5 hours now and getting nothing but incosistent outcomes. I expect the result to be that if either of the registry values
msmq_CoreInstalled
msmq_MulticastInstalled
msmq_TriggersInstalled
have a value diffrent from 1
or are plain missing, the prerequisite is installed. The prerequisite is not a feature prerequisite.
I've been using Regedit.exe to experiement with the registry values.
The outcome has more or less been like coin flips, WHAT am i missing?.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 14, 2012
03:08 PM
InstallShield prerequisites are installed on the target machine if the following are true:
Therefore, your prerequisite runs when all of your registry conditions are true. In order to accomplish your requirements, you might want to consider using a Advanced UI or Suite/Advanced UI project that offers more flexible package conditions.
- The target machine meets any of the operating system conditions and all of the other conditions that are listed on the Conditions tab.
- For feature prerequisites only (that is, an InstallShield prerequisite that is associated with one or more features in the main installation)—The feature that contains the feature prerequisite must be installed. Thus, if the feature has a condition that is not met on the target system, or if the end user chooses not to install the feature, the feature is not installed. As a result, none of its associated feature prerequisites are installed, unless the feature prerequisites are also associated with other features that are installed.
Therefore, your prerequisite runs when all of your registry conditions are true. In order to accomplish your requirements, you might want to consider using a Advanced UI or Suite/Advanced UI project that offers more flexible package conditions.