promptIfDriverIsNotBetter XML Element

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

The promptIfDriverIsNotBetter XML element is an empty element that sets the promptIfDriverIsNotBetter flag to ON, which configures DPInst to display a dialog box if a new driver is not a better match to a device than a driver that is currently installed on the device. The dialog box informs a user of this situation and provides an option to replace the driver that is currently installed on the device with the new driver.

Element Tag

<promptIfDriverIsNotBetter>

XML Attributes

None

Element Information

Parent elements

dpinst

Child elements

None permitted

Data contents

None permitted

Duplicate child elements

None permitted

Remarks

By default, the promptIfDriverIsNotBetter flag is set to OFF. You can set the promptIfDriverIsNotBetter flag to ON by including a promptIfDriverIsNotBetter XML element in a DPInst.xml file or by using the /p command-line switch.

The following code example demonstrates a promptIfDriverIsNotBetter element.

<dpinst>
  ...
  <promptIfDriverIsNotBetter/>
  ...
</dpinst>

See also

dpinst