DeleteRegKey does not work as expected
Hi,
I am having a problem with the "DeleteRegKey" instruction. When I try to delete a key that has some subkeys inside my uninstaller, it seems the script only deletes the first subkey but the other subkeys and values remain.
My code looks like this:
"DeleteRegKey HKCU "Software\MyCompany\MyProduct"
so I am not using the /ifempty option.
This only happens in Windows Vista without Service Pack 1 and works as expected on Windows XP and Windows Vista with Service Pack 1.
Any idea?
Thanks in advance,
JJGL