Welcome to MSDN Blogs Sign in | Join | Help

How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Microsoft has an internal program for testing hotfixes that apply to Windows XP SP1 that asks some employees to not install XP SP2.  Some of the people in this program have wanted to install VS 2005 and when they tried, they ran into the blocks in VS setup that require XP SP2 to be installed.  VS 2005 setup does not have any technical requirements on XP SP2, but the block is in place to encourage everyone to upgrade to SP2, and also to reduce the test matrix.  If you are running into this block and really need to install VS 2005 on a system that is running Windows XP without SP2, you can use the following steps.  Please note that these steps are not officially supported and I would recommend installing XP SP2 before installing VS 2005 if at all possible:

  1. Navigate to the setup subfolder on the VS 2005 DVD and run VS 2005 as follows to skip all prerequisite checks - setup.exe /NO_BSLN_CHECK

Important note - if you use the above option, none of the prerequisites for Visual Studio 2005 will be installed.  You need to make sure to manually pre-install Windows Installer 3.1, the .NET Framework 2.0 and the MSXML 6.0 Parser using the setup packages located in the wcu subfolder on the VS 2005 DVD.  Failure to do so will result in errors during the VS installation process.

-or-

  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
  5. Rerun regedit.exe and change the CSDVersion value back to what it was originally

Once VS 2005 is installed, you will run into a separate block while trying to install MSDN.  To workaround this, you can use the same registry-based workaround listed above, or do the following:

  1. Install Orca if you haven't already (you can get a copy here without downloading the whole Windows Installer PSDK)
  2. Copy the contents of the VS 2005 DVD to your computer
  3. Right-click on the file msdn.msi and choose Edit with Orca
  4. Go to Launch condition table and remove the row with the following data in the condition column: "(VersionNT>501) OR (VersionNT=500  AND ServicePackLevel>3) OR (VersionNT=501  AND ServicePackLevel>1)    The minimum operating system requirement is Windows 2000 SP4,  Windows XP SP2, or Windows Server 2003"
  5. Save and close msdn.msi
  6. Install MSDN from the local copy

Note: after changing the CSDVersion registry key or modifying msdn.msi using Orca, you will need to use the following command line to install MSDN:  msiexec /i msdn.msi SETUP_EXE=yes

<update date="8/26/2005"> I didn't specify clearly enough when I posted this last night that these steps are not "officially" supported, I must have been a little tired and left off the disclaimer I normally write when I post tips like this.  I've added it above.

<update date="11/8/2005"> After receiving email from Fabrice based on the comments posted here, I realized that there is an additional step needed to install MSDN after using the workarounds listed above.  I've updated the steps accordingly </update>

<update date="4/5/2006"> Added a caveat to option 1 above that you must manually install prerequisites in order to use this option </update>

 

Published Thursday, August 25, 2005 9:07 PM by astebner

Comments

Friday, August 26, 2005 2:55 AM by Que du bonheur... non, du .NET...

# Comment installer VS2005 et MSDN sur Windows sans SP2

Friday, August 26, 2005 3:03 AM by Que du bonheur... non, du .NET...

# Comment installer VS2005 et MSDN sur Windows XP sans SP2

Friday, August 26, 2005 4:11 AM by mahen

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Friday, August 26, 2005 4:35 AM by Simon Thorneycroft and Jonathan Hodgson

# Installing Visual Studio 2005 on Windows XP without SP2

Aaron Stebner explains a couple of little tweaks you can do to install Visual Studio 2005 on Windows...
Friday, August 26, 2005 6:03 AM by STEFANO DEMILIANI WeBlog

# How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Friday, August 26, 2005 6:28 AM by untitled

# خبر

اگه مي‌خوايد VS 2005 نصب کنيد ولي علاقه‌اي به نصب سرويس پک&amp;nbsp;2 XP نداريد، اين مطلب رو بخونيد.
اين...
Friday, August 26, 2005 12:25 PM by astebner

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi Mahen - the way you describe in your blog appears that it would work also, but it will only work for the Express editions. Also, installing the MSI directly from inside ixpvc.exe (or any of the other Express packages) does not get tested at all by the product teams and I think it will have other side effects (such as the add\remove programs entry being broken for the product) so I would suggest using the steps I posted if you need to install VS on XP without SP2.

Saturday, August 27, 2005 2:53 AM by Sven

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi Aaron,

the CSDVersion trick works fine. But why the VS 2005 installation program complains about the missing SP2 if it doesn't really require it?

I'm still working with SP1 because I'm developing with VC6 which can't read the debug information symbols from SP2.
Tuesday, August 30, 2005 1:31 AM by astebner

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi Sven - the VS 2005 installation program complains because it has data files that tell it that XP SP2 should be a requirement before allowing setup to proceed. There are a few reasons for making this a requirement:

1. XP SP2 contains a newer version of Windows Installer, so that does not have to be installed separately.

2. XP SP2 has a lot of security enhancements and other bug fixes that help improve the overall security and stability of the OS and of Visual Studio

3. Requiring a minimum of SP2 greatly reduces the test matrix for the teams who test VS 2005

Unfortunately there are specific scenarios where some folks cannot upgrade to XP SP2, such as your debug information scenario with VC6. I provided this workaround as an unofficial solution specifically for this type of situation where folks want to try VS 2005 but cannot yet upgrade to XP SP2.

Wednesday, August 31, 2005 2:48 AM by Sven

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

That sounds convincing. Thanks for your workaround, it helped me a lot. So I can still develop with VC6 and build the x64 apps on the same machine.
Friday, November 04, 2005 10:13 AM by Fabrice

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Has anyone managed to install the MSDN part this way?
Monday, November 07, 2005 12:26 AM by astebner

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi Fabrice - changing the CSDVersion registry key or removing the launch condition using Orca like I describe above should both work for installing MSDN. Please contact me using http://blogs.msdn.com/astebner/contact.aspx if the steps do not work for you.

Wednesday, November 09, 2005 2:01 PM by Will

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Thanks for the work around. Installed visual studio fine, had some trouble with MSDN. in the end I used Orca to remove the clause to check if run from setup.exe (obviously the other check aswell) and then it installed fine. I tried to run from command line using parameter SETUP_EXE=YES but it gave the SP2 required error. thanks anyway,

Will.
Wednesday, November 09, 2005 2:25 PM by astebner

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi Will - can you double-check that you removed the correct launch condition from the MSDN MSI by re-opening it in Orca? If the launch condition is removed, there is not any way that an SP2 error message could happen because that is the only place that any OS checking happens within that MSI. If you are still unable to get this to work please zip and send me a copy of the MSI that you modified so I can take a look. You can send it to aaronste@microsoft.com.

Saturday, November 12, 2005 5:32 AM by yinh

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

hi,astebner,i used the 1st method to install vs2005(setup.exe /NO_BSLN_CHECK),it wroks fine.but then i used the 2nd method(modify the registry) to install msdn,it failed...why?
Saturday, November 12, 2005 7:27 PM by astebner

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi Yinh - it appears that the registry trick will not work for MSDN because Windows Installer does not use the CSDVersion registry value to detect the service pack level for Windows.

If you really need to install MSDN without installing XP SP2 you will need to modify the msdn.msi using the steps listed above. Then, you will need to run the MSI directly by running msiexec /i msdn.msi SETUP_EXE=yes.

Monday, January 23, 2006 11:02 PM by James

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Nice, i used this trick to install Adobe Audition 2.0. ;) and it works!
Saturday, March 04, 2006 8:22 AM by ronachers

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

thank you, will try it out
Thursday, March 16, 2006 6:36 PM by dd

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

I installed using the E:\vs\setup.exe%20\NO_BSLN_CHECK method.

it goes for a while then this error message comes up.

Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor.

help..
Friday, March 17, 2006 9:46 PM by astebner

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi DD - Is the E drive your CD-ROM drive, or did you copy the contents of the CD's to your hard drive?  If you copied to your hard drive, have you copied all of the CD's (and not just CD1)?  Can you please try to use the steps listed at http://blogs.msdn.com/astebner/archive/2005/03/29/403575.aspx to enable verbose logging and reproduce this issue so we can see if we can narrow down the root cause of the 1723 error?
Thursday, March 30, 2006 1:16 PM by tomm

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

I had the same problem with Error 1723. After installing Microsoft Installer 3.1, it went away...
Thursday, April 06, 2006 4:57 AM by Funnyboy

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Please be aware, that by setting this switch, no prerequisites are checked.
Make sure you have installed :

Windows Installer 3.1
.NET Framework 2
Microsoft XML Parser 6

or else you WILL get errors.
Thursday, April 06, 2006 12:30 PM by astebner

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi Funnyboy - The only option of the ones listed above that will cause no prerequisites to be checked is the first one (using the /NO_BSLN_CHECK switch for setup.exe).  If you choose that option, you are correct that you will need to make sure to preinstall Windows Installer 3.1, the .NET Framework 2.0 and Microsoft XML Parser 6.0 or you will see errors during VS setup.  I will update the main blog post with this important note as well.

Monday, April 10, 2006 2:45 PM by shabNam

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi guys,
Can anyone tell me how do i install VS 2005 wihout SP2 and without the CD . I mean i do have the cd for vs 2005 or .Net framework but so i want to download the free version from the internet. Is it possible to do so without SP2? If so can you please please tell me how to?
thanks in Advance
Monday, April 10, 2006 5:12 PM by astebner

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi shabNam - I am not sure what you mean by the free version, but I assume that this is referring to the VS 2005 Express Editions.  If so, the list of suggestions at the top of this blog post should work for the VS 2005 Express Editions as well.  Please let me know if you run into any problems while trying it out.

Monday, April 10, 2006 6:22 PM by shabNam

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi Astebner,
Thanks for ur prompt response.
Well yea I am downloading the C# express edition.
I've got Visual Studio 6.0 installed on my Pc but thats not good enough for ASp.NEt and C# programming is it?
-I want to build a database driven website using ASP.NET and C# can you please advise me on what tools I need?

Monday, April 10, 2006 7:06 PM by astebner

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi shabNam - The list of suggestions at the top of this blog post should work for Visual C# 2005 Express Edition.  Please let me know if you run into any problems while trying it out.
Wednesday, April 19, 2006 5:09 AM by Vladimir

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hello everyone,
I've tried to install orca, but when i choose the install type and press Install, i get installer error 'error reading orca.msi', with retry/cancel buttons. I downloaded the file few times and tried all the install options, but it doesn't change, like file is corrupted.
Anyone had this problem?
Wednesday, April 19, 2006 12:22 PM by astebner

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi Vladimir - I have not heard of any issues downloading and installing the copy of Orca linked to in this blog post.  It is a Windows Installer 3.1 MSI, so if you don't already have Windows Installer 3.1 installed, you will need to install that before you can install Orca.
Wednesday, April 19, 2006 1:40 PM by Vladimir

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi Aaron,
Thank for the response. I've just tried it and it works. Maybe it's because I didn't reboot the machine after installing the Windows Installer, that's the only trick I didn't try :-)
Thursday, June 08, 2006 7:46 AM by Scuotiliancia

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hello, I would only like to install VB 2005 Express Edition on a WinXP computer without SP2.

Is there any quick way of doing it?

TIA
Thursday, June 08, 2006 12:59 PM by astebner

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi Scuotiliancia - The registry configuration option listed above should work for the Express Editions in addition to the other Visual Studio editions.  Can you please try that out and see how it goes for you?
Monday, August 28, 2006 6:14 AM by PeterF

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

It worked great for me, but SQL server 2005 that's bundled with VS 2005 wouldn't install. Do you have a work around for this as well ?
Thanks
Peter
Tuesday, September 05, 2006 10:59 PM by astebner

# re: How to install VS 2005 and MSDN for VS 2005 on XP without SP2

Hi PeterF - I'm sorry, but I don't know the inner workings of SQL 2005 setup well enough to advise a workaround that would allow you to install that product without installing Windows XP SP2.  I would expect the registry-based workaround of changing the CSDVersion registry value to work because that is the most common way of checking OS service pack level, but SQL setup might not rely on that.  You may want to try to use a file or registry monitoring tool like FileMon or RegMon from http://www.sysinternals.com to determine what SQL setup is checking when it looks for Windows XP service pack level.
Friday, March 02, 2007 5:31 AM by I Don’t Know Windows XP sp2, Tapi Tidak «

# I Don&#8217;t Know Windows XP sp2, Tapi Tidak &laquo;

Monday, April 02, 2007 11:33 AM by Maze of Blog

# Maze of Blog

# install visual studio 2005 without xp sp2 ;) thanks to ORCA &laquo; Muhammad Adnan

# Visual C++ 2005 Express Edition OHNE Win XP SP2 ? | hilpers

Anonymous comments are disabled
 
Page view tracker