Aaron Stebner's WebLog

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

How to work around a possible XNA Game Studio or Windows Phone SDK install failure on Windows 8

How to work around a possible XNA Game Studio or Windows Phone SDK install failure on Windows 8

Rate This

If you try to install the Windows Phone SDK 7.1 or XNA Game Studio on Windows 8, you may encounter an XNA Game Studio setup failure.

How to work around this issue

If you run into this issue, here are steps that you can use to work around it:

  1. Download and install the latest version of the Games for Windows – LIVE Redistributable from http://www.xbox.com/en-US/LIVE/PC/DownloadClient
  2. If you are installing the Windows Phone SDK 7.1, re-run setup and choose to repair it.  This will re-run the previously failing XNA Game Studio installers and they should install correctly this time.
  3. If you are install a standalone XNA Game Studio product, re-run setup and it should install correctly this time.
  4. If you are planning to do Windows Phone development, you should also install the Windows Phone SDK 7.1.1 Update after installing the Windows Phone SDK 7.1.  This update fixes an issue that prevents the emulator in the Windows Phone SDK 7.1 from working correctly on Windows 8.

What to do if the workaround doesn’t help

If you have tried the above steps and setup still fails, you are running into a different issue than the one described above, and you will have to look at the setup log files to determine the root cause.

If you are installing the Windows Phone SDK 7.1, you can use the log collection tool to gather your setup log files. This log collection tool will create a file named %temp%\vslogs.cab.

If you are installing XNA Game Studio, you can find log files at the following locations:

  • XNA Game Studio 4.0 Refresh - %temp%\XNA Game Studio 4.0 Setup\Logs
  • XNA Game Studio 4.0 - %temp%\XNA Game Studio 4.0 Setup\Logs
  • XNA Game Studio 3.1 - %temp%\XNA Game Studio 3.1 Setup\Logs
  • XNA Game Studio 3.0 - %temp%\XNA Game Studio 3.0 Setup\Logs
  • XNA Game Studio 2.0 - %ProgramFiles%\Microsoft XNA\XNA Game Studio\v2.0\Setup\Logs

Once you have gathered your setup log files, please upload them to a file server of your choice (such as http://skydrive.live.com), and post a link to the log files in the App Hub Forums or in a comment on my blog to get additional support.

What is causing this failure behind the scenes

XNA Game Studio installs a version of the Games for Windows – LIVE Redistributable behind the scenes.  Some older versions of the Games for Windows – LIVE Redistributable attempt to install and use a file that is being installed by Windows 8, and the older versions of the redistributable are not compatible with the newer version of the file that is installed by Windows 8.  Newer versions of the Games for Windows – LIVE Redistributable are compatible with Windows 8, and if you pre-install the new redistributable before installing XNA Game Studio, setup will recognize that it is already there and use the new version instead of trying to install the old version.

The reason this issue also impacts the Windows Phone SDK 7.1 is that this SDK installs XNA Game Studio behind the scenes, which in turn installs the Games for Windows – LIVE Redistributable behind the scenes.

<update date="7/12/2012"> Added a note about installing the Windows Phone SDK 7.1.1 Update after installing the Windows Phone SDK 7.1 to fix an emulator issue on Windows 8. </update>

<update date="7/22/2012"> Fixed broken link to the Windows Phone SDK 7.1.1 Update </update>

<update date="10/30/2012"> Removed outdated reference to the Windows 8 consumer preview. This post applies equally to the final release of Windows 8. </update>

 

  • As usual MS has botched the job, I'll go back to good old C++ and .... managed code that MS is so proud of.

  • I fixed it.. But when i am trying to run the emulator it says windows is having compatible issues. And shows "get online help". when i click on it. it redirects to page " support.microsoft.com/.../2618032 " . where it displays "The page you are looking for may have a new location, or is no longer available". Any help??

  • After installing windows 7.1 I am trying to install windows 7.1.1 , bt it shows a message saying "

    KB2669191 does not apply, or is blocked by another condition on your computer.  Please see go.microsoft.com/fwlink for more details." how should i fix it?? please help me out.. its very urgent

  • Hi Praninder - The Windows Phone SDK 7.1.1 update is supposed to fix the emulator compatibility issue on Windows 8.  If you have that update installed and you're still seeing an emulator error, then I'm not sure what else to suggest.  In that case, you might want to try posting a question on the Windows Phone tools forum at social.msdn.microsoft.com/.../home to see if someone there has some other ideas for you to try.

  • Can you please find the answer and bring to my notice? if you dont have any problem??

  • Hi Praninder - On my Windows 8 computers, the way I solved the emulator compatibility issue that you describe was to install the Windows Phone SDK 7.1.1. Update.  You might want to try to uninstall and re-install that update to see if it helps on your computer.

  • I have tried to download the latest version of Game for Windows Live-Redestributable (i'm not interested in phone development). I have tried to relaunch the installation process but it doesn't work, this is my log: Bootstrapper.exe: locale arg=en-US

    Bootstrapper.exe version=4.0.20823.0

    BetaCheck: found installed framework key=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2BFC7AA0-544C-4E3A-8796-67F3BE655BE9}

    BetaCheck: found installed framework version=4.0.20823.0

    Bootstrapper.exe: initializing install mode

    RequirementChecks: OS=Microsoft Windows NT 6.2.9200.0

    RequirementChecks: IsAdmin=True

    RequirementChecks: HaveVisualStudio=False

    RequirementChecks: OS=Microsoft Windows NT 6.2.9200.0

    RequirementChecks: IsAdmin=True

    RequirementChecks: HaveVisualStudio=False

    Install wizard ending, return code=5998

    Seems not recognize my visual studio, i have Visual Studio 2013 Express , Maybe it works only with visual studio 10?

  • I solved with this: blogs.msdn.com/.../installing-xna-on-windows-8-with-visual-studio-2012.aspx

  • Hi Cri - XNA Game Studio 4.0 only officially supports VS 2010.  There are XNA components for Windows Phone development that ship with the Windows Phone SDKs for VS 2012 and VS 2013.  The blog post that you linked is one possible unofficially supported way to get XNA Game Studio components for platforms other than Windows Phone to integrate with VS 2012.

  • thanks you.

  • Thank you

  • Thanks!

  • Hey,

    I tried installing XNA Game Studio 4.0 on Windows 8.1 and kept giving me a non-compatibility error. I placed the log files in my OneDrive file server. I have the link below

    onedrive.live.com

    If you can help me get this installed, it would be most appreciated!

  • Hi Josh - I'm sorry, but the OneDrive link that you posted doesn't seem to work for me.  Can you double-check the location and post an updated link?

    Also, just to confirm, have you already tried to install the latest Games for Windows - LIVE redistributable like I suggested at the beginning of this blog post to see if it helps unblock you in this scenario?

  • Sir,

    The setup starts in my PC but just before completion of the installation,setup stops due to an unknown error.

    The link to its log files-- onedrive.live.com/redir

Page 7 of 8 (113 items) «45678
Leave a Comment
  • Please add 3 and 8 and type the answer here:
  • Post