hsiu
2009-04-22 05:58:02 UTC
Hi,
I've been trying make a metadata package with cusomized icon for our network
devices and need some help.
After copying the created metadata package to the device metadata store on
Windows 7, I got a error message from the Event Viewer.
The error code is 0x50000022.
Refer to the document called "Device Metadata Package Pipeline",
PackageInfo.xml is not well-formed (cannot be parsed).
Since I meticulously followed the document "How to Create a Device Metadata
Package for Devices and Printers" and just add two Hardware ID in the toaster
sample which is in WDK Beta, I had no idea about the error message.
The xml is as follows
Modified packageInf.xml refer to the toaster sample and
CreateDevMetadataPkg.docx:
<?xml version="1.0" encoding="utf-8"?>
<PackageInfo
xmlns="http://schemas.microsoft.com/windows/DeviceMetadata/PackageInfo/2007/11/">
<MetadataKey>
<HardwareIDList>
<HardwareID>DOID:USB\VID_xxxx&PID_yyyy</HardwareID>
<HardwareID>DOID:USB\VID_xxxx&PID_yyyy&REV_zzzz</HardwareID>
</HardwareIDList>
<Locale default="true">en-US</Locale>
<LastModifiedDate>2009-04-22T13:26:53.5108690Z</LastModifiedDate>
</MetadataKey>
<PackageStructure>
<Metadata
MetadataID="http://schemas.microsoft.com/windows/DeviceMetadata/PackageInfo/2007/11/">PackageInfo.xml</Metadata>
<Metadata
MetadataID="http://schemas.microsoft.com/windows/DeviceMetadata/DeviceInfo/2007/11/">DeviceInformation</Metadata>
<Metadata
MetadataID="http://schemas.microsoft.com/windows/DeviceMetadata/WindowsInfo/2007/11/">WindowsInformation</Metadata>
</PackageStructure>
</PackageInfo>
The DeviceInfo.xml, WindowsInfo.xml and a ICON file are the same as the
toaster sample from WDK Beta
How sould I do for the meatadata package? Is there anything wrong in the xml?
I've been trying make a metadata package with cusomized icon for our network
devices and need some help.
After copying the created metadata package to the device metadata store on
Windows 7, I got a error message from the Event Viewer.
The error code is 0x50000022.
Refer to the document called "Device Metadata Package Pipeline",
PackageInfo.xml is not well-formed (cannot be parsed).
Since I meticulously followed the document "How to Create a Device Metadata
Package for Devices and Printers" and just add two Hardware ID in the toaster
sample which is in WDK Beta, I had no idea about the error message.
The xml is as follows
Modified packageInf.xml refer to the toaster sample and
CreateDevMetadataPkg.docx:
<?xml version="1.0" encoding="utf-8"?>
<PackageInfo
xmlns="http://schemas.microsoft.com/windows/DeviceMetadata/PackageInfo/2007/11/">
<MetadataKey>
<HardwareIDList>
<HardwareID>DOID:USB\VID_xxxx&PID_yyyy</HardwareID>
<HardwareID>DOID:USB\VID_xxxx&PID_yyyy&REV_zzzz</HardwareID>
</HardwareIDList>
<Locale default="true">en-US</Locale>
<LastModifiedDate>2009-04-22T13:26:53.5108690Z</LastModifiedDate>
</MetadataKey>
<PackageStructure>
<Metadata
MetadataID="http://schemas.microsoft.com/windows/DeviceMetadata/PackageInfo/2007/11/">PackageInfo.xml</Metadata>
<Metadata
MetadataID="http://schemas.microsoft.com/windows/DeviceMetadata/DeviceInfo/2007/11/">DeviceInformation</Metadata>
<Metadata
MetadataID="http://schemas.microsoft.com/windows/DeviceMetadata/WindowsInfo/2007/11/">WindowsInformation</Metadata>
</PackageStructure>
</PackageInfo>
The DeviceInfo.xml, WindowsInfo.xml and a ICON file are the same as the
toaster sample from WDK Beta
How sould I do for the meatadata package? Is there anything wrong in the xml?