ProductID 屬性

成功驗證之後, ProductID 屬性會設定為完整的 ProductID

這個值是由 UI 顯示,並由 RegisterProduct 巨集指令使用。

在驗證成功之後,此屬性是由 ValidateProductID 巨集指令ValidateProductID ControlEvent所設定。

請注意,隨附于 SDK 的特定範例使用者介面,因為Uisample.msi需要 ProductID的值。 如果您使用此 UI,但不想使用ProductID來驗證產品識別碼,請將 Property資料表中的ProductID屬性設定為 「none」。

規格需求

需求
版本
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。 如需 Windows Installer 版本所需的最低 Windows Service Pack 相關資訊,請參閱 Windows Installer Run-Time需求

另請參閱

屬性