Find MSXML version from registry

倖福魔咒の 提交于 2019-12-05 03:09:01
Anarah

All of the MSXML versions installed on your machine will be in the following registry GUID:

HKEY_CLASSES_ROOT\CLSID\{2933BF90-7B36-11D2-B20E-00C04F983E60}\VersionList.  

If you are looking for a specific version, say 3.0, you would check that Name = 3.0.

Getting you all versions installed via Powershell:

    New-PSDrive -PSProvider registry -Root HKEY_CLASSES_ROOT -Name HKCR
get-item "HKCR:\CLSID\{2933BF90-7B36-11D2-B20E-00C04F983E60}\VersionList"

First line gets you to have the HKEY_Classes_Root as a drive in powershell. Second line gets you the versions installed.

Output similar to:

    Hive: HKEY_CLASSES_ROOT\CLSID\{2933BF90-7B36-11D2-B20E-00C04F983E60}

Name                           Property
----                           --------
VersionList                    6.0 : C:\Windows\System32\msxml6.dll
                               3.0 : C:\Windows\System32\msxml3.dll
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!