Platform SDK: Group Policy |
An action list is a set of arbitrary changes to the registry that are made in response to a control being in a certain state. For instance, if a check box is selected, an application could install some virtual device drivers and record some other changes.
The syntax for an action list follows:
ACTIONLIST
[KEYNAME key name]
VALUENAME value name
VALUE value
...
END ACTIONLIST
An action list specifies one or more triplets composed of key name, value name, and value. A key name is not required for every action, but if it is not listed, the key name from the previous action will be used. This is useful for writing a number of values to one key.
Values are treated as strings unless they are preceded by NUMERIC, as in the following examples:
VALUE "Some value" VALUE NUMERIC 1
If VALUE is followed by DELETE (for example, VALUE DELETE), the registry entry will be deleted.