Skip to main content
Specifying a Driver Package Group for a Multifunction Device

DPInst supports specifying a driver package group, which is an ordered collection of driver packages. DPInst preinstalls and then installs the driver packages in the order that is specified for the group. Driver package groups are particularly useful to install driver packages for multifunction devices. To install a driver package group for a multifunction device, configure the group to install the driver package for the parent device first. Because the driver packages for the child function devices will already be preinstalled before the driver package for the parent device is installed, Windows will automatically install the driver packages from the DIFx driver store after the driver package for the parent device is installed.

To create a driver package group, use a group XML element, and for each driver package in the group, include a package XML element as a child element of the group element. The driver packages are installed in the order in which the package elements are listed within the group element.

You can also include the following child XML elements to further control the installation operation:

The following code example demonstrates a group element that creates a driver package group that includes a package element that specifies an "Abc" driver package and a package element that specifies a "Def" driver package. DPInst installs the "Abc" driver package first and then installs the "Def" driver package. The installAllOrNone element specifies that if one of the driver packages in the driver package group cannot be installed, neither driver should be installed.


<dpinst>
. . .
   <group>
      <package path="DirAbc\Abc.inf" />
      <package path="DirDef\Def.inf" />
      <installAllOrNone />
   </group>
. . .
<dpinst/>

The DirAbc and DirDef paths are relative to the directory that contains DPInst.exe.

 

 

Send comments about this topic to Microsoft