Find Component in InstallAnywhere Registry Action

InstallAnywhere 2018

If your installer uses a component already installed on your target system, or one that should already be installed on the target system, you can use the Find Component in InstallAnywhere Registry action to locate that component. The Find Component in InstallAnywhere Registry action is used to determine if a component exists on a system by searching the cross-platform registry, as well as to discover existing component versions, their location, and if there are multiple instances of a particular component on the destination system. You can then use that component in your installation, or use that installation location as a path within your installation.

Note • This action is referring to the InstallAnywhere registry, not the Windows registry.

The Find Component in InstallAnywhere Registry action customizer includes the following options:

Find Component in InstallAnywhere Registry Action Customizer

Option

Description

Comment

Enter a comment to identify the component that this action is searching for.

Find Component

Enter the UUID of the component that this action is searching for, the unique identifier specified for the component.

If you have a project that contains the desired component, the UUID is visible in the component's customizer. Otherwise, if a product has installed the component on a system, the component ID can be found in the InstallAnywhere registry.

Highest version only

Select this option to find only the highest version of this component.

Compare version

Select this option to instruct the installer to compare versions. Select an operator from the list (Lower than, Lower or equal to, Equal to, Higher or equal to, or Higher than) and enter a component version in the box.

Key File location

Select this option to have the installer search for a specified component key file, and enter the key file location in the box. A key file is a single file that identifies the component.

Components found count

Name of variable that contains the count of components that this action finds. By default, the variable is $REG_COMPONENT_COUNT$.

After the action runs, you can use this variable in subsequent actions and rules. For example, to display a panel only if a component is not found, you can add a Display Message panel with a rule that uses the value of $REG_COMPONENT_COUNT$.

Components found versions

Name of variable that contains the versions of the components that this action finds. By default, the variable is $REG_COMPONENT_VERSION$.

After the action runs, you can use this variable in subsequent actions and rules. For example, to display a panel only if a specific version of a component is found, you can add a Display Message panel with a rule that uses the value of $REG_COMPONENT_VERSION$.

Components found locations

Name of the variable that contains the locations of the components that this action finds. By default, the variable is $REG_COMPONENT_LOCATION$.

After the action runs, you can use this variable in subsequent actions and rules. For example, to display a panel only if a component is found in a specific location, you can add a Display Message panel with a rule that uses the value of $REG_COMPONENT_LOCATION$.

Search in both 32-bit and 64-bit InstallAnywhere registries

If you want the action to search for a component in both 32-bit and 64-bit InstallAnywhere registry locations (Program Files (x86)\Zero G Registry and Program Files\Zero G Registry) on 64-bit target systems, select this check box.

See Also