Manually Adding Device Metadata Packages

Device metadata packages can be installed on a computer in the following ways:

  • An OEM can use the Windows 7 OEM Preinstall Kit (OPK) to update an offline image of the operating system. By using the OPK, the OEM copies the device metadata package to the image's device metadata store.

  • Developers can copy their device metadata packages to the device metadata store to test and debug the installation of a package. For more information, see Debugging Device Metadata Packages.

    Note  We do not recommend that end-users copy device metadata packages to the device metadata store. Instead, end-users should install device metadata packages by using either the Windows Metadata and Internet Services (WMIS) or an installation application that is provided by the OEM.

The following path shows the location of the device metadata store:

%PROGRAMDATA%\Microsoft\Windows\DeviceMetadataStore

To copy device metadata packages to the device metadata store, complete the following steps:

  1. If a subdirectory does not exist in the device metadata store for the locale of your device metadata package, you must create the subdirectory by using the name of the target locale.

    For example, if the locale of the package is EN-US, you must first create the following directory if it does not currently exist:

    %PROGRAMDATA%\Microsoft\Windows\DeviceMetadataStore\EN-US
    
  2. Copy your device metadata package to the appropriate <locale> subdirectory of the device metadata store.

After the device metadata package is installed in the device metadata store, the Device Metadata Retrieval Client (DMRC) accesses the device metadata package and presents the device information to the Devices and Printers user interface.