Article ID: 887411 - View products that this article applies to.
This article describes how the Microsoft Windows XP Service Pack 2 (SP2) Setup program determines whether a device driver will be upgraded.
In earlier service packs, the Setup program did not perform any plug-and-play detection of devices and device drivers. In Windows XP SP2, the Setup program detects currently installed device drivers, and the Setup program may upgrade the detected device drivers.
The Setup program also installs new devices. For example, Microsoft Windows XP did not include Bluetooth drivers, but Bluetooth drivers are installed when you install Windows XP SP2. New device setup is simplified because devices that are installed and configured in the same manner are grouped into device installation classes. For example, all cameras can specify that they are members of the Image installation class.
This article discusses how the Windows XP SP2 Setup program determines whether a device driver will be upgraded. It also discusses how to overwrite a third-party driver during the setup of Windows XP SP2 and how to prevent drivers from being overwritten.
Drivers that are included with an operating system or service pack release are known as inbox drivers. Inbox drivers are drivers that are released with catalog files. Drivers that are trusted by the catalog are known as signed drivers. Drivers that are released without the catalog file are known as unsigned drivers. By default, the Windows XP SP2 Setup program will not upgrade third-party drivers when you install Windows XP SP2.
If you want to upgrade third-party device drivers with driver files that are included with Windows XP SP2, list the devices in the Windows XP SP2 Update.inf file in a format that is similar to the following:
Note ClassName is the device class name and ClassGUID is the class GUID.
Note DeviceHardwareID is the hardware ID of the device and DeviceINFFileName is the name of the .inf file for the device.
Update.exe upgrades the devices that are specified in the [DevicesToUpgrade] sections of the Update.inf file. To do this, the installer must have the following information:
How to overwrite specific third-party device driversTo use an Exclusions section to overwrite a driver, include the following sections in the Update.inf file:
Note DeviceHardwareID is the hardware ID of the device, DriverProvider is the name of the driver provider, and DeviceINFFileName is the name of the .inf file for the device.
The DeviceId.Exclusions section lets you overwrite the third-party driver for a specific device. The Provider.Exclusions section lets you exclude a driver provider from the third-party check. By default, the driver is not added to the third-party list if Microsoft is the provider in Provider.Exclusions.
The detection and upgrade processThe detection and upgrade process has four distinct phases:
Article ID: 887411 - Last Review: October 26, 2004 - Revision: 1.2
Contact us for more help