Geeks With Blogs

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

Lorin Thwaits A geek says what?

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.

Posted on Wednesday, November 30, 2005 8:19 AM VS2005 | Back to top


Comments on this post: How to install Visual Studio 2005 on XP with just SP1

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
excellent works for me!
Left by Zippy IS a Coder on Dec 14, 2005 5:56 AM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
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
Left by rpglvlan on May 23, 2006 4:53 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
how can i install msdn with windows XP SP1 ?
Left by ying on Oct 10, 2006 11:25 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
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 :-)
Left by nothing fancy on Nov 13, 2006 9:05 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
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
Left by Nothing Fancy on Nov 13, 2006 9:09 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
VS 2005 setup
Left by Deniz on Feb 01, 2007 10:13 AM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
VS 2005
Left by Deniz on Feb 01, 2007 10:15 AM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
How to install VS2005 on XP with just SP1
Left by Deniz on Feb 01, 2007 10:16 AM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
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.
Left by JR on Feb 14, 2007 8:29 AM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
Thanks alot m8s realy needed this super easy fix.
Left by Adde on May 02, 2007 9:03 AM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
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!
Left by Ean on Aug 21, 2007 9:32 AM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
Any hack for installing Visual Studio 2005 on Vista?

Helpless...
Left by Nick on Nov 21, 2007 10:20 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
I'm try ... and Success... Thank's By Sharing Information ... it's very good ...
Left by putra on Dec 07, 2007 4:27 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
Woooow, this really working!!!
Left by Shareman on Dec 14, 2007 9:36 PM

# re: How to install Visual Studio 2005 on Vista
Requesting Gravatar...
I want to install Visual Studio 2005 on Vista but gives me error "compatiblity Issue' while installing it.
Left by Manish on Apr 07, 2008 12:21 AM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
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.
Left by Manaspita on Apr 26, 2008 8:37 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
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.
Left by Gilbert on Jul 10, 2008 8:25 PM

# re: How to install Visual Studio 2005 Vista Home basic
Requesting Gravatar...
I am unable to install VS2005 on Vista Home basic , it gives a compatibility issue.. Can u guys suggest me a solution..
Left by Abhinandan on Jul 14, 2008 5:06 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
thanks my mate.
i was waisting all my day trying to install it , of course failing each time untill id used your tip.
Left by sexha on Aug 05, 2008 4:57 AM

# re: How to install Visual Studio 2005 on vista
Requesting Gravatar...
Unable to install Visual Studio 2005 on Windows Vista 32bit
Left by omnia on Jan 20, 2009 2:36 AM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
Thanks a lot for sharing this information.I was searching a lot for that
Left by Elza on May 06, 2009 6:02 AM

# How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
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
Left by ROBIN on Jun 05, 2009 6:09 AM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
you are simply great buddy...
Thanks a lot.>!!!
Left by Akshay on Jul 09, 2009 5:24 AM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
cool dude, wow I already spent many days to do this
Left by Antonius,MCTS on Jul 16, 2009 11:59 AM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
Am still unable to install it. As soon as i select setup.exe to run, it just exits from setup work... Please help!
Left by Amruta on Aug 17, 2009 12:00 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
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...
Left by DDos Protection on Nov 06, 2009 8:50 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
I HAVE A PROBLEM IN VSTUDIO ITS GIVES JUST-IN-TIME DEBUGGER ERROR
Left by PARSHANT on Dec 22, 2009 10:01 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
i m still uanable to install it.
i have already installed windows installer 3.1 and .net framework 2.0.Someone pleazzzzzzzzzzzz
help me
Left by shweta on Dec 28, 2009 9:15 AM

# How to install Visual Studio 2008 on XP with just SP1
Requesting Gravatar...
hi,
anyone plz tell me how to install visual studio 2008 on xp with service pack 1. thanks in advance...
Left by venu on Jan 08, 2010 11:19 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
How to use the Visual Studio 2005?
Left by Ashok on Jan 12, 2010 9:17 AM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
how to instaff microsoft visual studeo 2005
Left by vinodha on Jan 14, 2010 12:46 AM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
This is some great information. I’m always looking for better ways to get my websites/blogs.thanks a lot
Left by tina on Jan 18, 2010 6:55 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
Thanks for your sharing.so wonderful!wish you have a lovely day and Happy New Year.
MBT shoes
Cheap MBT shoes
Left by ella on Feb 04, 2010 7:56 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
how to install visual studio on xp
Left by shaju on Feb 24, 2010 8:13 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
i installed the visual studio5 but it cant installed fully what s the reason?
Left by hema on Mar 06, 2010 12:25 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
I found your blog from bing and it is totally great. Thanks for providing such an informative post!!!!
Left by download word games on Mar 06, 2010 7:07 PM

# re: How to install Visual Studio 2005 on XP with just SP1
Requesting Gravatar...
lanet olsun yhaaa.kuramıyorum yaaa:(
Left by busra on May 19, 2010 3:26 AM

Your comment:
 (will show your gravatar)


Copyright © Lorin Thwaits | Powered by: GeeksWithBlogs.net