我想获取所有已安装的软件,就像“添加/删除"程序 [英] I want get all installed software just like "add/remove" program

查看:133
本文介绍了我想获取所有已安装的软件,就像“添加/删除"程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在计算机上获取所有已安装的程序及其图标,就像Windows的添加/删除"程序一样,并且我也想从注册表中使用"HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \"来获取所有安装程序信息.卸载".对于某些在此键下没有DisplayIcon条目的程序,如果我也想获取图标,该怎么办.

I want to get all installed programs and their icons on my computer just like the Windows "Add/Remove" program and also I want to get all installer informations from registry with the "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall". For some programs which don''t have DisplayIcon entry under this key, what should i do if i want to get the icon as well.

推荐答案

在控制面板"应用程序中,您会注意到许多带有相同图标的条目.您的应用程序应该执行相同的操作,对所有未指定条目的条目使用通用图标.
Take a look at the Control Panel application, you will notice a lot of entries with the same icon. Your application should do the same, use a generic icon for all entries that do not specify one.


感谢,但是我应该使用哪种API来实现.
thanks, but what API should i used to make it.


这篇关于我想获取所有已安装的软件,就像“添加/删除"程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆