Installer::ProductInfoFromScript Property

Windows Installer

Installer::ProductInfoFromScript Property

The ProductInfoFromScript property of the Installer object returns the value of the specified attribute that is stored in an advertise script.

Syntax

Script
Installer.ProductInfoFromScript

Remarks

The ProductInfoFromScript property uses the MsiGetProductInfoFromScript function.

Examples

The following sample script demonstrates the use of the ProductInfoFromScript property .

Dim installer
Set installer = CreateObject("WindowsInstaller.Installer")

' 
' Create an advertise script for Orca
'

installer.CreateAdvertiseScript "\\products\public\orca\orca.msi", "c:\scratch\orca.aas"

' 
' Output ProductName Information From Script
'

MsgBox  installer.ProductInfoFromScript("c:\scratch\orca.aas", 3)

Requirements

VersionWindows Installer 5.0 on Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer 4.5 on Windows Server 2003 and Windows XP
DLLMsi.dll
IIDIID_IInstaller is defined as 000C1090-0000-0000-C000-000000000046

See Also

Installer

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.