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>

 

  • You are awesome!

  • Thank you very much! It worked :)

  • Many thanks, It's working

  • VS Express is running well but the Emulator not working....

    Please Help...

  • Hi Shovon - You will also need to install the Windows Phone SDK 7.1.1 Update in order to fix an emulator issue on Windows 8.  You can download it from blogs.msdn.com/.../Windows%20Phone%20SDK%207.1.1%20Update.

  • I've download the "Windows Phone SDK 7.1.1 Update" but its not installing in windows 8, when it was installing, after some time PC was hang and restart the windows. PC config- 4GB RAM, Core i5.

  • Hi Shovon - Can you please use the tool described at blogs.msdn.com/.../6458047.aspx to collect all of your setup log files, upload the file named %temp%\vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?

  • The link to the Windows Phone SDK 7.1.1 is incorrectly given as blogs.msdn.com/.../Windows%20Phone%20SDK%207.1.1%20Update

    It should actually be www.microsoft.com/.../details.aspx

  • Hi Tom Anderson - Thank you for letting me know about that broken link.  I've fixed it in the main text of the blog post.

  • It Works.........lots of thanks

  • Here is the cab.. docs.google.com/open

  • Hi Shovon - Your logs show that the installer is hanging when it tries to generate the saved state file for the emulator on your computer - CA_Install_XDE_SavedStates is the specific action that appears to be hanging.  There is likely some kind of incompatibility between the emulator and your computer that is causing this, but I'm not sure what the best way is to try to fix that type of issue.  I'd suggest first taking a look on the App Hub forums (forums.create.msdn.com/.../68568.aspx and other similar posts) to see if there are any suggestions there that help in this scenario.  If not, then I'd suggest posting a new question on the App Hub forums to see if anyone there can offer any suggestions for this issue.

  • Hi Aaron,

    I m installing WP sdk 7.1 on Win8 and VS 2010 sp1 machine.

    But after installing it thrown me an error XNA game studio installation is failed. So, I downloaded XNA Game studio 4 refresh and again its saying setup failed.

    Installed update from the link you specified(www.microsoft.com/.../details.aspx).

    Still facing the same error when debugging app(The target "GetCopyToOutputDirectoryContentProjectItems" does not exist in the project. Done building project "Test.csproj" -- FAILED)

    Can you please help me?

    Regards,

    Abraham

  • Hi Aaron,

    (adding above)

    After I install WPSDK 7.1.1, when I debug my app its throwing Zune Software not installed error(windows phone device)

    when I debug using windows emulator 512,256 am not getting proper output(windows phone just boots and wont display any output).. Please help me..

    Regards,

    Abraham

  • Hi Abraham Dhanyaraj - In order to solve the XNA Game Studio installation problem, you need to first install the latest Games for Windows - LIVE Redistributable from www.xbox.com/.../DownloadClient.  Once you install the latest Games for Windows - LIVE Redistributable, you should try to repair the Windows Phone SDK 7.1, which will re-run the XNA Game Studio installer for you.  That should solve the GetCopyToOutputDirectoryContentProjectItems error message that you're seeing.

    I don't have enough expertise to troubleshoot the debugging issues that you're describing, so I'd suggest posting a question about those issues on the App Hub forums at forums.create.msdn.com/forums and hopefully someone there can help you with those.

Page 3 of 8 (108 items) 12345»
Leave a Comment
  • Please add 3 and 2 and type the answer here:
  • Post