PackageInfo XML 文档

Important

设备元数据已弃用,并将在 Windows 的将来版本中删除。 有关替代功能的信息,请参阅驱动程序包容器元数据

PackageInfo XML 文档包含指定设备元数据包内容的数据。 作系统使用此数据来安装包并引用其内容。

设备元数据系统的组件(如 Windows 元数据和 Internet 服务 (WMIS)和设备 元数据检索客户端 (DMRC)使用 PackageInfo XML 文档为设备和打印机用户界面提供设备的当前和最合适的信息,例如:

  • 设备的硬件或型号 ID。 This information is specified by the HardwareID and ModelID XML elements within the PackageInfo XML document.

  • 设备元数据包的本地化版本与计算机的区域设置相匹配。 This information is specified by the Locale XML element within the PackageInfo XML document.

  • 与计算机的区域设置匹配的设备元数据包的上次修改数据。 This information is specified by the LastModifiedDate XML element within the PackageInfo XML document.

每个设备元数据包必须仅包含一个 PackageInfo XML 文档。 The name of the document must be PackageInfo.xml.

PackageInfo XML 文档中的数据基于 PackageInfo XML 架构进行格式化。