N
news.microsoft.com
[This is really a WSH question as much as an MSI question, which is why I'm
cross-posting.]
I have a number of VBscripts which are organised under an WSF file and run
by the Windows Scripting Host. The VBScript use the Windows Installer COM
API.
I'd like to add a reference to the "WindowsInstaller.Installer" object so
that I can use the constants defined in the MSI TypeLib. I've done this for
other object models before, but not MSI.
Anyway, when I attempt to add a reference either using the ProgID or GUID
<reference id="Microsoft Windows Installer Object Library"
object="WindowsInstaller.Installer"/>
OR:
<reference id="Microsoft Windows Installer Object Library 1.0"
guid="{000C1092-0000-0000-C000-000000000046}"/>
I get this error when I call the script using CScript.exe:
MSILibrary.wsf(0, 1) Win
Cannot add reference : {000C1092-0000-0000-C000-000000000046}
I'm on Windows XP. Does anybody have any ideas?
Alastair
cross-posting.]
I have a number of VBscripts which are organised under an WSF file and run
by the Windows Scripting Host. The VBScript use the Windows Installer COM
API.
I'd like to add a reference to the "WindowsInstaller.Installer" object so
that I can use the constants defined in the MSI TypeLib. I've done this for
other object models before, but not MSI.
Anyway, when I attempt to add a reference either using the ProgID or GUID
<reference id="Microsoft Windows Installer Object Library"
object="WindowsInstaller.Installer"/>
OR:
<reference id="Microsoft Windows Installer Object Library 1.0"
guid="{000C1092-0000-0000-C000-000000000046}"/>
I get this error when I call the script using CScript.exe:
MSILibrary.wsf(0, 1) Win
Cannot add reference : {000C1092-0000-0000-C000-000000000046}
I'm on Windows XP. Does anybody have any ideas?
Alastair