Using DIFxApp to Uninstall Driver Packages
Driver Install Frameworks for Applications (DIFxApp) version 2.1 is a component of Driver Install Frameworks (DIFx) version 2.1. With DIFxApp, Microsoft Windows Installer can be used to install signed driver packages that are associated with applications in a Windows Installer installation package. DIFxApp is designed for vendors who either already have a Windows Installer installation package for their applications or plan to create one.
DIFxApp supports many installation scenarios, and also supports uninstalling the driver packages that it installs. This topic describes how to uninstall driver packages by using DIFxApp.
For more information about uninstalling driver and driver packages, see How Devices and Driver Packages are Uninstalled.
For more information about how to uninstall device nodes (devnodes), see Using Device Manager to Uninstall Devices and Driver Packages and Using SetupAPI to Uninstall Devices and Driver Packages.
By default, DIFxApp adds an entry to Programs and Features in Control Panel for each driver package that it installs. Use the following steps to remove the driver package:
In Control Panel, double-click Programs and Features.
Click the entry for the driver package.
Click Uninstall/Change to uninstall the package.
Note In versions of Windows earlier than Windows Vista, Programs and Features in Control Panel was named Add or Remove Programs.
For more information about how to use Programs and Features to remove driver packages that are installed with DIFxApp, see Uninstalling a Driver Package by Using a Programs and Features Entry.
By default, when you uninstall a driver package with the Programs and Features in Control Panel, you remove the driver package from the DIFx driver store, but you do not remove the driver's binary files. There are two ways to have Programs and Features remove the binary files:
Set the corresponding DIFxApp configuration flag to remove installed files. For more information, see Setting the DIFxApp Configuration Flags.
Use the Windows Installer XML (WiX) tools to create an installation package. In the corresponding WiX XML source file, set the DriverDeleteFiles attribute to yes for the component that represents the driver package.
For more information about how to use the WiX tools to create an installation package, see Authoring a Windows Installer installation Package Using DIFxApp.wixlib.
For more information about how to remove the binary files that were installed for a device by DIFxApp, Removing Files when Uninstalling a Driver Package.
Note Starting with Windows 7, the DIFxApp configuration flag to remove installed files, together with the DriverDeleteFiles attribute, are ignored by the operating system. Binary files, which were copied to a system when a driver package was installed, can no longer be deleted by using DIFxApp.