Share via


Using the ExcludeFromSelect Directive

The INF ControlFlags section of a modem INF file can have one or more ExcludeFromSelect entries. Each ExcludeFromSelect entry specifies a device that is excluded from the Select Device dialog box, as well as from all other user interfaces during modem installation.

The following guidelines apply to the use of the ExcludeFromSelect directive in modem INF files:

  • Do not use ExcludeFromSelect if your modem is not compatible with Plug and Play and if the user must select the modem from the Select Device dialog box.

  • If your modem is a child device on a multifunction card, use ExcludeFromSelect to exclude it from the Select Device dialog so that the user selects the ID of the multifunction card itself. Using ExcludeFromSelect with a multifunction card does not exclude the child modem device from the Device Manager dialog boxes. Users might employ the Device Manager dialog boxes to change a device driver for a child device.

  • Do not use ExcludeFromSelect if your Plug and Play modem is not on a multifunction card, if you are creating an INF for an installation disk to be shipped with the modem, and if your modem ID string is a Hardware ID.

Note   In Windows XP or later, if you examine the modem INF files in the \Windows\Inf directory, ExcludeFromSelect is used with all modem IDs, because it is fully Plug and Play, unlike previous versions of the operating system. The Plug and Play system detects the modem and installs it without displaying the Select Device dialog box.

 

For more information about the ControlFlags section, see INF ControlFlags Section.

 

 

Send comments about this topic to Microsoft