| Reference information | |
|---|---|
| Applies to | Tarma Installer, Windows Installer |
| Related topics | VirtualMemory, System information variables |
The installer sets this variable to the amount of physical memory, in megabytes, of the target system.
Note: Windows typically underreports the amount of memory slightly. For example, a system with 512 MB of RAM installed may be reported as having 511 MB. Please bear this in mind if you use the PhysicalMemory variable in conditional expressions.
| Usage | |
|---|---|
| How to set | Do not set this variable directly; it is set automatically when the installer runs. |
| How to use | You can refer to it as <PhysicalMemory> (Tarma native syntax, preferred) or [PhysicalMemory] (Windows Installer syntax). In conditional expressions you can omit the brackets and use tests like PhysicalMemory >= 255. |