Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

Adding custom tiles to built-in Windows Media Center Start menu strips

Adding custom tiles to built-in Windows Media Center Start menu strips

  • Comments 5

Last week, I posted some instructions explaining how to create custom strips on the Windows Media Center Start menu and populate the strips with tiles.  There is an additional way that you can customize the Start menu that I wanted to cover separately.

There is a slot on each of the built-in Windows Media Center Start menu strips that you can add a single tile to by registering an application and entry point for a specific category.  The new tile will appear just to the left of the default selected tile in each relevant Windows Media Center Start menu strip.

For example, the following sample XML file can be used with RegisterMceApp.exe to add a tile to the Windows Media Center Music strip:

<application title="Custom Music Application" id="{PUT_GUID1_HERE}">
  <entrypoint id="{PUT_GUID2_HERE}"
              addin="Microsoft.MediaCenter.Hosting.WebAddIn,Microsoft.MediaCenter"
              title="Custom Music Entry Point"
              description="Custom Music Entry Point Description"
              context="
http://play.mediacentersandbox.com/mcml/rc1/helix.mcml">
    <category category="Services\Audio"/>
  </entrypoint>
</application>

(note that you will need to use a tool such as guidgen.exe or a website such as this to replace the values of PUT_GUID1_HERE and PUT_GUID2_HERE in this example)

Registering the above XML file on a Windows Vista system and launching Windows Media Center will show the following in the Start menu:

Windows Media Center Start menu with custom music tile added

The following table lists the categories that you can register an entry point for and what Start menu strip they will appear in within Windows Media Center:

Category
Start menu strip
Services\Audio Music
Services\Movies TV + Movies*
Services\Pictures Pictures + Videos
Services\TV TV + Movies*

The TV + Movies strip is a special case because there are 2 distinct categories but only a single strip for the tile to appear in.  If you register an entry point in the TV category, it takes precedence over any entry point registered in the Movies category and will appear in the TV + Movies strip on the Start menu.  If you only have an entry point registered in the Movies category, then it will appear in the TV + Movies strip on the Start menu.

 

Page 1 of 1 (5 items)
Leave a Comment
  • Please add 1 and 6 and type the answer here:
  • Post