在Windows上扫描已安装的软件 [英] Scan installed software on Windows
本文介绍了在Windows上扫描已安装的软件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么方法可以比使用 WMI ?
Is there any way of scanning and querying installed software on Windows faster than using WMI?
推荐答案
如果您具有足够的权限,则可以扫描本地注册表.相关条目应为:
If you have enough permissions, you may scan the local registry. Pertinent entries should be:
- HKEY_CURRENT_USER \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall
- HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall
- HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ Microsoft \ Windows \ CurrentVersion \ Uninstall
一个例子如下:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7BF61FA9-BDFB-4563-98AD-FCB0DA28CCC7}]
"Comments"=""
"DisplayVersion"="8.0.1557"
"InstallDate"="20131119"
"Publisher"="Microsoft Corporation"
"DisplayName"="IIS 8.0 Express"
遍历每个Child,然后提取所需的信息(例如,DisplayName
.)
Iterate through each Child, and extract the desired information (DisplayName
, for example.)
这篇关于在Windows上扫描已安装的软件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文