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.

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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

# re: How to install Visual Studio 2005 on vista

Unable to install Visual Studio 2005 on Windows Vista 32bit 1/20/2009 2:36 AM | omnia

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

Thanks a lot for sharing this information.I was searching a lot for that 5/6/2009 6:02 AM | Elza

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

First i had installed VS 2005, it was working fine. But after some days it started givig me errors. I tried to uninstall, but it was giving me an error. So I had directly deleted the whole visual studio from my Program's folder. Now when I tried to reinstall it is giving me an error.
Now what to do?
Please help me......

- Robin 6/5/2009 6:09 AM | ROBIN

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

you are simply great buddy...
Thanks a lot.>!!! 7/9/2009 5:24 AM | Akshay

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

cool dude, wow I already spent many days to do this 7/16/2009 11:59 AM | Antonius,MCTS

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

Am still unable to install it. As soon as i select setup.exe to run, it just exits from setup work... Please help! 8/17/2009 12:00 PM | Amruta

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

God bless you! I'm desparately trying to get our clients over to IE 7 (or, you know, not IE at all) but they still for the most part use IE 6... 11/6/2009 8:50 PM | DDos Protection

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

I HAVE A PROBLEM IN VSTUDIO ITS GIVES JUST-IN-TIME DEBUGGER ERROR 12/22/2009 10:01 PM | PARSHANT

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

i m still uanable to install it.
i have already installed windows installer 3.1 and .net framework 2.0.Someone pleazzzzzzzzzzzz
help me 12/28/2009 9:15 AM | shweta

# How to install Visual Studio 2008 on XP with just SP1

hi,
anyone plz tell me how to install visual studio 2008 on xp with service pack 1. thanks in advance... 1/8/2010 11:19 PM | venu

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

How to use the Visual Studio 2005? 1/12/2010 9:17 AM | Ashok

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

how to instaff microsoft visual studeo 2005 1/14/2010 12:46 AM | vinodha

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

This is some great information. I’m always looking for better ways to get my websites/blogs.thanks a lot 1/18/2010 6:55 PM | tina

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

Thanks for your sharing.so wonderful!wish you have a lovely day and Happy New Year.
MBT shoes
Cheap MBT shoes 2/4/2010 7:56 PM | ella

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

how to install visual studio on xp 2/24/2010 8:13 PM | shaju

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

i installed the visual studio5 but it cant installed fully what s the reason? 3/6/2010 12:25 PM | hema

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

I found your blog from bing and it is totally great. Thanks for providing such an informative post!!!! 3/6/2010 7:07 PM | download word games

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

lanet olsun yhaaa.kuramıyorum yaaa:( 5/19/2010 3:26 AM | busra

Post a comment





 

 

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: