Installer.ComponentsEx 屬性

此屬性會傳回列出已安裝元件的 RecordList 物件。 此屬性會呼叫 MsiEnumComponentsEx

Windows Installer 4.5 或更早版本不支援。 此屬性從 Windows Installer 5.0 開始可供使用。

這個屬性是唯讀的。

Syntax

propVal = Installer.ComponentsEx

屬性值

規格需求

需求
版本
Windows Server 2012、Windows 8、Windows Server 2008 R2 或 Windows 7 上的 Windows Installer 5.0
DLL
Msi.dll
IID
IID_IInstaller定義為 000C1090-0000-0000-C000-000000000046

另請參閱

MsiEnumComponentsEx