Installed 屬性

只有在每部電腦或目前使用者安裝產品時,才會設定 Installed 屬性。 如果未為不同的使用者安裝產品,則不會設定這個屬性。

Installed屬性可用於條件運算式,以判斷產品是針對每部電腦還是目前使用者安裝。 例如,屬性可以在順序資料表的條件資料行中使用,或區分第一個安裝和維護安裝。

若要判斷是否已為不同的使用者安裝產品,請檢查 ProductState 屬性。

ProductVersion屬性的值是字串格式的產品版本。

規格需求

需求
版本
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需求

另請參閱

屬性