PRIMARYFOLDER

Reference information
Applies to Tarma Installer, Windows Installer
Related topics PrimaryVolumePath, PrimaryVolumeSpaceAvailable, PrimaryVolumeSpaceRemaining, PrimaryVolumeSpaceRequired

Description

This variable contains the alias of the primary installation folder. The primary installation folder is used to determine available and required disk space on the primary volume.

Tip: On the Files and Folders project page, the primary folder is marked with a heavy black arrow overlay, thus: Primary folder icon

Usage

Usage
How to set

Do not change its value directly; instead, go to the Files and Folders project page, right-click on the desired primary folder, and choose the Set as Primary Folder command from the folder's context menu.

MSI note Because this is a public property, you can also set it on the installer's command line.

How to use

You can refer to this variable as <PRIMARYFOLDER> (Tarma native syntax, preferred) or [PRIMARYFOLDER] (Windows Installer syntax). Because the variable contains the alias of the actual primary folder, you can retrieve the primary folder path (as opposed to the primary folder alias) by using double indirection: <<PRIMARYFOLDER>>.

MSI note Windows Installer does not support double indirection of variables, but some dialog controls have an Indirect attribute that effectively provides double indirection.