Advanced - Environment page

The Tarma Installer 2 Advanced - Environment page has been renamed to Environment Variables in Tarma ExpertInstall. The overall purpose of the page is still the same: it defines the environment variables that must be installed for your product.

Environment variable settings (Tarma Installer 2)

Tarma Installer 2 and Tarma ExpertInstall environment variables are very similar; the main difference is that in Tarma ExpertInstall 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 ExpertInstall. Furthermore, environment variable installation and removal actions are more flexible in Tarma ExpertInstall than in Tarma Installer 2.

The following table shows how Tarma Installer 2 environment variable settings are converted to Tarma ExpertInstall.

Tarma Installer 2 Tarma ExpertInstall Changes and conversion notes
Name Name In Tarma ExpertInstall, environment variable names can be localized.
n/a Alias New in Tarma ExpertInstall; generated automatically for environment variables converted from Tarma Installer 2.
Value Value Any symbolic expressions are converted to Tarma ExpertInstall 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 ExpertInstall 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 ExpertInstall. 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 ExpertInstall. See Symbolic variables conversion for more information.
Platforms (none) In Tarma ExpertInstall, 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)

Environment variable installation and removal actions

Tarma ExpertInstall 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 ExpertInstall.

Tarma Installer 2 Tarma ExpertInstall
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