| Reference information | |
|---|---|
| Applies to | Tarma Installer, Windows Installer |
| Related topics | ServicePackLevel, ServicePackLevelMinor, Version9X, VersionNT, VersionNT64, System information variables |
The installer sets this variable to the Windows build number of the target system, as follows:
| Product | WindowsBuild value |
|---|---|
| Windows 95 | 950, 1111 (for OSR 2.5) |
| Windows 98 | 1998, 2222 (for Second Edition) |
| Windows Me | 3000 |
| Windows NT4 | 1381 |
| Windows 2000 | 2195 |
| Windows XP | 2600 |
| Windows XP Professional x64 | 3790 |
| Windows 2003 | 3790 |
| Windows Vista | 6000 |
| 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 <WindowsBuild> (Tarma native syntax, preferred) or [WindowsBuild] (Windows Installer syntax). In conditional expressions you can omit the brackets and use tests like (Version9X = 410) AND (WindowsBuild >= 2222). |