legacyMode XML Element

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

The legacyMode XML element is an empty element that sets the legacyMode flag to ON, which configures DPInst to install unsigned drivers and driver packages that have missing files.

Element Tag

<legacyMode>

XML Attributes

None

Element Information

Parent elements

dpinst

Child elements

None permitted

Data contents

None permitted

Duplicate child elements

None permitted

Remarks

By default, DPInst installs only signed driver packages and driver packages that do not have missing files. To configure DPInst to accept unsigned driver packages or driver packages that have missing files, set the legacyMode flag to ON by including an legacyMode element as a child element of a dpinst XML element or by using the /lm command-line switch.

The following code example demonstrates a legacyMode element.

<dpinst>
  ...
  <legacyMode/>
  ...
</dpinst>

See also

dpinst