Contents

Choice

A single installation choice.

Overview

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:

choices.<choice-id>

<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:

choices.['choice_a'].selected

Topics

Accessing a Choice’s State

Accessing a Choice’s Metadata

Working with Packages