How can I remove a Windows registry key that has subkeys inside?

asked 12 Sep '11, 07:55

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%


You can remove a main Windows registry key using a <registryDelete> action without specifying any <name> and without a final \ in the <key> value. For example:


     <registryDelete>
             <key>HKEY_LOCAL_MACHINE\SOFTWARE\My Software\${product_fullname}\${product_version_short}</key>
     </registryDelete>

link

answered 12 Sep '11, 07:57

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×176
×28

Asked: 12 Sep '11, 07:55

Seen: 1,741 times

Last updated: 12 Sep '11, 08:01