MsiShortcutProperty 數據表
MsiShortcutProperty 數據表可讓 Window Installer 設定也 Windows Shell 物件的快捷方式屬性。 從 Windows Vista 和 Windows Server 2008 開始,Windows Shell 會為殼層物件提供 IPropertyStore 介面,例如快捷方式。 Windows Server 2008 R2 或 Windows 7 上執行的 Windows Installer 5.0 套件可以在安裝快捷方式時設定這些屬性。
Windows Installer 4.5 或更早版本:不支援。 下表從 Windows Installer 5.0 開始提供。
MsiShortcutProperty 數據表具有下列數據行。
列 | 類型 | 鑰匙 | 空 |
---|---|---|---|
MsiShortcutProperty | 識別碼 | Y | N |
捷徑_ | 識別碼 | N | N |
PropertyKey | 格式化 | N | N |
PropVariantValue | 格式化 | N | N |
列
-
MsiShortcutProperty
-
MsiShortcutProperty 數據表這個數據列的唯一標識符。
-
Shortcut_
-
快速鍵 數據表中的索引鍵,可識別已設定屬性的快捷方式。
-
PropertyKey
-
字串值,提供 PROPERTYKEY 結構的資訊。 此欄位中的資訊必須參考向 Windows 屬性系統註冊的屬性正式名稱。 如需 Windows 屬性系統的詳細資訊,請參閱 屬性系統概觀。
-
PropVariantValue
-
字串值,提供 PROPVARIANT 結構的資訊。
您可以在快捷方式上設定多個屬性。 如果相同屬性在同一個快捷方式上設定多次,則會以未指定的順序設定值。
Windows Installer 只有在安裝或重新安裝快捷方式時,才能設定快捷方式屬性。 未重新安裝已安裝快捷方式的修補程式不會更新快捷方式的屬性。 修補程式可以藉由在修補程式套件中包含 快捷方式 數據表,然後重新安裝快捷方式,來更新屬性。
言論
Windows Installer 錯誤訊息 1946 傳回為警告,如果 Windows Installer 無法設定 MsiShortcutProperty 數據表中指定的快捷方式屬性,安裝會繼續。
驗證