Deletes a named value for a specific registry item. Used by Microsoft Provisioning Framework (MPF).
DeleteRegValue is a wrapper for the Microsoft Win32® API function RegDeleteValue.
The following table describes the XML elements and attributes. Unless otherwise indicated, the data type is string.
Children: regValue (minOccurs="1" maxOccurs="1")
<item> <name>CompletionChar</name> </item>
Parent: regValue
Child: name (minOccurs="1" maxOccurs="1")
<machine> <name>BOB1</name> </machine>
Parents: machine, rootkey, subkey
<regValue> <machine> <name>BOB1</name> </machine> <rootkey> <name>HKEY_LOCAL_MACHINE</name> </rootkey> <subkey> <name>SOFTWARE\Microsoft\Active Setup</name> </subkey> <item> <name>CompletionChar</name> </item> </regValue>
Parent: executeData
Children: item (minOccurs="1" maxOccurs="1") machine (minOccurs="1" maxOccurs="1") rootkey (minOccurs="1" maxOccurs="1") subkey (minOccurs="1" maxOccurs="1")
<rootkey> <name>HKEY_LOCAL_MACHINE</name> </rootkey>
Parent: regKey
<subkey> <name>SOFTWARE\Microsoft\Active Setup</name> </subkey>
No remarks.
<executeData>1..1 <regValue>1..1 <machine>1..1 <name>1..1</name> </machine> <rootkey>1..1 <name>1..1</name> </rootkey> <subkey>1..1 <name>1..1</name> </subkey> <item>1..1 <name>1..1</name> </item> </regValue> </executeData>
The following code fragment shows the format for sending data to this procedure. For more information on individual elements and attributes, see the Elements and Attributes table.
DeleteRegValue does not return data.