The Tarma Installer 2 Advanced - Environment page has been renamed to Environment Variables in Tarma Installer. The overall purpose of the page is still the same: it defines the environment variables that must be installed for your product.
Tarma Installer 2 and Tarma Installer environment variables are very similar; the main difference is that in Tarma Installer environment variable installation is controlled by components, whereas in Tarma Installer 2 environment variable installation was done on a case-by-case basis. As a result, some of the Tarma Installer 2 environment variable settings have been moved to components in Tarma Installer. Furthermore, environment variable installation and removal actions are more flexible in Tarma Installer than in Tarma Installer 2.
The following table shows how Tarma Installer 2 environment variable settings are converted to Tarma Installer.
| Tarma Installer 2 | Tarma Installer | Changes and conversion notes |
|---|---|---|
| Name | Name | In Tarma Installer, environment variable names can be localized. |
| n/a | Alias | New in Tarma Installer; generated automatically for environment variables converted from Tarma Installer 2. |
| Value | Value | Any symbolic expressions are converted to Tarma Installer conventions. The Tarma Installer 2 options Convert to SFN and Do not expand <variables> are replaced by new syntax (see below). |
| If exists | (none) | Converted to equivalent Tarma Installer install action; see Environment variable installation and removal actions below. |
| Separator | Separator | No changes. |
| Do not expand <variables> | (none) | Converted to `...` in the Value field. The backticks prevent expansion of symbolic expressions in Tarma Installer. See Symbolic variables conversion for more information. |
| Convert to SFN | (none) | Converted to <$sfn(...)> in the Value field. The $sfn function returns the Short File Name path in Tarma Installer. See Symbolic variables conversion for more information. |
| Platforms | (none) | In Tarma Installer, environment variable installation is controlled by components and all platform settings, and installation conditions are transferred to the component that controls the environment variable. If necessary, a new component is created for the combination of settings that the Tarma Installer 2 environment variable required. |
| Condition | (none) |
Tarma Installer environment variable installation actions combine several different Tarma Installer 2 settings. The following table shows how Tarma Installer 2 installation-related settings are converted to Tarma Installer.
| Tarma Installer 2 | Tarma Installer | |
|---|---|---|
| If exists | Install action | Remove action |
| Keep existing value | Install if not present | Restore original |
| Replace existing value | Overwrite existing value | Remove completely |
| Append using separator | Append to existing value | Remove partial value |