Edit Advertised Variables Dialog Box

InstallAnywhere 2020 SP1

When you are adding an Install Merge Module action to your installation project, you need to specify which variables in the merge module can be set by the parent installer and which variables in the parent installer can be set by the merge module. You do this on the Edit Advertised Variables dialog box, which opens when you click Edit Variables on the customizer of an Install Merge Module action in the Install view of the Sequence page.

Advertised variables are used to inform the parent installer of settings required for a merge module’s configuration, and to return information—such as status or return codes—back to the parent installer. Advertised variables must be set before a merge module can be installed.

The Edit Advertised Variables dialog box includes the following options:

Edit Advertised Variables Dialog Box

Option

Description

Input Variables List

To advertise an input variable in the merge module so that it will be visible in the parent project (the project that is going to install this merge module), click Add next to the input variables list to add an entry to the list, and then enter the following information:

MM Variable Name—Enter the name of a variable that has been defined in the selected merge module, using the syntax $VARIABLE_NAME$.
Comment—Enter text to describe the purpose of this variable.
Gets value from—Enter the name of a variable that has been defined in one of the panels in this project using the syntax $VARIABLE_NAME$.

Click Remove to remove a selected variable from the list.

Parent Variables List

To advertise a variable in the parent project (the project that is going to install this merge module) so that it will be visible in this merge module, click Add next to the parent variables list to add an entry to the list, and then enter the following information:

MM Variable Name—Enter the name of a variable that has been defined in the selected merge module using the syntax $VARIABLE_NAME$.
Comment—Enter text to describe the purpose of this variable.
Sets Parent Variable—Enter the name of a variable that has been defined in one of the panels of this project using the syntax $VARIABLE_NAME$.

Click Remove to remove a selected variable from the list.

Send stdout to variable

Send stderr to Variable

To set the stderr and stdout of the selected merge module to InstallAnywhere variables, select these options and enter a variable name in the box. This is useful if you want to debug a merge module.