System i (i5/OS) Find Component in RAIR Action

InstallAnywhere 2020

The System i (i5/OS) Find Component in RAIR action queries RAIR to find components in registry by their Product Name, Component Name, Component Version, and Feature Name (the first feature of the component).

This action then sets two variables to record the results of the query ($RAIR_COMPONENT_COUNT$ and $RAIR_INSTANCE_VALUES$, by default).

System i (i5/OS) Find Component in RAIR Options

Option

Description

Comment

Enter the text the installer shows when this action runs.

Find component

Use these controls to define the comparisons that comprise the query:

Compare product name—Enables or disables a comparison of the Product Name with the value you enter in the associated text box.
Compare component name—Enables or disables a query for the Component Name based on the value you enter in the associated text box.
Compare component version—Enables or disables a query for the Component Version based on the values you provide in the associated combination box and text box. Versions are conventionally represented in the following format: [Major].[Minor].[Revision].[Subrevision]. For example: 1.0.2.1047.
Compare feature name—Enables or disables a comparison between the component feature (the first feature of the component) and the value you enter in the associated text box.

Set variables

Use these controls to record query results for later access:

Components found count—Identifies the InstallAnywhere variable that records the number of components that match the comparison criteria. THe default value is $RAIR_COMPONENT_COUNT$.
Components instance values—Identifies the InstallAnywhere variable that records the locations of the components that match the comparison criteria. The instances result contains a comma-separated list of all the instance values (locations) of all the components registered. The default value is $RAIR_INSTANCE_VALUES$.