suppressAddRemovePrograms XML Element

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

The suppressAddRemovePrograms XML element is an empty element that sets the suppressAddRemovePrograms flag to ON, which configures DPInst to suppress the addition of entries to Programs and Features in Control Panel. These entries represent the driver packages and driver package groups that DPInst installs.

Note  In versions of Windows earlier than Windows Vista, DPInst added the entry for the driver package to Add or Remove Programs in Control Panel.

Element Tag

<suppressAddRemovePrograms>

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 suppressAddRemovePrograms flag is set to OFF. To set the suppressAddRemovePrograms flag to ON for all of the drivers that DPInst installs, including all of the drivers in driver package groups, include a suppressAddRemovePrograms element as a child element of a dpinst XML element in a DPInst descriptor file, or use the /sa command-line switch. To set the suppressAddRemoverPrograms flag only for a specific driver package group, include a suppressAddRemovePrograms element as a child element of the corresponding group XML element in a DPInst descriptor file.

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

<dpinst>
  ...
   <suppressAddRemovePrograms/>
  ...
</dpinst>

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

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

See also

dpinst

group