ControlFlags Section

The ControlFlags section controls how a device is handled by the device installer. The New Device Wizard builds its list of installable devices by searching through INF files. The device installer extracts information about devices from the INF files and displays it.

[ControlFlags]

ExcludeFromSelect=device-id[device-id]...

ExcludeFromSelect

Listing the device-id of a device in an ExcludeFromSelect item removes the device from the device installer. If you use an asterisk (*) in place of the device-id list, ExcludeFromSelect is set for all devices listed in the INF file.

By appending an extension to ExcludeFromSelect entry, you can exclude devices from device-selection dialog boxes based on a particular operating system or platform. The following extensions are recognized by the Setup functions:

.win Exclude device(s) on Windows 9x
.nt Exclude device(s) on Windows NT (all platforms)
.ntx86 Exclude device(s) on Windows NT (x86 only)
.ntmips Exclude device(s) on Windows NT (MIPS only)
.ntalpha Exclude device(s) on Windows NT (Alpha only)
.ntppc Exclude device(s) on Windows NT (PPC only)

The extensions are not case sensitive. The following example excludes all bus mice and InPort mice on RISC platforms:

[ControlFlags]

ExcludeFromSelect.ntalpha=*PNP0F0D,*PNP0F11,*PNP0F00,*PNP0F02,*PNP0F15

ExcludeFromSelect.ntmips=*PNP0F0D,*PNP0F11,*PNP0F00,*PNP0F02,*PNP0F15

ExcludeFromSelect.ntppc=*PNP0F0D,*PNP0F11,*PNP0F00,*PNP0F02,*PNP0F15