Aaron Stebner's WebLog

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

What to do if Media Center Extender for Xbox 360 setup crashes

What to do if Media Center Extender for Xbox 360 setup crashes

  • Comments 64

I have heard from a couple of customers who have tried to download and install the software to enable using Xbox 360 as an Extender for Media Center 2005 with Update Rollup 2, but have encountered a crash dialog from the DvcSetup.exe process at the beginning of setup.  I finally located a computer in our test lab that reproduced this issue and found a possible root cause and workaround in case anyone else runs into this.

Problem description

The Xbox 360 PC setup package crashes almost immediately after it is launched.  The error dialog indicates that DvcSetup.exe crashed, and it may ask if you want to debug the problem.

Workaround

I was able to use the following steps to clean up the machine in our test lab that exhibited this problem:

  1. Go to Add/Remove Programs and remove the .NET Framework 1.1 (and any .NET Framework 1.1 language packs if you have any installed)
  2. Download the .NET Framework cleanup tool, run it and choose to clean up the .NET Framework 1.1
  3. Reinstall the .NET Framework 1.1 
  4. Reinstall the .NET Framework 1.1 SP1

Details about the root cause if you are interested

On the machine I investigated, the .NET Framework 1.1 had been installed, but none of the files were correctly installed in the global assembly cache (GAC).  I found that there were folders created for each assembly (for example - %windir%\assembly\GAC\Accessibility\1.0.5000.0__b03f5f7f11d50a3a), but the folders did not actually contain the assembly.  I also saw the following entries in the verbose MSI log file for the .NET Framework 1.1 on this machine:

MSI (s) (C8:D8): skipping installation of assembly component: {45B8FB98-2A6C-11D6-A551-0090278A1BB8} since the assembly already exists

There is a bug in the version of Fusion that shipped with the .NET Framework 1.0 and 1.1 where it would skip installing an assembly to the GAC if the folder already existed, even if the file was not in the folder.  Windows Installer uses Fusion to try to install assemblies into the GAC, and as the log file shows, each of the .NET Framework 1.1 assemblies was skipped because Fusion thought they already existed.

So far, I have only seen one scenario where empty folders exist in the GAC and cause this type of behavior for .NET Framework 1.1 setup.  If you have an operating system installed and have the .NET Framework 1.1 installed, and then you peform a clean install of your operating system to the same partition and choose not to format the partition, OS setup will create a new Windows directory for you.  When it does so, OS setup copies your Windows directory to a backup location and creates the same set of folders that previously existed in your Windows directory.  However, OS setup will not mirror any of the files because it assumes that you will want the copies of the files that are a part of the OS setup that you are currently installing.

This type of OS install leaves your computer in a state where the .NET Framework 1.1 assembly folders exist in the GAC, but they are all empty, and then due to the bug in Fusion that I previously installed, reinstalling the .NET Framework 1.1 does not fix the problem.  The workaround I described above will work correctly because the .NET Framework cleanup tool will remove these empty directories, which will allow a reinstall of the .NET Framework 1.1 to correctly install the assemblies to the GAC.

 

  • I am a new XBox agent, and this article helped me to solve my problem at hand.

    Thank you!
  • I have my cable modem hooked up to my  netgear wireless router.  My pc is connected to the router through an ethernet cable.  I have a linksys game adapter connected to my xbox 360.  Xbox live works, but I am unable to get media connect to find my xbox, or my xbox to find my pc.  I have gone through http://forums.xbox.com/1076872/ShowPost.aspx and now I have gone through the steps on this page.  I have uninstalled and reinstalled.  I have no firewall besides the windows firewall.  I have that enabling exceptions. What else can I do?
  • Hey all, so I grabbed an XBox360 for the exclusive purpose of using it as an HDTV Extender.  I have an HP MCE 2004 box that has been upgraded to 2005 through the HP $9.95 mail in upgrade program.  HDTV works as do all of the rollups so I'm pretty sure it's a 2005 box. :)

    I have also used this as "host" to an XBox classic and a LinkSys Extender with no problems.

    I have followed these instructions to the letter, no less than 5 times and I still get "Application has generated an exception that could not be handled.  Process id=0x10f0 (4336), Thread id=0x133c (4924).

    Am I having a problem due to the MCE 2004 to 2005 upgrade? The system info in the control panel states this as a 2002 MCE box.  Help! :)
  • Hi Dmathews - Can you please use the steps listed at http://blogs.msdn.com/astebner/articles/504899.aspx to gather a full list of items in the GAC on your system and send them to me using http://blogs.msdn.com/astebner/contact.aspx so I can try to take a look and see if I can figure out what is going on here?
  • Aaron, you are a wizard.  I did find a single left over program from my XBox classic Media Extender file.  Thank you so much for spending the time on this so that I did not have to reinstall Windows MCE 2004, then upgrade, then patch, etc, etc, etc!

    My solution, from you is below:

    Can you please try to uninstall any other Media Center Extender software
    you have on your system and then use a cmd prompt to search and see if
    the below 4 files are still present on your system.  If they are, can you
    manually delete them and then try to install the Xbox 360 PC setup
    package again and see if it works for you?

    c:\windows\assembly\GAC\MCRDShr\6.0.3000.0__31bf3856ad364e35\mcrdshr.dll
    c:\windows\assembly\GAC\MCXM\6.0.3000.0__31bf3856ad364e35\mcxm.exe
    c:\windows\assembly\GAC\MCXNetTW\6.0.3000.0__31bf3856ad364e35\mcxnettw.e
    xe
    c:\windows\assembly\GAC\Update\6.0.3000.0__31bf3856ad364e35\update.exe
  • I have just finished re installing update 2 and have added an xbox360 as an extender, which all works fine, apart from teh fact that I cannot playback recorded tv to the extender it says that it is not allowed due to copy protection??  it will play music, pictures and even live tv, just not recorded
  • Hi Matt - I haven't heard of this issue yet.  Can you please answer the following questions so that we can try to narrow this down:

    1.  What is the exact text of the error message you receive when trying to playback the content?

    2.  Does the same content play correctly on your Media Center PC?

    3.  Is the recorded TV content stored on a local drive on your Media Center PC or somewhere else?
  • I did everything listed above and have SP2 installed. The problem I am having is with the installation program. It gets through the updatinf Windows Media Center 2005 screen but stops when it gets to installing Windows Media Extender software. No matter what I do, I cannot get past this point of the installation.
  • Hi B Rader - I don't know the exact log files produced by Media Center Extender setup.  Can you please search in your %temp% directory and see if there are any log files that sound like they are related to this setup package and then take a look to see whether there are any errors listed in there?  I will also try to track down the exact list of log files that this setup produces.
  • Hi.  I am also having a problem connecting to my 360.  I have followed the instructions and downloaded the exe from xbox.com/pcsetup but when I run the exe it installs Media Connect only, not the full install.  Any help appreciated.
  • Hi Ian - I'm not sure I understand your scenario.  Are you running the Xbox 360 PC setup package and finding that it does not install anything except Windows Media Connect?  There is logic in the PC setup package to skip components that it detects are already installed on your OS, so that might explain this scenario on your system.  Can you check the log files listed at http://blogs.msdn.com/astebner/archive/2006/03/21/556297.aspx and see if they give any indication of the problem here?
  • I ran the applicaiton ".NET Framework cleanup tool" and now am receiving an error with I try to use Windows Update. The error is a Microsoft C++ Runtime Library box and is as follows:

    Runtime Error!

    Program C:\windows\system32\msiexec.exe
    THe application has requested the runtime to terminate in an unusual way. Please contact the application support team for more information.
  • Hi people,

    I am fully frustrated here and a friend suggested me visite this site, so here I am.  I am trying to connect my 360 to my pc through Windows Media Center Extender.  I have downloaded all the files, installed them, all went just fine.  Now, when the software prompts to enter the code (8 digital, the pc tries to connect to the 360.  Then I see my tv goes black and I see the Windows Media appear on my tv with the Windows logo.  Under that I see "contacting".  Then I see on my pc that it is trying to create an account ("creating account") and 1 second after that I see an "setup erro", what the error is I don't know cause it isn't mentioned.  The account under which I logon has administrator rights.  I have disabled my firewall, I have set all ports open in my router.  All pc's and the 360 are connected together via the router (not wireless).  Who can help me with this ??
  • The entries in my logfiles indicated it went wrong cause it couldn't open the server service and the redirector (?).  Does this mean that I have to install Client for Microsoft networks protocol ???
  • Hi John - I have heard of this error in the past but have not been able to find a definitive workaround.  Can you please try the following steps and see if they help:

    1.  Click on the Start menu, choose Run and type cmd
    2.  Type msiexec /unregister
    3.  Type msiexec /regserver
    4.  Restart your computer
    5.  Try again to install the .NET Framework 1.1

    If this does not work, can you please try to repair/reinstall Windows XP SP2 and see if that helps?  Also can you let me know the version numbers of all files named %windir%\system32\msi*.* on your system?

    Hi Patrick - I have not heard of that error before so I am not sure what to suggest to try to fix this.  You may want to try to search the Xbox 360 PC setup site for some troubleshooting suggestions.  The links http://www.xbox.com/en-US/pcsetup and http://www.microsoft.com/windowsxp/mediacenter/extender/setup/default.mspx might be helpful.  I'm sorry I'm not able to be more helpful here.
Page 2 of 5 (64 items) 12345
Leave a Comment
  • Please add 3 and 6 and type the answer here:
  • Post