MsiShortcutProperty 表
MsiShortcutProperty 表允许窗口安装程序设置也 Windows Shell 对象的快捷方式的属性。 从 Windows Vista 和 Windows Server 2008 开始,Windows Shell 为 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 表中指定的快捷方式属性,则安装会继续。
验证