Windows Driver Kit: Device Installation
Adding an Add Or Remove Program Entry
By default, after DPInst copies a driver package to the driver store, DPInst creates an Add or Remove Programs entry that represents the driver package. A user can use this entry to uninstall the driver package and remove it from the driver store.
Warning
In order for DPInst to properly manage the removal of the driver packages that it installs, a user should use only the Add or Remove Programs entry created by DPInst to uninstall a driver package. A driver package INF file or driver package co-installer should not register another Add or Remove Programs entry that a user can also use to uninstall a driver package. For more information about how DPInst installs and uninstalls drivers, see DPInst Driver Support.
DPInst adds descriptive text to the Add or Remove Programs entry to identify the driver package. The descriptive text is based on the Provider, DriverPackageDisplayName, and DriverVer entry values in the INF Version section of the driver packages INF file. If a DriverPackageDisplayName entry is not present, DPInst uses the service name of the first service instead.
To suppress creating an Add or Remove Programs entry for a driver package, set the suppressAddRemovePrograms flag to ON.
For an example of a DPInst Add or Remove Programs entry, see Identifying a Driver Package.