I am creating a registry key, with a few values. During the uninstallation, I delete ONE of these registry values, then try to delete the registry key using /ifempty like this:
DeleteRegKey /ifempty HKLM "${REG_KEY}\CurrentVersion"There are no sub-keys of the CurrentVersion key, but there are still values in the key. So why does DeleteRegKey with delete that key when I'm using the ifempty?See attached script for a simple example