InstallAware for Windows Installer
 

DIFx Driver Installation

This plug-in provided command installs or uninstalls drivers for a device.

Inf file

Enter the full path to the driver inf file.

Task

To install the driver, select the Install driver option. To uninstall the driver, select the Uninstall driver option.

Architecture

Select the processor architecture that the driver has been written for.

Delete binary driver files when uninstalling

When the Uninstall driver option is selected, checking this option will remove all files that were copied onto the system as part of the driver installation, including files that may be in use by devices attached to the system. When this option is not checked, the driver is deleted from the driver store only.

Install driver only if device is already installed

When the Install driver option is selected, checking this option installs the driver only if the device that requires the driver has been physically connected to the system.

Do not create Add Remove Programs entry for driver

When the Install driver option is selected, checking this option will not create an Add Remove Programs entry for the driver in the Control Panel. If this option is not checked, an Add Remove Programs entry for the driver in the Control Panel enables users to manually uninstall the driver.

Install unsigned drivers and/or drivers with missing files

When the Install driver option is selected, checking this option installs drivers that have not been digitally signed, or have missing files. For maximum resiliency during driver installation, it is recommended that you check this option.

Force installation even if driver is not a better match than existing driver

When the Install driver option is selected, checking this option will always install the supplied driver, even if it is not a better match than a currently installed driver on the system for the device.

Installed

If this field is not empty, the supplied variable receives the number of drivers that were successfully installed. The variable must have been previously defined.

Copied

If this field is not empty, the supplied variable receives the number of drivers that were successfully copied to the driver store, but not activated on a device. The variable must have been previously defined.

Failed

If this field is not empty, the supplied variable receives the number of drivers whose installation failed. The variable must have been previously defined.

Reboot required

If this field is not empty, the supplied variable receives TRUE when a reboot is required, FALSE if not. The variable must have been previously defined.

 Notes

  • When installing a driver, this command processes all drivers found in the folder specified in the Inf file field, in addition to the actual driver file that was specified.
  • When uninstalling a driver, this command processes only the driver file specified in the Inf file field.