A Choice object represents a single installation choice. Choice objects are properties of the
choices global variable and represent the installation choices defined in a distribution package.
The name of each property of the
choices array corresponds to the
choice-id attribute of each of the distribution’s installation choices (see Distribution Definition XML Schema Reference for more information). Therefore, a specific choice is accessed this way:
<choice-id> represents the identifier of the desired choice in the installation definition. For example, to access the
selected property of a choice with
'choice_a' as its identifier, you would use the following expression:
String with the description of the distribution.
true when the choice is enabled,
Array identifying each package attached to the choice. Each item of the array references a
pkg-ref element in the installation definition and contains the following two properties:
identifier: The package identifier. Corresponds to the
idattribute of the
version: The package version. Corresponds to the
versionattribute of the
String that specifies the relationship between the choice’s packages (specified by the
packages property) and the same packages (based on the package identifier) installed on the host. The possible values are:
'clean': None of the packages are installed.
'installed': All the packages are already installed.
'upgrade': The versions of all the packages are higher than the versions of the installed packages.
'downgrade': The versions of all the packages are lower than the versions of the installed packages.
'mixed': At least two of the following conditions are true:
One or more of the packages are upgrades.
One or more of the packages are downgrades.
One or more of the packages are not installed.
For example, if a distribution contains a choice with a required package, you may deselect that choice if the installed package is more recent.
true when the choice is selected,
String with the title of the distribution package.
true when the choice is visible,