BLD:W0104

"Remove key and subkeys" is potentially very dangerous

The registry key installation or removal action Remove key and subkeys is potentially very dangerous; it can remove an entire registry hive and render the target computer unusable. Therefore, we recommend that you use this action sparingly, if at all.

Solution

Review the situation carefully to decide if you really need this action. In many cases, a less dangerous action such as Remove if empty or Remove key and values might be sufficient. If you do keep this action, make sure that the registry key to which it applies is very carefully specified, to avoid removing the wrong registry key tree by accident.

See also

Registry keys