VersionCLR
Description
The installer sets this variable to the Common Language Runtime (i.e., .Net)
version number of the target system if the target system has .Net installed.
Otherwise it is set to 0. The CLR version number is encoded as 1000 * major
+ 10 * minor, as follows:
| .Net version |
VersionCLR |
| Not present |
0 |
| 1.0 |
1000 |
| 1.1 |
1010 |
| 2.0 |
2000 |
Usage
| 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 <VersionCLR> (Tarma native syntax,
preferred) or [VersionCLR]
(Windows Installer syntax). In conditional
expressions you can omit the brackets and use tests like VersionCLR
>= 1010 (to test for .Net 1.1 or later) and VersionCLR
(to test for the presence of .Net). |