Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS
with no warranties, and confer no rights. Additionally, views expressed
herein are my own and not those of my employer, Microsoft.
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:
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:
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>
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.
Thanks a lot.
After installing www.xbox.com/.../DownloadClient and re installing complete setup, its working..
Thanks a lot once again..
Very big Thanks!
I'm just run Windows Phone Developer Tools SDK 7.1
with force ADMINISTRATOR RIGHTS, and then
Windows Phone Developer Tools SDK 7.1.1 update
with force ADMINISTRATOR RIGHTS too, on my Windows 8 Developer Preview,
and all work good, VC10 samples compilings ok.
Thanx a million, this helped me I was stressing so much...
Thanks! It works.
Thanks it worked perfect
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).
Thanks. Your solution works perfectly!
Your solution saved my day... Thank you
Thanks it works now !!
AWESOME! THANK YOU! SO VERY MUCH! :D :D :D
Hi! Can anyone tell me what "force ADMINISTRATOR RIGHTS" means in the following post?
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.
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?