| Reference information | |
|---|---|
| Applies to | Tarma Installer, Windows Installer |
| Related topics | RegMDAC, RegMDACVersion, System information variables |
The installer sets this variable to the abbreviated MDAC (Microsoft Data Access Components) version number if MDAC is present on the target system, or to 0 if not present. The MDAC version is encoded as 100 * major + minor; lesser version number parts are ignored. For example, MDAC version 2.81.1117.0 would be encoded as 281.
Tip: For a more detailed MDAC version number, you can use the RegMDACVersion instead. However, that variable is only supported by Tarma Installer, not by Windows Installer.
| Usage | |
|---|---|
| How to set | Do not change its value; it has been carefully configured for cross-platform compatibility and is used internally by the installer. |
| How to use | You can refer to this variable as <VersionMDAC> (Tarma native syntax, preferred) or [VersionMDAC] (Windows Installer syntax). In conditional expressions you can omit the brackets and simply use expressions like VersionMDAC >= 280 as a test for minimum MDAC versions. |