I'm creating a desktop shortcut to launch my addin in Media Center through a WIX generated installer (based on the Z sample). For some reason on my test machine it doesn't work, it simply starts Media Center but gets stuck on a standard blue background screen with no ui elements. The same shortcut works fine on my development machine and the addin works fine on my test machine if launched from within Media Center. I've checked the entrypoint and application id guids in the shortcut and they are correct.
Any ideas?
ThanksMartin
Make sure you've got everything uninstalled from your dev machine before running the installer (i.e. check the GAC for remnants of your dev stuff).
Cheers,Andrew
My dev machine has a completely clean GAC when I build the installer and when I run it so I don't think there's anything left hanging about. My test machine has a completely new build of Vista Ultimate (which is re-imaged each time I use it using Acronis). I'm seeing this problem on the test machine when I create the desktop shortcut manually as well. Very odd!
I going to try using a different entry point guid and application id and create a new user on my test machine.
Nope, neither of these changes have helped. I'm stuck!
The only difference I can think of between my environments is .Net 3.5 SP1. I'll upgrade my test machine, but I can't see why that would make any difference.
Try enabling debugging in Media Center and see if you get as far as the launch method. If you do, check it completes successfully. If it does, have a look through your Resources file to make sure you've got all of the MCML files and images referenced.
So just to check - you enable debugging in the Media Center registry, click on the shortcut and you see the debug dialog appear in Media Center? You then attach the debugger and it works, but if you don't attach the debugger it doesn't work?