It seems like there are some "smart" keys in the windows registry. When I say smart...I mean that they are there (RegEdit sees them) but if you perform a search you won't find them (via OpenSubKey/GetSubKey routines).
Case in point:
The registry has the following key:
If you Use the OpenKey/GetSubkey method you will get the 6 subkeys NONE of which is key
I wish to build a file of keys added during a install, and then go and delete them. Why? Because when the installer runs it installs just fine, but you cannot uninstall my application.
In order to perform deletion and cleanup, I must find the keys first.
What I have tried:
I've tried the following
TopKey = CurrentKey.OpenSubKey(fullpath, RegistryKeyPermissionCheck.ReadSubTree, Lrights[K]);
Where CurrentKey is
opened via both 64 bit and 32 bit, and
is all the enumerate rights of
I'm running in the debugger with Administrative rights.
The code to open the initial HKEY_LOCAL_MACHINE is: