ColorBits

The installer sets this variable to the color depth, in bits/pixel, of the target system. On multi-monitor systems, the color depth of the primary monitor is used.

Usage

You can refer to it as <ColorBits>. In conditional expressions you can omit the brackets and use tests like ColorBits >= 8. Do not set this variable directly; it is set automatically when the installer runs.

Related topics

System information variables