Aaron Stebner's WebLog

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

Visual Studio 2005 beta 2 will not install on Windows XP Professional x64 Edition

Visual Studio 2005 beta 2 will not install on Windows XP Professional x64 Edition

  • Comments 6

If anyone has tried to install Visual Studio 2005 beta 2 on Windows XP Professional x64 Edition, I am sure you have noticed that installation does not work correctly because VS setup says that you need to install Windows XP Service Pack 2 even though there is not an SP2 available for Windows XP Professional x64 Edition.  This is a bug in setup for Visual Studio 2005 beta 2 that has been fixed in later builds.

In the meantime, you can workaround this issue by doing one of the following:

  1. Launch regedit.exe
  2. Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Windows
  3. Change the CSDVersion value to be 512 or higher (0x0000200 in hexadecimal)
  4. Close regedit.exe and install Visual Studio 2005 beta 2
  5. Rerun regedit.exe and change the CSDVersion value back to what it was originally


  1. Copy the contents of the Visual Studio 2005 beta 2 DVD to a local folder
  2. Go to the Setup subdirectory and open the file baseline.dat in a text editor such as notepad.exe
  3. Locate the section named [gencomp6] - this is the section that tells VS setup to block if Windows XP SP2 is not installed
  4. Change the InstallOnAMD64 and InstallOnIA64 values from 1 to 0
  5. Save and close baseline.dat
  6. Run setup.exe from the local folder that you copied the contents of the DVD to in step 1 and install Visual Studio 2005 beta 2


  • I'm surprised that no one on the development teams picked this up when playing with early beta 2 bits. I guess they don't use the installer?
  • I've installed Visual Studio 2005 beta 2 a couple of times on my own PC, running Windows XP Professional x64 Edition and have never had a problem.
  • So far I have only heard of instances of this problem on a troubleshooting email alias inside of Microsoft, so it is possible that this issue only affects pre-release builds of Windows XP Professional x64 Edition. I wanted to post this workaround publicly just in case anyone was impacted by this and wanted to be able to install VS 2005 beta 2 on their x64 XP Pro machine. This OS is definitely in the test matrix for Visual Studio 2005.
  • Has anyone had trouble compiling x64 projects and found a way to avoid the (not a valid 32 bit application) error? I can get everything to run in x86, but never x64 bit using directx sdk (.NET x64 is installed)

    Please email me: ape at monkeyandape dot kom
  • Hi Chris - I don't have much expertise in the area you are asking about.  I would suggest taking a look at the MSDN Forums (http://forums.microsoft.com) and/or the Product Feedback site (http://lab.msdn.microsoft.com/productfeedback/) to see if any other folks have run into similar issues and have suggestions that might be useful for you.  Sorry I'm not able to be more helpful.
Page 1 of 1 (6 items)
Leave a Comment
  • Please add 5 and 8 and type the answer here:
  • Post