补丁对象Vbscript

补丁对象Vbscript,vbscript,Vbscript,我希望使用VBscript()创建修补程序对象,并能够从未安装的*.msp文件中读取属性 当我这么做的时候 Dim objPatch Set objPatch = Wscript.CreateObject ("WindowsInstaller.Installer.Patch") 我得到以下信息: >> Error: Could not locate automation class named "WindowsInstaller.Installer.Patch".

我希望使用VBscript()创建修补程序对象,并能够从未安装的
*.msp
文件中读取属性

当我这么做的时候

Dim objPatch
Set objPatch = Wscript.CreateObject ("WindowsInstaller.Installer.Patch")
我得到以下信息:

>> Error:   Could not locate automation class named "WindowsInstaller.Installer.Patch".