| Reference information | |
|---|---|
| Project page | Action Sequences, Installer Dialogs |
| Related topics | Working with attribute panes |
The Set Variable action assigns a new value to a symbolic variable. The new value may contain its own symbolic variable references; they are evaluated when the value is assigned. You can also use this action to assign an installation folder path to a folder alias or a registry key path to a registry alias; simply specify the folder or registry key alias as the Symbol name (below).
The Windows Installer equivalent is Set
Property. Windows Installer can also set installation folder paths, but
not registry key paths.
This pane contains the following attributes and options.
| Attribute | Description |
|---|---|
| Action name | Enter the name of the action. This name is only used in Tarma ExpertInstall and is not visible to the user. |
| Description | Enter the localizable description of the action. This description is displayed in progress messages in the installer while the action is executing. |
| Symbol name |
Enter the name of the product variable whose value must be set, or click ... (browse) to open the Select Product Variable dialog box that allows you to select a variable from the project. To set an installation folder path, specify the folder's alias as the symbol name; to set a registry key path, specify the registry key's alias. |
| Indirect |
Check this box to make the Symbol name link indirect; clear it for a direct link. If the link is indirect, the variable specified in the Symbol name field is used to obtain the name of a second variable, and it is this second variable whose value is updated by the action. With a direct link, the variable specified by the Symbol name attribute itself is updated. |
| Symbol value | Enter the new value for the selected symbol. This value may contain its own symbolic variable references; they are evaluated when the value is assigned. |
| Condition |
Enter the conditional expression that determines if the action will be executed, or leave empty for unconditional execution. |
| Platforms... |
Click this button to open the Select Installation Platforms dialog box that allows you to select the Windows versions on which the action must be executed. This platform selection acts as an additional condition for the action. |