pmiauton
2009-04-01 16:29:01 UTC
Hi,
I've been trying enhance the device experience for one of our audio devices
and created a metadata file
(5a280d3b-5d4c-4864-a2e6-c74af26061b5.devicemetadata-ms) containing the
minimum set of files (PackageInfo.xml, DeviceInfo.xml, WindowsInfo.xml and
the device icon file). I meticulously followed the toaster example in the DDK
but, unfortunately, when I copy the metadata file to the device metadata
store on Windows 7, I don't see any difference. There's no errors reported in
the event log.
1. How can I debug that ?
2. Is it possible that I'm not using the correct hardware ID to identify my
device? How do I make sure I'm using the correct one?
Thanks.
Patrick
<?xml version="1.0" encoding ="UTF-8" standalone="yes"?>
<PackageInfo
xmlns="http://schemas.microsoft.com/windows/DeviceMetadata/PackageInfo/2007/11/">
<MetadataKey>
<HardwareIDList>
<HardwareID>DOID:1394\DIGIDESIGN&Mbox_2_Pro</HardwareID>
</HardwareIDList>
<Locale default="true">en-US</Locale>
<LastModifiedDate>2008-03-24T11:46: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>
DeviceInfo.xml in the DeviceInformation folder:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DeviceInfo
xmls="http://schemas.microsoft.com/windows/DeviceMetadata/DeviceInfo/2007/11/">
<DeviceCategoryList>
<DeviceCategory>Audio</DeviceCategory>
</DeviceCategoryList>
<ModelName>Digidesign Mbox 2 Pro</ModelName>
<DeviceDescription1>Bla bla bla bla bla bla...</DeviceDescription1>
<DeviceDescription2>Bla bla bla bla bla...</DeviceDescription2>
<Manufacturer>Digidesign</Manufacturer>
<DeviceIconFile>device.ico</DeviceIconFile>
</DeviceInfo>
WindowsInfo.xml in the WindowsInformation folder:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<WindowsInfo
xmlns="http://schemas.microsoft.com/windows/DeviceMetadata/WindowsInfo/2007/11/">
<ShowDeviceInDisconnectedState>true</ShowDeviceInDisconnectedState>
<LaunchDXPOnDeviceConnect>false</LaunchDXPOnDeviceConnect>
<LaunchDXPFromExplorer>fasle</LaunchDXPFromExplorer>
</WindowsInfo>
I've been trying enhance the device experience for one of our audio devices
and created a metadata file
(5a280d3b-5d4c-4864-a2e6-c74af26061b5.devicemetadata-ms) containing the
minimum set of files (PackageInfo.xml, DeviceInfo.xml, WindowsInfo.xml and
the device icon file). I meticulously followed the toaster example in the DDK
but, unfortunately, when I copy the metadata file to the device metadata
store on Windows 7, I don't see any difference. There's no errors reported in
the event log.
1. How can I debug that ?
2. Is it possible that I'm not using the correct hardware ID to identify my
device? How do I make sure I'm using the correct one?
Thanks.
Patrick
<?xml version="1.0" encoding ="UTF-8" standalone="yes"?>
<PackageInfo
xmlns="http://schemas.microsoft.com/windows/DeviceMetadata/PackageInfo/2007/11/">
<MetadataKey>
<HardwareIDList>
<HardwareID>DOID:1394\DIGIDESIGN&Mbox_2_Pro</HardwareID>
</HardwareIDList>
<Locale default="true">en-US</Locale>
<LastModifiedDate>2008-03-24T11:46: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>
DeviceInfo.xml in the DeviceInformation folder:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DeviceInfo
xmls="http://schemas.microsoft.com/windows/DeviceMetadata/DeviceInfo/2007/11/">
<DeviceCategoryList>
<DeviceCategory>Audio</DeviceCategory>
</DeviceCategoryList>
<ModelName>Digidesign Mbox 2 Pro</ModelName>
<DeviceDescription1>Bla bla bla bla bla bla...</DeviceDescription1>
<DeviceDescription2>Bla bla bla bla bla...</DeviceDescription2>
<Manufacturer>Digidesign</Manufacturer>
<DeviceIconFile>device.ico</DeviceIconFile>
</DeviceInfo>
WindowsInfo.xml in the WindowsInformation folder:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<WindowsInfo
xmlns="http://schemas.microsoft.com/windows/DeviceMetadata/WindowsInfo/2007/11/">
<ShowDeviceInDisconnectedState>true</ShowDeviceInDisconnectedState>
<LaunchDXPOnDeviceConnect>false</LaunchDXPOnDeviceConnect>
<LaunchDXPFromExplorer>fasle</LaunchDXPFromExplorer>
</WindowsInfo>