Discussion:
Device Stage not showing up for Audio device
(too old to reply)
pmiauton
2009-04-01 16:29:01 UTC
Permalink
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>
Vidager
2009-04-16 18:32:07 UTC
Permalink
Hi Patrick,

Sorry for the delay in response. I haven't gotten on this newsgroup in a
while.

Please check out the Windows Device Experience page.
http://www.microsoft.com/whdc/device/DeviceExperience/default.mspx. Here you
will find documents regarding the Devices and Printers folder and metadata
(what you're working on). There's a document called "Device Metadata Package
Pipeline" which gives some tips on how to debug issues. One thing I will
mention, is it's much easier to use a schema validator first than to jump in
and debug. Use any schema validation tool to check your files against the
schemas available on the same link above.

One common problem we've seen which you might double check is improper
packing of the cab file. Please be sure to follow the instructions exactly
in the "How to Create a Device Metadata Package for Devices and Printers
Folder".

If you still have problems please let me know. We can drill down at that
point.

Thanks,
Ben [MSFT]
Post by pmiauton
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>
<?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>
<?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>
Vladimir
2009-05-05 00:23:01 UTC
Permalink
I have a similar problem. In the Event log there is following error:

Failed to parse DeviceInfo.xml (Package:
c:\users\testuser\appdata\local\microsoft\device
metadata\dmrccache\en-us\3170a7fa-9575-4a1c-8b57-a2147466319a\DeviceInformation\DeviceInfo.xml Error Code = 0x2faf096, Win32 Error Code = 0x1)

the DeviceInfo.xml is:

<?xml version="1.0" encoding="UTF-8" ?>
- <DeviceInfo
xmls="http://schemas.microsoft.com/windows/DeviceMetadata/DeviceInfo/2007/11/">
- <DeviceCategoryList>
<DeviceCategory>PrintFax.Printer</DeviceCategory>
</DeviceCategoryList>
<ModelName>DYMO LabelWriter 450 Turbo</ModelName>
<DeviceDescription1>LabelWriter 450 Turbo description
1</DeviceDescription1>
<DeviceDescription2>LabelWriter 450 Turbo description
2</DeviceDescription2>
<Manufacturer>DYMO</Manufacturer>
<DeviceIconFile>MainIcon.ico</DeviceIconFile>
</DeviceInfo>


any suggestions?

Thanks,
Vladimir
Vidager
2009-05-05 17:40:04 UTC
Permalink
Vladimir,

It looks like you have some dashes '-' between some of your elements. Like
your XML tag and DeviceInfo tag. Or is that just a copy paste result from a
browser? Double check that. If that's not the issue, please use a schema
validator against your XML using the schemas provided in the "How to create
matadata ..." document on
http://www.microsoft.com/whdc/device/DeviceExperience/default.mspx.

If you still have a problem after that, we can have you send us the package
to take a look.

Thanks,
Ben [MSFT]
Post by Vladimir
c:\users\testuser\appdata\local\microsoft\device
metadata\dmrccache\en-us\3170a7fa-9575-4a1c-8b57-a2147466319a\DeviceInformation\DeviceInfo.xml Error Code = 0x2faf096, Win32 Error Code = 0x1)
<?xml version="1.0" encoding="UTF-8" ?>
- <DeviceInfo
xmls="http://schemas.microsoft.com/windows/DeviceMetadata/DeviceInfo/2007/11/">
- <DeviceCategoryList>
<DeviceCategory>PrintFax.Printer</DeviceCategory>
</DeviceCategoryList>
<ModelName>DYMO LabelWriter 450 Turbo</ModelName>
<DeviceDescription1>LabelWriter 450 Turbo description
1</DeviceDescription1>
<DeviceDescription2>LabelWriter 450 Turbo description
2</DeviceDescription2>
<Manufacturer>DYMO</Manufacturer>
<DeviceIconFile>MainIcon.ico</DeviceIconFile>
</DeviceInfo>
any suggestions?
Thanks,
Vladimir
Vladimir
2009-05-05 17:48:07 UTC
Permalink
Yes, the example in the message was pasted from IE but the original file does
not have dashes. Anyway, after using a Toster sample from WDK I was able to
install my package. Thanks, Vladimir.
Post by Vidager
Vladimir,
It looks like you have some dashes '-' between some of your elements. Like
your XML tag and DeviceInfo tag. Or is that just a copy paste result from a
browser? Double check that. If that's not the issue, please use a schema
validator against your XML using the schemas provided in the "How to create
matadata ..." document on
http://www.microsoft.com/whdc/device/DeviceExperience/default.mspx.
If you still have a problem after that, we can have you send us the package
to take a look.
Thanks,
Ben [MSFT]
Post by Vladimir
c:\users\testuser\appdata\local\microsoft\device
metadata\dmrccache\en-us\3170a7fa-9575-4a1c-8b57-a2147466319a\DeviceInformation\DeviceInfo.xml Error Code = 0x2faf096, Win32 Error Code = 0x1)
<?xml version="1.0" encoding="UTF-8" ?>
- <DeviceInfo
xmls="http://schemas.microsoft.com/windows/DeviceMetadata/DeviceInfo/2007/11/">
- <DeviceCategoryList>
<DeviceCategory>PrintFax.Printer</DeviceCategory>
</DeviceCategoryList>
<ModelName>DYMO LabelWriter 450 Turbo</ModelName>
<DeviceDescription1>LabelWriter 450 Turbo description
1</DeviceDescription1>
<DeviceDescription2>LabelWriter 450 Turbo description
2</DeviceDescription2>
<Manufacturer>DYMO</Manufacturer>
<DeviceIconFile>MainIcon.ico</DeviceIconFile>
</DeviceInfo>
any suggestions?
Thanks,
Vladimir
Mateus Alves
2009-06-30 13:25:02 UTC
Permalink
the erro is:

<LaunchDXPFromExplorer>fasle</LaunchDXPFromExplorer>
the correct:
<LaunchDXPFromExplorer>false</LaunchDXPFromExplorer>
Post by pmiauton
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>
<?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>
<?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>
Continue reading on narkive:
Loading...