Scan installed software on Windows

﹥>﹥吖頭↗ 提交于 2019-12-06 06:46:18

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

An example follows:

[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"

Iterate through each Child, and extract the desired information (DisplayName, for example.)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!