这个问题在这里已有答案:
该程序使用注册表项中的已安装程序填充列表 . 它读了两个地方 .
SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall SOFTWARE \ Wow6432Node \ Microsoft \ Windows \ CurrentVersion \ Uninstall
问题是,我得到的列表比我在程序和功能中看到的更长,用于过滤哪个程序应该显示的规则是什么?
有几种方法可以实现这一点,Win32_Product,注册表搜索等 . 您是否尝试过发布之前在线搜索?
看到:C#: How to get installing programs exactly like in control panel programs and features?
这里有另一个很好的讨论:http://social.msdn.microsoft.com/Forums/en-US/94c2f14d-c45e-4b55-9ba0-eb091bac1035/c-get-installed-programs
1 回答
有几种方法可以实现这一点,Win32_Product,注册表搜索等 . 您是否尝试过发布之前在线搜索?
看到:C#: How to get installing programs exactly like in control panel programs and features?
这里有另一个很好的讨论:http://social.msdn.microsoft.com/Forums/en-US/94c2f14d-c45e-4b55-9ba0-eb091bac1035/c-get-installed-programs