DRVINFO.INI

The drvinfo.ini file contains information specific to each device drive and is used by the unattend.exe utility to add device-driver information to the answer file for Windows deployment scenarios.

You can either create this file or have the Driver Scan utility create it automatically.

The drvinfo.ini file contains one section, called [Driver Information], and can contain the following valid variables:
Variable name Description
Automatically Reboots Specifies whether the executable device driver automatically restarts (reboots) the target server after the device-driver installation has completed. This variable is only valid when Installation Mode is set to "Executable". Valid values are True or False. The default value is False.

If an executable-device-driver installation program restarts the server and this variable is set to False, then any remaining installation procedures are not completed.

To use this variable, the drvutils directory must contain the Holdit.exe and Reboot.exe utilities.

This variable is only supported for Windows 2000.

Installation Mode Specifies the installation method for the device driver. Valid values are: Executable, Manual, PnP, or Textmode. If set to Manual, the unattend.exe utility does not install the device driver.
Order Before Specifies that the device driver is added to the answer file before another specified device driver. This variable is valid only when Installation Mode is set to "PnP" or "Executable". Valid values are a comma-delimited list of the names of the device-driver directories, or the special keyword "All". If more than one device driver has a value of "All", the device drivers are installed in alphabetical order before those that do not have the specification.
Order After Specifies that the device driver is added to the answer file after all other device drivers. This variable is only valid when Installation Mode is set to "PnP" or "Executable". The only valid value is the special keyword "All". If more than one device driver has this value set to "All", the device drivers are installed in alphabetical order after those that do not have the specification.
Parameters Defines any required command-line parameters required by the executable device driver. This variable is only valid when Installation Mode is set to Executable.
Path Specifies the path to the installation file. This variable has a different function, depending on the setting of the Installation Mode variable, as indicated below:
  • Executable - Path specifies the path to the executable installation file
  • Manual - Path variable is ignored
  • PnP - Path specifies the path to the INF installation files
  • Textmode - Path specifies the path to the txtsetup.oem file

PCIVenDevID Specifies the PCI Vendor ID or Device ID information used to limit the installation of executable device drivers to only when the specified device is in the target server. This variable is only valid when Installation Mode is set to Executable. Entries must be in the same format as those in the txtsetup.oem file, with multiple entries delimited by commas. For example:
PCIVenDevID = PCI\VEN_1002&DEV_5159&SUBSYS_029A1014
Reboot Required Specifies whether the executable device driver requires the target server to restart (reboot) after the installation of the device driver is completed. This variable is only valid when Installation Mode is set to Executable. Valid values are True or False.

To use this variable, the drvutils directory must contain the Holdit.exe and Reboot.exe utilities.

This variable is only supported for Windows 2000.

Supported Locales Specifies the locales supported by this device driver. This value can be All, or a comma-delimited list of locales, as specified by the Localization variable in the ProdSpec.ini file from the i386 directory of the applicable operating system installation directory.

You cannot use both Supported Systems and Unsupported Systems in the same drvinfo.ini file.

Supported Systems Specifies the servers supported by this device driver. This value can be All, None, or a comma-delimited list of server machine types or platform IDs

You cannot use both Supported Systems and Unsupported Systems in the same drvinfo.ini file.

Unsupported Locales Specifies locales that are not supported by this device driver. This value must be a comma-delimited list of locales, as specified by the Localization variable in the ProdSpec.ini file from the i386 directory of the applicable operating system installation directory.

You cannot use both Supported Locales and Unsupported Locales in the same drvinfo.ini file.

Unsupported Systems Specifies servers that are not supported by this device driver. This value must be a comma-delimited list of server machine types or platform IDs.

You cannot use both Supported Systems and Unsupported Systems in the same drvinfo.ini file.

The following examples illustrate drvinfo.ini file contents.
Example Description
[Driver Information]
Installation Mode=PnP
Path=
Parameters=
Automatically Reboots=
Reboot Required=
PCIVenDevID=
Order Before=
Supported Systems=All
;Unsupported Systems=
Supported Locales=
;Unsupported Systems=
Supports a plug-and-play device driver with INF files in the root of the device driver directory, and supports all target servers
[Driver Information]
Installation Mode=PnP
Path=win2000
Parameters=
Automatically Reboots=
Reboot Required=
PCIVenDevID=
Order Before=
Supported Systems=8673,8679,8687
;Unsupported Systems=
Supported Locales=
;Unsupported Systems=
Supports a plug-and-play device driver with INF files in the win2000 directory in the root of the device driver directory, and only supports target servers with machine types 8673, 8679, and 8687
[Driver Information]
Installation Mode=PnP
Path=win2000
Parameters=
Automatically Reboots=
Reboot Required=
PCIVenDevID=
Order Before=All
Supported Systems=8673,8679,8687
;Unsupported Systems=
Supported Locales=
;Unsupported Systems=
Supports a plug-and-play device driver that must be installed before any other plug-and-play device driver, with INF files in the win2000 directory in the root of the device driver directory, and supports only target servers with machine types 8673, 8679, and 8687
[Driver Information]
Installation Mode=Executable
Path=win2000\setup.exe
Parameters=-Q
Automatically Reboots=False
Reboot Required=True
PCIVenDevID=PCI\VEN_1002&DEV_5159&SUBSYS_1014029A
Order Before=All
;Supported Systems=
Unsupported Systems=8687
Supported Locales=
;Unsupported Systems=
Supports an executable device-driver installation using setup.exe, with a -Q parameter, in the win2000 directory in the root of the device driver directory, and supports all target servers (except those of machine type 8687) that have a device installed matching the specified Vendor/Device ID.