cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
man
Level 3

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?.
Labels (1)
0 Kudos
(1) Reply
hidenori
Level 17

InstallShield prerequisites are installed on the target machine if the following are true:


  • 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.
0 Kudos