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
- :
- Pre-Requisite
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
‎Jul 03, 2012
02:06 AM
Pre-Requisite
My requirement is pretty simple - Need to check for the registry key , check whether its value is "x" or "y".If key contains either of the 2 values continue else exit the installation.
I tried it using Pre-requisites editor but it doesnot provides the option of searching for 2 values i mean this or this else error
Any help would be appreciated
I tried it using Pre-requisites editor but it doesnot provides the option of searching for 2 values i mean this or this else error
Any help would be appreciated
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 03, 2012
02:24 AM
i believe you can use multiple conditions for registry first you can use value 1 as condition and then use value 2 again.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 03, 2012
03:36 AM
If i do use multiple conditions case would be something like this
case 1 ) check whether registry contains value "x"
case 2) check whether registry contains value "y"
In this case ,one of the case would fail and stop the installation coz i need to check for "x" or "y"
Would you please highlight on the same
case 1 ) check whether registry contains value "x"
case 2) check whether registry contains value "y"
In this case ,one of the case would fail and stop the installation coz i need to check for "x" or "y"
Would you please highlight on the same
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 03, 2012
09:26 AM
InstallShield prerequisites are installed on the target machine if the following are true:
In order to accomplish your requirements, you might want to consider using an Advanced UI or Suite/Advanced UI project that offers more flexible package condition.
- 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.
In order to accomplish your requirements, you might want to consider using an Advanced UI or Suite/Advanced UI project that offers more flexible package condition.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)