Reading Uninstall registry entries cannot see all the keys that actually exist

  • Thread starter Thread starter ChemaSarachaga
  • Start date Start date
C

ChemaSarachaga

Guest
I'm writing (just like lots of people) a program that creates a list of installed software on a Windows computer.

I already messed with 32 and 64 view version of the registry, and so i created a 32 bit version of the function and a 64 bit version.

i'm reading the "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" key in the 32 bit version

and "SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" on the 64 bit version

Both functions work, and get me the exact same list of programs.

Problem is: just as a test, i manually added a key in the Uninstall key, with a string value inside, simulating one more installed software, but none of the functions can see MYKEY, regardless 32 or 64 bit version so i'm a little confused.

SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MYKEY

Inside there's a DisplayName string value with "Hello World" data

The point of doing this test is because there are also programs with a key in the Uninstall key and cannot see them either.

Thanks in advance

Continue reading...
 
Back
Top