installAllOrNone XML Element

[DIFx is deprecated, for more info, see DIFx Guidelines.]

The installAllOrNone XML element is an empty element that sets the installAllOrNone flag to ON, which configures DPInst to install drivers in a driver package only if all of the driver packages in the installation package can be installed or if all of driver packages in the driver package group can be installed.

Element Tag

<installAllOrNone>

XML Attributes

None

Element Information

Parent elements

dpinst or group

Child elements

None permitted

Data contents

None permitted

Duplicate child elements

None permitted

Remarks

By default, the installAllOrNone flag is set to OFF. To set the installAllOrNone flag to ON for all of the driver packages, including those in driver package groups, include an installAllOrNone element as a child element of a dpinst XML element, or use the /a command-line switch. To set the installAllOrNone flag to ON only for a specific driver package group, include an installAllOrNone element as child element of the corresponding group XML element.

The following code example demonstrates an installAllOrNone element that is a child element of a dpinst element.

<dpinst>
  ...
  <installAllOrNone/>
  ...
</dpinst>

The following code example demonstrates an installAllOrNone element that is a child element of a group element.

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

See also

dpinst

group