Windows 7 Device Stage Coding Help

Discussion in 'Programming and Scripting' started by THHT, Nov 7, 2009.

  1. THHT

    THHT New Member

    Joined:
    Nov 7, 2009
    Messages:
    2
    Likes Received:
    0
    I am trying to create a Device Stage for my cell phone that is not supported. I only want basic features but would love free space and battery information if possible. I have followed tutorials and everything I can find from Microsoft as well as an old tutorial I found online but I am unable to get Windows 7 to recognize the code applies to the device. I am pasting my PackageInfo.xml as I am trying to just get a custom icon and name first before doing the entire Device Stage.

    I have Windows 7 Ultimate 32-bit and it is in test mode. The phone is a Blackberry Storm2. If anyone can help, I would be forever grateful.

    Also, once I package it and move it into the en-us folder, do I need to restart or perform any special tasks? Everything I read has said that after copying the file, I just plugin the device and it will read all the information but it never does. I also have changed the GUID in the CMD window each time but not in the packageinfo.xml as nothing I have read said to do so.

    Code:
    <?xml version=\"1.0\" encoding=\"utf-8\" ?>
    <PackageInfo xmlns=\"[URL]http://schemas.microsoft.com/windows/DeviceMetadata/PackageInfo/2007/11/[/URL]\">
     <MetadataKey>
      <HardwareIDList>
      <HardwareID>DOID:USB\VID_0FCA&amp;PID_8007&amp;REV_0210&amp;MI_01</HardwareID>
            <HardwareID>DOID:USB\VID_0FCA&amp;PID_8007&amp;MI_01</HardwareID>
      </HardwareIDList>
      <Locale default=\"false\">en-US</Locale>
      <LastModifiedDate>2010-10-28T13:37:00z</LastModifiedDate>
     </MetadataKey>
     <PackageStructure>
      <Metadata MetadataID=\"[URL]http://schemas.microsoft.com/windows/DeviceMetadata/PackageInfo/2007/11/\">PackageInfo.xml</Metadata[/URL]>
      <Metadata MetadataID=\"[URL]http://schemas.microsoft.com/windows/DeviceMetadata/DeviceInfo/2007/11/\">DeviceInformation</Metadata[/URL]>
      <Metadata MetadataID=\"[URL]http://schemas.microsoft.com/windows/DeviceMetadata/WindowsInfo/2007/11/\">WindowsInformation</Metadata[/URL]>
      <Metadata MetadataID=\"[URL]http://schemas.microsoft.com/windows/DeviceMetadata/DeviceStage/2008/1/\">DeviceStage</Metadata[/URL]>
     </PackageStructure>
     <Relationships>
      <ExperienceID>9056dda8-3dc4-40c1-a488-d10f7d1c6052</ExperienceID>
     </Relationships>
    </PackageInfo>
     

Share This Page

Loading...