Freigeben über


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

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 https://www.microsoft.com/en-us/download/details.aspx?id=5549 or https://go.microsoft.com/fwlink/?LinkID=201134
  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 https://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>

<update date="12/21/2015">Fixed broken download link for Games for Windows - LIVE Redistributable. </update>

Comments

  • Anonymous
    February 29, 2012
    Many thanks!

  • Anonymous
    February 29, 2012
    Thanks!!!

  • Anonymous
    February 29, 2012
    That's for solving this

  • Anonymous
    February 29, 2012
    Thanks man! I spent a couple of hours before trying to get it to install (I was actually using your previous blog posts as a reference) before I finally came across this. Now it works like a charm.

  • Anonymous
    March 01, 2012
    Thank you!

  • Anonymous
    March 02, 2012
    I'm try it, thank for help.

  • Anonymous
    March 02, 2012
    Great, this is working.Thank you.

  • Anonymous
    March 02, 2012
    It works for installation but then it will give the following error:Error 1 A numeric comparison was attempted on "$(SPAFileMarker)" that evaluates to "−1" instead of a number, in condition "'$(SPAFileMarker)' > '-1'". sunsetAnd here is someone else with the same problem:forums.create.msdn.com/.../599324.aspx

  • Anonymous
    March 03, 2012
    Thanks :)

  • Anonymous
    March 04, 2012
    Hi K - We haven't seen that SPAFileMarker error in our internal testing so far.  Would it be possible for you to enable diagnostic MSBuild logging, reproduce this failure, then upload the log file to a file server (such as http://skydrive.live.com) so I can take a closer look?You can enable diagnostic MSBuild logging by doing the following: In Visual Studio 2010, go to the Tools menu and choose Options...  Expand the Projects and Solutions item and choose Build and Run  Change the MSBuild project build output verbosity from the default (Minimal) to Diagnostic.  Re-run your build and let it fail.  Copy and paste the contents of the Visual Studio output window into a text file.

  • Anonymous
    March 05, 2012
    Thanks a lot!!!

  • Anonymous
    March 15, 2012
    Thanks a lot!!!

  • Anonymous
    March 17, 2012
    The comment has been removed

  • Anonymous
    March 18, 2012
    Thank you SOOO Much

  • Anonymous
    March 19, 2012
    The comment has been removed

  • Anonymous
    March 26, 2012
    Hi Aaron, sorry for the slow replyI have installed the recent update and the problem percist.I have changed the compile output to Diagnostic but it still gives me only one error with no additional information.I created again a fresh empty default xna windows phone project.Also I'd like to point out it is uniquely with xna applications and not with silverlight.The update fixed the emulator also.

  • Anonymous
    March 26, 2012
    Hi K - I see the location where this error is coming from in the file C:Program Files (x86)MSBuildMicrosoftXNA Game Studiov4.0Microsoft.Xna.GameStudio.XBL.targets, but I don't understand what would trigger this error.  I'm hoping there will be more information in the diagnostic build log about what some of the variables used by that file are being set to on your machine, so if possible, can you please zip your diagnostic MSBuild log file, upload it to a file server (such as http://skydrive.live.com), then reply back here and post a link that I can use to download your log file and take a closer look?

  • Anonymous
    March 29, 2012
    Hi, sorry, I could't even find the build log file.I copy pasted the error and warning to a text file (buildlog.zip) and the whole project folder (as created by my env).http://ircing.org/~kimo/temp/

  • Anonymous
    March 29, 2012
    Hi K - Unfortunately, the files that you uploaded don't give any more information than you already provided, and the project you uploaded works fine when I try to build it on my computers.  After you enable diagnostic MSBuild logging, you'll need to build your project again, let it fail, then copy and paste the contents of the VS output window into a text file.  Can you give that a try and upload it to your file server?

  • Anonymous
    March 30, 2012
    I think the build doesn't even happen because of this error. The build folder is empty. Build, rebuild clean etc doesn't really do anything

  • Anonymous
    March 30, 2012
    Hi K - Right, I'm expecting your builds to continue to fail.  However, if you have diagnostic MSBuild logging enabled, you'll get a bunch of information printed to your output window in Visual Studio when your build fails.  That is the information I'd like you to copy and paste into a text file and upload so I can take a look.

  • Anonymous
    March 30, 2012
    Sorry my bad.. here it is. Thanks a lot for your patience!ircing.org/.../build.txt

  • Anonymous
    April 02, 2012
    Hi K - Thank you for the additional log file.  XNA Game Studio ships a file named Microsoft.Xna.GameStudio.XBL.targets that includes the following logic:<SPAFileMarker>$(LiveGameConfigList.IndexOf('|'))</SPAFileMarker>In your log, the SPAFileMarker variable is being evaluated as ?1, when it should really be evaluated as -1 (to indicate that the index isn't found).  I'm not sure what would cause the IndexOf method to return a non-numerical value like that though.  Maybe there is some culture setting for your OS that is causing this?  What language version of Windows are you using, and what culture settings is your version of Windows configured to use?This logic for parsing SPA files is only needed by games that are a part of the registered Xbox LIVE developer program.  If you're not a part of that program, I think you can work around this issue in the meantime by deleting the following error from your copy of Microsoft.Xna.GameStudio.XBL.targets:   <!-- Limit to a single SPA file -->   <Error Condition="'$(SPAFileMarker)' > '-1'"          Text="Multiple SPA files are not supported."/>

  • Anonymous
    April 04, 2012
    The comment has been removed

  • Anonymous
    April 17, 2012
    This worked for me on VS2010 Ultimate and Win8 (8250)Thanks.

  • Anonymous
    May 04, 2012
    sir u need help......how i install xna 4.0 on vs2011......

  • Anonymous
    May 04, 2012
    Hi Ahsan - XNA Game Studio 4.0 only supports Visual Studio 2010.  You can install VS 2010 side by side with VS 11 if you would like to develop games with XNA Game Studio and also use VS 11 on the same computer.

  • Anonymous
    May 08, 2012
    After install LIVE Redistributable, wp7 and xna sdk were successfully installed. But, then I try to create a new project "Game For WindowsPhone", vs show me error: Object reference not set to an instance of an object. If I press "OK", it is created solution with content projerct only. Also, my old projects, don't open too.Sorry, for my bad English.

  • Anonymous
    May 08, 2012
    Hi Sarostin - Does this error only happen for XNA Game Studio games for Windows Phone, or does it also happen for Windows and/or Xbox 360 games?  If it is only phone games, then I'd suggest trying to repair the Windows Phone SDK 7.1.  If it is all types of XNA Game Studio games, then I'd suggest trying to uninstall and re-install XNA Game Studio.

  • Anonymous
    May 29, 2012
    I was having the same issue, and the post really helped, thank you!

  • Anonymous
    June 18, 2012
    You are awesome!

  • Anonymous
    June 23, 2012
    Thank you very much! It worked :)

  • Anonymous
    July 05, 2012
    Many thanks, It's working

  • Anonymous
    July 11, 2012
    VS Express is running well but the Emulator not working....Please Help...

  • Anonymous
    July 11, 2012
    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.

  • Anonymous
    July 18, 2012
    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.

  • Anonymous
    July 18, 2012
    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?

  • Anonymous
    July 21, 2012
    The link to the Windows Phone SDK 7.1.1 is incorrectly given as blogs.msdn.com/.../Windows%20Phone%20SDK%207.1.1%20UpdateIt should actually be www.microsoft.com/.../details.aspx

  • Anonymous
    July 22, 2012
    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.

  • Anonymous
    July 25, 2012
    It Works.........lots of thanks

  • Anonymous
    July 26, 2012
    Here is the cab.. docs.google.com/open

  • Anonymous
    July 31, 2012
    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.

  • Anonymous
    August 01, 2012
    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

  • Anonymous
    August 01, 2012
    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

  • Anonymous
    August 03, 2012
    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.

  • Anonymous
    August 15, 2012
    Thanks much for your helpful blog. I am doing WP7 development and recently installed Win8. Your methodical post (which should be somewhere on MS' actual WP Dev site, ahem) appears to be working as I type this.

  • Anonymous
    August 20, 2012
    Hi Aaron,Thanks a lot.After installing www.xbox.com/.../DownloadClient and re installing complete setup, its working..Thanks a lot once again..Regards,Abraham

  • Anonymous
    September 02, 2012
    Hi Aaron,Very big Thanks!I'm just run Windows Phone Developer Tools SDK 7.1with force ADMINISTRATOR RIGHTS, and thenWindows Phone Developer Tools SDK 7.1.1 updatewith force ADMINISTRATOR RIGHTS too, on my Windows 8 Developer Preview,and all work good, VC10 samples compilings ok.With respects,Nikolas

  • Anonymous
    September 05, 2012
    Thx!!!

  • Anonymous
    September 05, 2012
    Thanx a million, this helped me I was stressing so much...

  • Anonymous
    September 13, 2012
    Thanks! It works.

  • Anonymous
    September 15, 2012
    Thanks it worked perfect

  • Anonymous
    September 22, 2012
    Thanks, but it's a shame that MSFT is unable to release an OS and dev tools that just work (I had to install VS2010 to target .NET 4.0 in VS2012 too).

  • Anonymous
    September 30, 2012
    Thanks. Your solution works perfectly!

  • Anonymous
    October 18, 2012
    Your solution saved my day... Thank you

  • Anonymous
    October 24, 2012
    Thanks it works now !!

  • Anonymous
    November 06, 2012
    thanks you....

  • Anonymous
    November 24, 2012
    AWESOME! THANK YOU! SO VERY MUCH! :D :D :D

  • Anonymous
    December 12, 2012
    Hi! Can anyone tell me what "force ADMINISTRATOR RIGHTS" means in the following post?"Hi Aaron,Very big Thanks!I'm just run Windows Phone Developer Tools SDK 7.1with force ADMINISTRATOR RIGHTS, and thenWindows Phone Developer Tools SDK 7.1.1 updatewith force ADMINISTRATOR RIGHTS too, on my Windows 8 Developer Preview,and all work good, VC10 samples compilings ok.With respects,Nikolas"I'm having trouble getting 7.1 running in Windows 8, and the update is running the same error ("compatibility problem"). Not sure I am savvy enough to log errors, though I will try. Any other insights would be much appreciated.Thanks :)

  • Anonymous
    December 12, 2012
    Hi Saraswathi - I think that means to right-click on the setup files and choose to Run as Administrator.  However, doing that is never required for setup programs like this.  They will automatically prompt you for Administrator privileges if they require those privileges.Have you tried the workaround steps listed in the top of this blog post yet (install Games for Windows - LIVE Redistributable, then try again to install the Windows Phone SDK 7.1)?If you've tried the workaround and it didn't help, then 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 reply back here and provide a link that I can use to download your log files and take a closer look?

  • Anonymous
    December 13, 2012
    Thanks for the quick reply Aaron!You're right, the administrator rights thing was a dead end/useless :)I've followed your steps and have an emulator up and running in Parallels Windows 8 - amazing !! Thank you so much for your post.My only trouble is deploying the app - the tile shows up but it doesn't run when clicked. I'm currently reinstalling with the SNA workaround - I'll let you know how it goes! :)

  • Anonymous
    December 13, 2012
    Hi Saraswathi - I don't think the workaround in this blog post will help with the issue you're seeing.  Hopefully you can try running your app in the debugger to see if you can figure out why it doesn't launch correctly.

  • Anonymous
    December 13, 2012
    Hello Aaron - true, after installing the latest version of the Games for Windows - LIVE and re-running the SDK setup with the 7.1.1 update, the app I am working with still won't open in the emulator.Any advice? Is this because I'm using a VM?You mentioned a debugging console - I'm not seeing a debugging console within the emulator. Where can I find it? Thanks for your time.

  • Anonymous
    December 13, 2012
    Hi Saraswathi - How are you installing and running your application currently?  I was expecting it to be deployed by opening a Visual Studio project, building it, deploying it and running it from there.  If you're doing that, you can press F5 to run it in the debugger, and that should help you catch crashes on startup like the one you're seeing.If you don't have a VS project or the source code and you are deploying the .xap with the Application Deployment tool, then it isn't possible to debug it the way I was thinking.  In that case, you'll probably need to work with whoever created the application to get their help debugging the crash on startup.Based on what you described about the symptoms, I don't think this crash is related to Windows 8, XNA, or the issue described in this blog post.  It sounds like a bug in the application itself.

  • Anonymous
    December 25, 2012
    Hi, I am considering upgrading to Windows 8, but XNA is one of the things preventing me to upgrade. Now, I've seen this workaround is working for some people, but using Windows Phone SDK 7.1 . Now, Windows Phone SDK 8 is out, and apparently it provides some support to XNA (at least, to WP7.1 , not 8), what I would like to know is, if Windows Phone SDK 8 is now the "official" way to get XNA on Windows 8 (so the workaround is no longer needed), and if it is still supporting plain old desktop developmentThanks in advance

  • Anonymous
    December 26, 2012
    The comment has been removed

  • Anonymous
    January 26, 2013
    Perfect, although such a simple workaround. Surely MS should update this.

  • Anonymous
    February 26, 2013
    Thanks! It worked great!

  • Anonymous
    March 12, 2013
    Thank you

  • Anonymous
    March 29, 2013
    I love you man....Thank you so mush!!

  • Anonymous
    April 09, 2013
    i am unable to install the xna which u have mentioned in step 1 of workaround. It is giving me an error:"Install failed Error code 0x800b0003". Can u please help me out.

  • Anonymous
    April 09, 2013
    Hi Amruta Shah, India - That error code means "path not found"  Could you please zip all of your XNA Game Studio setup log files from the folder %temp%XNA Game Studio 4.0 SetupLogs, upload the .zip file to a file share (such as http://skydrive.live.com) and reply here with a link that I can use to download your log files and take a closer look?

  • Anonymous
    April 14, 2013
    thankyou....instant fix, appreciated!

  • Anonymous
    April 26, 2013
    This was bad, you wrote:"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."and i thought that you would help with that but you didn't!

  • Anonymous
    April 26, 2013
    Hi Jack - I'm sorry, but I don't understand your comment.  I provide a workaround for this issue in the blog post, and I also provide steps to gather additional information in case the workaround doesn't help.  Can you please provide more details about exactly what error you're seeing?  Also, if the workaround doesn't help, can you please also use the instructions above in this blog post to gather and upload your log files so I can take a closer look?

  • Anonymous
    May 10, 2013
    Worked, thanks for the assistance!

  • Anonymous
    May 25, 2013
    Hi Aaron - I followed you instruction every went smooth update to WindowsPhone SDK7.1 installation. When i try to update SDK7.1 to SDK7.1.1 my System hanging and not responding. What should i do?

  • Anonymous
    May 25, 2013
    Hi Jegnath - A system hang is more than likely being caused by a different problem than the one described in this blog post.  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?

  • Anonymous
    May 28, 2013
    The comment has been removed

  • Anonymous
    July 15, 2013
    thanks a lot...

  • Anonymous
    July 29, 2013
    Its interesting

  • Anonymous
    August 07, 2013
    Thanks a lot.

  • Anonymous
    August 15, 2013
    Thanks Dex it looks like you saved my bacon!

  • Anonymous
    September 06, 2013
    Thank you very much. It's realy works.

  • Anonymous
    September 10, 2013
    Thanks. It work

  • Anonymous
    September 15, 2013
    Thx a lot! It worked just fine! Greetings from Barcelona, Spain

  • Anonymous
    September 19, 2013
    I'm having issues now with 7.1.1, it says a newer version of the Microsoft Advertising SDK already exists so it rolls back all the changes (I do have SDK 8.0 installed).

  • Anonymous
    September 19, 2013
    Hi Kamran - 8.0 and 7.1.1 are supposed to allow you to install side-by-side.  There might be an order-of-install problem, so if possible, I'd suggest that you try to uninstall 8.0, install 7.1.1, then re-install 8.0 to see if that fixes things.If that doesn't help, then I'd suggest posting a question on the Windows Phone developer forum at social.msdn.microsoft.com/.../home and hopefully someone there will be able to provide some additional ideas for you to try out.

  • Anonymous
    September 20, 2013
    Actually, installing the 7.8 update seems to also install the 7.1.1 update, so that fixed my issue. My overall issue was that VS2013 does not yet support the 7.1+ SDKs, so I eventually had to reinstall all of this after reinstalling VS2012 and now everything is working.

  • Anonymous
    October 06, 2013
    Thank you!

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

  • Anonymous
    November 09, 2013
    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??

  • Anonymous
    November 09, 2013
    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

  • Anonymous
    November 10, 2013
    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.

  • Anonymous
    November 14, 2013
    Can you please find the answer and bring to my notice? if you dont have any problem??

  • Anonymous
    November 14, 2013
    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.

  • Anonymous
    January 09, 2014
    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-USBootstrapper.exe version=4.0.20823.0BetaCheck: found installed framework key=HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall{2BFC7AA0-544C-4E3A-8796-67F3BE655BE9}BetaCheck: found installed framework version=4.0.20823.0Bootstrapper.exe: initializing install modeRequirementChecks: OS=Microsoft Windows NT 6.2.9200.0RequirementChecks: IsAdmin=TrueRequirementChecks: HaveVisualStudio=FalseRequirementChecks: OS=Microsoft Windows NT 6.2.9200.0RequirementChecks: IsAdmin=TrueRequirementChecks: HaveVisualStudio=FalseInstall wizard ending, return code=5998Seems not recognize my visual studio, i have Visual Studio 2013 Express , Maybe it works only with visual studio 10?

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

  • Anonymous
    January 10, 2014
    The comment has been removed

  • Anonymous
    January 16, 2014
    thanks you.

  • Anonymous
    January 17, 2014
    Thank you

  • Anonymous
    January 22, 2014
    Thanks!

  • Anonymous
    March 12, 2014
    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 belowonedrive.live.comIf you can help me get this installed, it would be most appreciated!

  • Anonymous
    March 12, 2014
    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?

  • Anonymous
    March 19, 2014
    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

  • Anonymous
    March 20, 2014
    The comment has been removed

  • Anonymous
    March 22, 2014
    Thank you for the post. I was been facing such problems for few days. And this realy helped me out.

  • Anonymous
    April 08, 2014
    Thanks alot

  • Anonymous
    May 31, 2014
    Thanx

  • Anonymous
    July 15, 2014
    Gracias

  • Anonymous
    July 16, 2014
    well done. Thnaks

  • Anonymous
    July 20, 2014
    I hope this works.

  • Anonymous
    July 20, 2014
    Kidilam!! Thanks!

  • Anonymous
    August 04, 2014
    Thanks. Was able to run the Kinect avateering app finally.

  • Anonymous
    August 30, 2014
    Thanks alot

  • Anonymous
    September 03, 2014
    A million thanks to you bro! It worked like a charm.

  • Anonymous
    September 06, 2014
    You are awesome, thank you so much! :D

  • Anonymous
    September 26, 2014
    still says "Missing requirements"

  • Anonymous
    September 26, 2014
    Hi Jacob - The error that you are seeing is different than the one caused by the issue in this blog post, so the workaround listed in this blog post won't help in that scenario.  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://onedrive.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?

  • Anonymous
    October 13, 2014
    Bootstrapper.exe: locale arg=en-USBootstrapper.exe version=4.0.20823.0Bootstrapper.exe: initializing install modeRequirementChecks: OS=Microsoft Windows NT 6.2.9200.0RequirementChecks: IsAdmin=TrueInstall wizard ending, return code=5998

  • Anonymous
    October 13, 2014
    Hi Sambhav - Exit code 5998 means setup was cancelled.  Have you already tried the workaround listed in this blog post and it didn't help?  If so, 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://onedrive.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?

  • Anonymous
    October 23, 2014
    Thank you so much! It Saved the day!

  • Anonymous
    February 27, 2015
    The comment has been removed

  • Anonymous
    February 27, 2015
    Hi Chip112 - I'm sorry, but I don't have much expertise troubleshooting Visual Studio licensing issues.  I'd suggest posting a question on the Visual Studio setup forum at social.msdn.microsoft.com/.../home to see if someone there can provide a fix or workaround for this issue for you.

  • Anonymous
    March 03, 2015
    Hi, Can we install XNA on Visual Studio (community edition) 2013?  XNA download for VS 2013 is available on this link  msxna.codeplex.com/.../117230, but when I build a project got an error "Your installation of XNA Game Studio does not support this project (XNA Platform = 'Windows Phone', XNA Framework Version = 'v4.0').I have installed windows Phone SDK 8 for windows 8.

  • Anonymous
    March 03, 2015
    Hi Reva123 - I didn't work on that Codeplex project, so I am not sure what is causing the error that you describe.  The documentation on the site say that that project supports Visual Studio 2013 Pro, Premium, Ultimate, and Visual Studio 2013 Express for Windows Desktop.  I don't think the community edition is supported based on that documentation.  I'd recommend contacting the project coordinator and/or posting an issue on the Codeplex page to get support for the error that you're seeing.

  • Anonymous
    March 19, 2015
    Here is the link :) www.dropbox.com/.../AADhjp_x-9RWobrJsg3dv0U8a

  • Anonymous
    March 20, 2015
    Hi Hamza - Your logs show that you're running into the exact same issue described earlier in this  blog post.  Can you please try installing the latest Game for Windows - LIVE Redistributable from www.xbox.com/.../DownloadClient, then re-run XNA Game Studio setup and see if that helps?For reference, I used the technique described in the "How to diagnose this issue" section of the blog post at blogs.msdn.com/.../10570404.aspx to review your log files and determine the root cause of the setup failure.

  • Anonymous
    March 22, 2015
    exelente amigo me funciono perfecto

  • Anonymous
    April 22, 2015
    Thanks allot, to bad they didn't implemented this directly.

  • Anonymous
    June 03, 2015
    Its good

  • Anonymous
    July 01, 2015
    It's realy good works.

  • Anonymous
    July 03, 2015
    Outstanding...!!

  • Anonymous
    September 28, 2015
    dude... You're awesome!

  • Anonymous
    February 06, 2016
    I just tried this solution today, with a new Windows 10 Pro setup, and it worked. Specifically, I had to install "Games for Windows – LIVE Redistributable" and then "XNA Game Studio 4.0" install worked!

  • Anonymous
    August 19, 2016
    Terrific...!!

  • Anonymous
    August 26, 2016
    Its grand :)

  • Anonymous
    September 04, 2016
    Terrific...!!

  • Anonymous
    January 26, 2017
    it is asking "do you want the following program to make changes to your pc" shall i give YES?

    • Anonymous
      January 26, 2017
      Hi Annam - Which step are you running when you see this question?
  • Anonymous
    July 30, 2017
    Having read this I thought it was really informative. I appreciate you spending some time and energy to put this short article together. I once again find myself personally spending a significant amount of time both reading and posting comments. But so what, it was still worth it!