Aaron Stebner's WebLog

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

Steps to install XNA Game Studio 4.0 without using the setup bootstrapper

Steps to install XNA Game Studio 4.0 without using the setup bootstrapper

  • Comments 34

A while back, I wrote a blog post describing how to extract the contents of the XNA Game Studio 2.0, 3.0 and 3.1 setup packages and install the components manually in case the normal installation process fails.  I just went back and updated that blog post to also list the steps for extracting and manually installing XNA Game Studio 4.0.

I’ve gone back and forth about whether or not to update this type of older blog posts in place as new product versions are released or post new ones.  In this case, I decided to update the existing post since I can then have a single location to point people to for all versions of XNA Game Studio.  However, I also wanted to post a new item about this to help improve visibility since I’m not sure how often folks go back and look at older content.

Here is a copy of the steps I added for XNA Game Studio 4.0.  Note - for the instructions below, if you are running a 64-bit version of Windows, you will need to use %programfiles(x86)% instead of %programfiles% for the installation paths.

Please refer to the previous post for instructions for all versions of XNA Game Studio.

To manually install XNA Game Studio 4.0 

  1. Download xnags40_setup.exe and save it to your hard drive
  2. Run xnags40_setup.exe /x to extract the contents to a folder of your choosing
  3. Go to the folder you extracted to in step 2 and run the MSI named redists.msi

    Note: This MSI will only display a small progress bar while it is installing and will not tell you when it is done.  When the progress bar disappears, continue to the next step.

  4. Run the MSI at %ProgramFiles%\Microsoft XNA\XNA Game Studio\v4.0\Setup\XLiveRedist.msi
  5. Run the MSI at %ProgramFiles%\Microsoft XNA\XNA Game Studio\v4.0\Redist\XNA FX Redist\xnafx40_redist.msi
  6. Run the MSI at %ProgramFiles%\Microsoft XNA\XNA Game Studio\v4.0\Setup\xnaliveproxy.msi
  7. Run the MSI at %ProgramFiles%\Microsoft XNA\XNA Game Studio\v4.0\Setup\xnags_platform_tools.msi
  8. Run the MSI at %ProgramFiles%\Microsoft XNA\XNA Game Studio\v4.0\Setup\xnags_shared.msi
  9. Run the MSI at %ProgramFiles%\Microsoft XNA\XNA Game Studio\v4.0\Setup\xnags_visualstudio.msi
  10. Go to the folder you extracted to in step 2 and run the MSI named arpentry.msi

<update date="11/8/2010"> Added a note about the %programfiles(x86)% path on 64-bit versions of Windows. </update>

<update date="11/21/2011"> Removed an incorrect step from the list. </update>


  • This is stupid and a waste of time. The person that wrote this article is an idiot.

  • On the contrary, this is very helpful to those few  of us  for whom the installation failed. Thanks, Aaron.

  • That it is true, this is very helpful, information.  Progamer, is this is so stupit, why do take the time to read it?

  • I am trying to install XNA game studio 4.0 to use with Visual Studio 2010.  

    I am getting the foolowing error about compatibility.

    <Visual Studio setup cannot run in compatibility mode.  For more information see the 'Installing' section in the Visual Studio Readme at "go.microsoft.com/fwlink

    I have a 4GB HP Pavilion dv7-1157cl running Win 7 premium 64 bit.

  • Thanks

  • Hi MrB at BHS - I posted an item about how to work around that compatibility mode error at blogs.msdn.com/.../10064318.aspx.  Hopefully the steps there will help resolve that error for you.

  • big THX!

  • Helped me. Thanks :)

  • Thanks for your information.

    I wonder if there is anyway I can install xnags4 without installing VS 2010, because I want to test my networking game on the computer. And as in this post forums.create.msdn.com/.../9924.aspx, he suggested installing XNA 4 full instead of redist ver to use GamerServicesComponent/use live networking.

    Thank again

  • Hi LxL - There is not an officially supported way to install XNA Game Studio without Visual Studio.  If you are planning to do this only for game testing purposes and don't plan to use any of the Visual Studio components, then I think you could get it to work by using the steps above in this blog post except skip step 9.

  • I'm stucked at this step, tks a lot !

  • Hi Hungson175 - Which exact step are you stuck on?  Can you describe your scenario and any error messages you are seeing in more detail?

  • I am fed up with issues like "cannot install in compatibility mode".

    It is really stupid.  

    Please, Microsoft, make things simple and easy for us developers!

    We hate setup and configuration issues.

    It is NOT smart to make things hard for others.

  • What would I do if the installation succeeds, but I don't have any of the project options for XNA, and when I try to create a reference to the rmaework, it says it dosen't exist. What do i do?

  • Hi The_Dragonn_29 - Are you sure that you're using the version of Visual Studio that is required by the version of XNA Game Studio that you're installing?  For example, XNA Game Studio 4.0 requires VS 2010, XNA Game Studio 3.1 requires VS 2008, etc?

    Can you post screenshots of what you see in the VS New Project dialog and what error you see when you try to add that type of reference so I can take a closer look?

Page 1 of 3 (34 items) 123
Leave a Comment
  • Please add 6 and 1 and type the answer here:
  • Post