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

Answered

Comments

1 comment

  • Avatar
    Jake

    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>
    
    

Please sign in to leave a comment.