Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List installed program in windows

Tags:

c++

windows

I would like to get a list of unique installed programs in windows,like in "add/remove programs" in windows. But the data at HKLM\Software\Microsoft\Windows\Current Version\Uninstall, has some duplicates. How do I filter them?

thanks

like image 694
eric Avatar asked Oct 19 '25 05:10

eric


1 Answers

The recommended Win32 way of doing this would be to use the Microsoft Installer API. The function you want is MsiEnumProductsEx.

like image 113
CadentOrange Avatar answered Oct 21 '25 20:10

CadentOrange