The Media Center Sandbox

Resources and discussion for developing experiences in the Windows Media Center platform.
Welcome to The Media Center Sandbox Sign in | Join | Help
in Search

From Win7 down to Vista

Last post 02-24-2010, 1:52 PM by papirov. 3 replies.
Sort Posts: Previous Next
  •  02-23-2010, 7:03 PM 9563

    From Win7 down to Vista

    Hello all.  I have a (what I hope is a) simple question:

    Not knowing any better, I've downloaded the latest MCE SDK and have written a plugin for Windows7 Media Center (.NET & MCML).  All seems great, except that my users keep asking for a Vista version.

    Is there an easy way for me to convert this plugin to Vista-specific one?  I've tried changing the setup.wxs to remove the restriction of not installing on Vista computers (that was easy). 
    Afterwards, I saw that even though the source was compiled against version neutral MediaCenter.DLL's, still required 6.1 version of them at runtime, I've compiled a special version of the plugin for Vista specific DLL's.
    This got me a little futher, but now my plugin is returning this error when I'm attempting to run it under Vista:

    HostLoadException: Error while attempting to load ''.

    Is MCML syntax different in Win7 and Vista?  Anything I can /easily/ do without going thru and rewriting all of MCML again?


    Thanks,
    Igor Papirov
  •  02-24-2010, 1:51 AM 9564 in reply to 9563

    Re: From Win7 down to Vista

    Check your MCML isn't referencing the 2008 schema (Vista is 2006 schema). Also, check you're not using any new MCML that wasn't available in Vista.

    Finally, try attaching a debugger to see if that throws a specific error that you're not seeing when loading normally.

    Cheers,
    Andrew
  •  02-24-2010, 1:25 PM 9568 in reply to 9564

    Re: From Win7 down to Vista

    Andy,

    Thanks for the reply.  I was indeed referencing 2008 instead of 2006 in my XML schema.  That being fixed, the problem unfortunately did not go away.  Error message is the same.  Where can I find a list as to which commands are new in MCML Win7?
  •  02-24-2010, 1:52 PM 9569 in reply to 9568

    Re: From Win7 down to Vista

    Found it!  It was AnimationsEnabled attribute on the Repeater element.  MSDN help describes it as a Vista & Win7 attribute, but it was causing the page to not display.
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems