Appendix C: Parameters
<booleanParameter> | |||
---|---|---|---|
Request a boolean value from the user. |
|||
property |
default value |
allowed values |
description |
|
radiobuttons, checkbox-left, checkbox-right |
Display style in GUI mode |
|
|
<booleanParameterGroup> | |||
---|---|---|---|
Allows you to create custom pages |
|||
property |
default value |
allowed values |
description |
|
vertical, horizontal |
Set orientation for objects in the group. It can only be horizontal or vertical. If not specified, defaults to vertical. |
|
|
always, ifSelected |
Validation type |
|
List of parameters to group |
|||
|
<choiceParameter> | |||
---|---|---|---|
Ask the user to select a value among a predefined list. |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
Whether or not to allow an empty value. This property does not allow variables. |
|
combobox, radiobuttons |
Choose an entry in a listbox or among a number of radiobuttons. |
||
default, alphabetical, alphabeticalreverse |
Order in which the text of choices will be displayed at runtime |
||
string |
Width in characters of the corresponding field in the GUI page. If not specified, it defaults to 40. |
||
Predefined list of options that allows the user to select a value |
|||
|
<choiceParameterGroup> | |||
---|---|---|---|
Allows you to create custom pages |
|||
property |
default value |
allowed values |
description |
|
vertical, horizontal |
Set orientation for objects in the group. It can only be horizontal or vertical. If not specified, defaults to vertical. |
|
|
disable, none |
How unselected options will behave. This property does not allow variables. |
|
List of parameters to group |
|||
|
<directoryParameter> | |||
---|---|---|---|
Ask the user to enter a directory |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
Whether or not to allow an empty value. This property does not allow variables. |
|
|
0, 1 |
Whether or not to require that the directory must be writable. |
|
|
0, 1 |
Whether or not to require that the directory must already exist. |
|
|
0, 1 |
Whether or not OS X bundles (*.app and *.bundle) will be considered files. The setting will just have effect on OS X, in other platforms they will be always considered directories |
|
string |
Width in characters of the corresponding field in the GUI page. If not specified, it defaults to 40. |
||
|
<fileParameter> | |||
---|---|---|---|
Ask the user to enter a file |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
Whether or not to allow an empty value. This property does not allow variables. |
|
|
0, 1 |
Whether or not to require that the file must be writable. |
|
|
0, 1 |
Whether or not to require that the file must already exist. |
|
|
0, 1 |
Whether or not OS X bundles (*.app and *.bundle) will be considered files. The setting will just have effect on OS X, in other platforms they will be always considered directories |
|
string |
Width in characters of the corresponding field in the GUI page. If not specified, it defaults to 40. |
||
|
<infoParameter> | |||
---|---|---|---|
Display a read-only text information page. |
|||
property |
default value |
allowed values |
description |
text |
HTML text that will be shown. Note that regular text still needs to be provided in case the installer is run in text mode |
||
string |
Removes the specified number of characters from the left margin |
||
|
<labelParameter> | |||
---|---|---|---|
The label parameter displays a string of read-only text. |
|||
property |
default value |
allowed values |
description |
string |
Optional image to display |
||
|
<licenseParameter> | |||
---|---|---|---|
Display a license |
|||
property |
default value |
allowed values |
description |
string |
File that will be displayed as license |
||
|
iso8859-1, iso8859-2, utf-8, cp1251, cp1252, ascii, macRoman, unicode |
File encoding type |
|
string |
HTML file that will be displayed as license |
||
|
0, 1 |
Wrap text. This property does not allow variables. |
|
List of licenses |
|||
|
<linkParameter> | |||
---|---|---|---|
The linkParameter displays an hyperlink-like label or a button, which executes an actionList when clicked. |
|||
property |
default value |
allowed values |
description |
List of actions to execute on click |
|||
|
<parameterGroup> | |||
---|---|---|---|
Allows you to create custom pages |
|||
property |
default value |
allowed values |
description |
|
vertical, horizontal |
Set orientation for objects in the group. It can only be horizontal or vertical. If not specified, defaults to vertical. |
|
List of parameters to group |
|||
|
<passwordParameter> | |||
---|---|---|---|
Allow the user to input a password. |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
Whether or not to allow an empty value. This property does not allow variables. |
|
|
0, 1 |
If set to zero, the retype password field won’t be shown. This property does not allow variables. |
|
string |
Description of retype field |
||
string |
Width in characters of the corresponding field in the GUI page. If not specified, it defaults to 40. |
||
|
<stringParameter> | |||
---|---|---|---|
The string parameter allows you to request a text string from the user. It accepts all of the common options. |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
Whether or not to allow an empty value. This property does not allow variables. |
|
string |
Width in characters of the corresponding field in the GUI page. If not specified, it defaults to 40. |
||
|
<parameter> - Common Properties | |||
---|---|---|---|
Allows you to create custom pages |
|||
property |
default value |
allowed values |
description |
string |
Name of the parameter. This will be used to create the corresponding installer environment variable and command line option and because of that, it may only contain alphanumerical characters. This property does not allow variables. |
||
string |
Title that will be displayed for the corresponding installer page. If none is specified, the description field will be used instead. |
||
text |
Short description for the parameter |
||
text |
Long description for the parameter |
||
string |
Value for the parameter. |
||
string |
Default value, in case one is not specified by the user. |
||
|
0, 1 |
Whether or not to show or not the page to the end user (it can still be set through the command line interface). This property does not allow variables. |
|
string |
Text to use for setting the value of the parameter through the command line interface. If none is used, it will default to the value of the name field. |
||
|
0, 1 |
Whether or not the command line option will be shown in the command line when the help text is displayed. This property does not allow variables. |
|
string |
Text to use when displaying help options. If none is used, it will default to the value of the description field. |
||
string |
Name of the page after the one in which this custom page will be installed |
||
string |
Name of the page previous to the one in which this custom page will be installed |
||
string |
Image to show when displaying GUI installers with custom style |
||
|
and, or |
Rule evaluation logic, by default rules are evaluated with and logic |
|
List of actions to execute after clicking next |
|||
List of actions to execute before displaying the parameter |
|||
Contains a set of rules or conditions |
|||
List of validation actions to execute after clicking next |