The Delete Registry Key action deletes a defined registry key and all its values. To use this action you select the registry hive and define the path to the key that is to be removed.
This action will not remove sub keys. The key being removed cannot contain sub keys. If the key contains sub keys, this action will fail.
If the defined key does not exist, no errors are raised.
Use caution when deleting registry keys.
Prepare Stage
During the prepare stage, this action checks delete permissions of the defined registry location.
Execute Stage
This action backs up the defined registry key, then deletes if it exists.
Cleanup Stage
No action taken.
Rollback Stage
Restores registry key as it was backed up in the execute stage.