Registry Exists Condition Settings

InstallShield 2015

Project: This information applies to the following project types:

Advanced UI
Suite/Advanced UI

Edition: The Advanced UI project type is available in the Professional edition of InstallShield. The Suite/Advanced UI project type is available in the Premier edition of InstallShield. For information about the differences between these two project types, see Advanced UI Projects vs. Suite/Advanced UI Projects.

When you are building a conditional statement for an exit, detection, eligibility, or feature condition in an Advanced UI or Suite/Advanced UI project, or for an action condition in a Suite/Advanced UI project, you can create a Registry Exists condition.

The Registry Exists setting shows the condition that is configured for checking target systems for the presence of a particular registry key, and optionally a specific value name. To define this type of condition, configure the subsettings under the Registry Exists setting as needed.

The following subsettings are available for this condition.

Registry Exists Condition Settings

Setting

Description

Registry Key

To create a conditional statement that checks for the presence of a particular registry key, select the appropriate root key in this setting, and then enter the rest of the registry path. Available root keys are:

HKLM—HKEY_LOCAL_MACHINE
HKCU—HKEY_CURRENT_USER
HKCR—HKEY_CLASSES_ROOT
HKU—HKEY_USERS

When you type a value for this setting, you can include one or more formatted expressions that contain property names, environment variable references, and other special strings; at run time, the installation expands the values of these expressions. To learn about the syntax that is available for these expressions, see Using Formatted Expressions that Advanced UI and Suite/Advanced UI Installations Resolve at Run Time.

Value Name

To create a conditional statement that checks for the presence of a particular registry value for the specified registry key, enter the appropriate registry value. If you do not want to check for the presence of a specific registry value—that is, you want to check only for the presence of a registry key—leave this setting blank.

When you type a value for this setting, you can include one or more formatted expressions that contain property names, environment variable references, and other special strings; at run time, the installation expands the values of these expressions. To learn about the syntax that is available for these expressions, see Using Formatted Expressions that Advanced UI and Suite/Advanced UI Installations Resolve at Run Time.

64-Bit Key

Specify whether you want the Advanced UI or Suite/Advanced UI installation to check the 64-bit portion of the registry on 64-bit systems. If you select True, the Advanced UI or Suite/Advanced UI installation ignores this conditional statement on 32-bit target systems.

See Also