Reputation: 1186
I am iterating over the SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall in the registry, what I noticed is that there are some programs that are listed in brackets like: {E05E8183-866A-11D3-97DF-0000F8D8F2E9}, and it has all the information like version and displayName.
Other programs that are not in brackets like 4591AF53-0A6B-4BB9-A335-AFF02C8D5BCD does not have all the information.
Could someone explain why is there a difference and if there is any other way know the version of a software installed.
Upvotes: 0
Views: 369
Reputation: 63310
You could find out which version of a program installed using Windows MSI installer is installed by going to: HKEY_CLASSES_ROOT/Installer/Products and iterate that. The GUIDS that you see under that directory is generated by the MSI installer to identify products installed, so it can find them again for uninstall.
Upvotes: 1