Installer.ProductInfo 屬性

ProductInfo屬性是唯讀屬性,會傳回已安裝或已發佈產品之指定屬性的值。

這個屬性是唯讀的。

Syntax

propVal = Installer.ProductInfo

屬性值

備註

ProductInfo屬性 (「LocalPackage」) 不一定會傳回快取套件的路徑。 不應該從 LocalPackage 叫用維護模式安裝。 快取的封裝僅供內部使用。

規格需求

需求
版本
Windows Server 2012、Windows 8、Windows Server 2008 R2 或 Windows 7 上的 Windows Installer 5.0。 Windows Server 2008 或 Windows Vista 上的 Windows Installer 4.0 或 Windows Installer 4.5。 Windows Server 2003 或 Windows XP 上的 Windows Installer 3.0 或更新版本。
標頭
Oemupgex.h
DLL
Msi.dll
IID
IID_IInstaller定義為 000C1090-0000-0000-C000-000000000046

另請參閱

MsiGetProductInfo

MsiGetUserInfo

Windows Installer 2.0 和更早版本中不支援