How to install Visual Studio 2005 on XP with just SP1

Where I work there's a firewall application required in some parts of the network that doesn't play nicely with XP SP2.  So we're still on SP1 while the vendor sorts out the problem.  Meanwhile I still need to get work done, and I would much rathar be doing that work on Whidbey than Everett!

When trying to install Whidbey, it halts with a notice that SP2 is required to continue the installation.  So I discovered a hack to get the application installed on XP when SP2 isn't onboard.  Obviously this is in no way supported by Microsoft, but it does all appear to work, at least for Winforms and ASP.NET development.

  1. Copy your DVD or two CD set to a folder on your hard drive so you can edit one of the files.
  2. In the Setup folder is a file called vs_setup.pdi.  In its properties make sure that the Read Only attribute is not set.  Then open it with Notepad.
  3. Locate the fourth section, titled something like [Microsoft Visual Studio 2005 Professional Edition - ENU].
  4. The second line item there should be gencomp6.  Comment this line by placing a pound symbol in front of it, so that part of the file looks like this:
  5. [Microsoft Visual Studio 2005 Professional Edition - ENU]
    gencomp95
    #gencomp6
    gencomp7
    

  6. Simply save the file, and run setup.exe.  Everything should work fine.


Feedback

# re: How to install Visual Studio 2005 on XP with just SP1

excellent works for me! 12/14/2005 5:56 AM | Zippy IS a Coder

# re: How to install Visual Studio 2005 on XP with just SP1

incredible, i have been looking for something like this and it turns out to be as simple as this...now i will never need sp2

thanks for sharing, you rock man 5/23/2006 4:53 PM | rpglvlan

# re: How to install Visual Studio 2005 on XP with just SP1

how can i install msdn with windows XP SP1 ? 10/10/2006 11:25 PM | ying

# re: How to install Visual Studio 2005 on XP with just SP1

You can also alter the autorun.inf file with the following:
[autorun]
Open=setup.exe /no_bsln_check
Icon=setup.exe,0

and it will skip the sp2 check baseline check

Furthermore you can also replace the product key in the setup.sdb found in the setup folder with a known full version key and it will from what i can see install the full version...but you would probably have to run for for more than the trial amount of days to see if expires to see if in fact you have the full version :-) 11/13/2006 9:05 PM | nothing fancy

# re: How to install Visual Studio 2005 on XP with just SP1

For thoise who purchased the trial DVD from microsoft just make a setup.bat file on your desktop and put the following info in it where * is your DVD drive
*:\setup.exe /no_bsln_check 11/13/2006 9:09 PM | Nothing Fancy

# re: How to install Visual Studio 2005 on XP with just SP1

VS 2005 setup 2/1/2007 10:13 AM | Deniz

# re: How to install Visual Studio 2005 on XP with just SP1

VS 2005 2/1/2007 10:15 AM | Deniz

# re: How to install Visual Studio 2005 on XP with just SP1

How to install VS2005 on XP with just SP1 2/1/2007 10:16 AM | Deniz

# re: How to install Visual Studio 2005 on XP with just SP1

Thank you for sharing this. I was really very surprised when I needed to debug my application that was behaving strangely on XP SP1 and was told by the Visual Studio 2005 installer that it wouldn't install in this environment. 2/14/2007 8:29 AM | JR

# re: How to install Visual Studio 2005 on XP with just SP1

Thanks alot m8s realy needed this super easy fix. 5/2/2007 9:03 AM | Adde

# re: How to install Visual Studio 2005 on XP with just SP1

dude you are the best! After talking with 14 technicians and undergoing 7 system recoveries because of SP2 crashing my PC, I am finally able to Install Visual C++ 2005 without SP2!!! You are a genius dude! I have tried many other websites with extremely complex solutions that did not work. Yours is very simply and it works! YOU ARE T3H 8357! 8/21/2007 9:32 AM | Ean

# re: How to install Visual Studio 2005 on XP with just SP1

Any hack for installing Visual Studio 2005 on Vista?

Helpless...
11/21/2007 10:20 PM | Nick

# re: How to install Visual Studio 2005 on XP with just SP1

I'm try ... and Success... Thank's By Sharing Information ... it's very good ... 12/7/2007 4:27 PM | putra

# re: How to install Visual Studio 2005 on XP with just SP1

Woooow, this really working!!! 12/14/2007 9:36 PM | Shareman

# re: How to install Visual Studio 2005 on Vista

I want to install Visual Studio 2005 on Vista but gives me error "compatiblity Issue' while installing it. 4/7/2008 12:21 AM | Manish

# re: How to install Visual Studio 2005 on XP with just SP1

I want install Visual studio 2005 on but its showing error in windows installerpup up the upgrade patch can not be installed by the windows installer service because the programe need to be upgraded may be missing , or the upgrade patch may update in different version of the program. 4/26/2008 8:37 PM | Manaspita

# re: How to install Visual Studio 2005 on XP with just SP1

Just a quick note to say this works for Vista SP1 aswell (and Visual Studio 2008). Why it doesn't install on Vista SP1 I'll never know. 7/10/2008 8:25 PM | Gilbert

# re: How to install Visual Studio 2005 Vista Home basic

I am unable to install VS2005 on Vista Home basic , it gives a compatibility issue.. Can u guys suggest me a solution.. 7/14/2008 5:06 PM | Abhinandan

# re: How to install Visual Studio 2005 on XP with just SP1

thanks my mate.
i was waisting all my day trying to install it , of course failing each time untill id used your tip. 8/5/2008 4:57 AM | sexha

Post a comment





 

Please add 5 and 4 and type the answer here:

News


Welcome to my blog.
Here's what we've got on the menu today:

Tag Cloud


Article Categories

Archives

Post Categories

Image Galleries

Syndication: