INF DriverVer Directive
A DriverVer directive specifies version information for drivers installed by this INF.
[Version] | [DDInstall] DriverVer=mm/dd/yyyy[,w.x.y.z]
This value specifies the date of the "driver package", which includes the driver files and the INF. This date must be the most recent date of any file in the driver package.
The date must be specified in month/day/year order. The month and day must contain two digits, and the year must contain four digits. A hyphen (-) can be used as the date field separator instead of the slash (/).
If specified, w, x, y, and z must each be an integer that is greater than or equal to zero and less than 65535.
For Windows XP SP1, Windows Server 2003 and later versions of Windows, this value is also used by Setup, in combination with the driver rank and date, to select a driver for a device. For more information, see How Windows Selects Drivers.
The following points apply to this value for Windows 2000, and Windows XP:
- This value is used for display purposes only (for example, in Device Manager) and not used to select a driver for a device.
- You should consider this value to be required for input drivers (such as mouse or keyboard drivers). If you do not include the version value, input drivers might not update programmatically. Typically, you should specify version information in all driver packages because the operating system uses version information as a criteria to determine the newest driver.
Starting with Windows 2000, INF files must have a DriverVer directive in their INF Version sections to provide version information for the whole INF. Individual INF DDInstall sections can also contain DriverVer directives to provide version information for individual drivers. DriverVer directives in the DDInstall sections are more specific and take precedence over the global DriverVer directive in the Version section.
When the operating system searches for drivers, it selects a driver that has a more recent DriverVer date over a driver that has an earlier date. If an INF has no DriverVer directive or contains an invalid date specification, the operating system applies the default date of 00/00/0000. For Windows 2000 only, unsigned drivers are also assigned a date of 00/00/0000.
[Version] ... DriverVer=09/28/1999,5.00.2136.1