Click here to Skip to main content
Licence 
First Posted 18 Dec 2006
Views 59,289
Bookmarked 16 times

Installing Visual Studio 2005 Service Pack 1

By | 18 Dec 2006 | Article
Tips and tricks on upgrading your VS2005 installation to SP1

Introduction

Visual Studio 2005 Service Pack 1 is a significant upgrade that should be installed at your earliest convenience. If you're like me, your friends will report absolutely flawless upgrade experiences while you sit and struggle. This article compiles a list of resources you may need for installation.

Please leave comments below if you have ideas or additional resources and I will incorporate them. I'm not affiliated with Microsoft so this is just from my personal experience.

Prerequisites

  • Visual Studio 2005

What's new in SP1

This list is growing. If you have links or information, please provide it in the comments and I'll add it here.

Installation

  1. Disable Software Restriction Enforcement
    1. Click Start -> Control Panel
    2. Open Administrative Tools
    3. Open Local Security Settings
    4. Click Software Restriction Policies
      If no software restrictions are defined, right click the Software Restriction Policies node and select New Software Restriction Policy
    5. Double click Enforcement
    6. Select "All users except local administrators"
    7. Click OK
    8. Reboot the machine
  2. (Optional) Disable the Patch Cache

    You can eliminate 1.3 GB of disk I/O, and cut the installation time significantly, by temporarily disabling the Patch Cache.

    • Download the patch.
    • Save the following to a batch file in the same directory you saved the SP1 install file:

    reg export HKLM\Software\Policies\Microsoft\Windows\Installer 
                                installer.reg
    reg add HKLM\Software\Policies\Microsoft\Windows\Installer /v 
                MaxPatchCacheSize /t REG_DWORD /d 0 /f
    net stop msiserver
    start /wait VS80sp1-KB926601-X86-ENU.exe
    reg delete HKLM\Software\Policies\Microsoft\Windows\Installer /v 
                MaxPatchCacheSize /f reg import installer.reg
    net stop msiserver
    del /q installer.reg 2>nul
    

    • Run the batch file
    • (Optional) Uninstall Visual C++
      The upgrade will apparently run much faster without C++. I haven't tested it, but you may want to consider uninstalling C++ and then reinstalling VC++ Express Edition if the day ever comes that you need C++.
    • Download Visual Studio 2005 Service Pack 1 and attempt an upgrade. If you're lucky it will work and you don't need the rest of this article. If not, see the list of troubleshooting links at the bottom.

The upgrade may not be easy! SP1 takes anywhere from 20 minutes to 1 hour to install. Ultimately, I had to uninstall Visual Studio 2005, reinstall, then apply the service pack. My VS2005 installation didn't just uninstall either. I had to manually remove files.

Once you finally have it installed, your Help > About dialog in VS2005 should look like this:

Troubleshooting

SP1 Release Notes Microsoft
Installation takes a long time or appears to start over Paul Wilson
Tips on optimizing the upgrade Scott Guthrie
Manual Uninstall: "Setup is unable to determine a valid ordering for the installation. See the error log for further details" when trying to uninstall Visual Studio 2003 or 2005 Microsoft
Silent install and other optimization tips Heath Stewart
"Software Restriction Policy..." Heath Stewart
Disabling Patch Cache Heath Stewart

About Benjamin Allfree

Benjamin Allfree runs Launchpoint Software Inc., a technology-agnostic company specializing in unparalleled custom software solutions. Benjamin spends most of his time researching architecture and new technology.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Ben Allfree



United States United States

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
Questionwindows become smaller and graphic problem... PinmemberAka0117:50 3 Feb '12  
GeneralMy vote of 5 Pinmemberdylanberry8:03 17 May '11  
GeneralFurther improvements PinmemberAlex_Raider5:07 7 Sep '07  
GeneralBatch script improvement Pinmemberabulka11:33 21 Mar '07  
GeneralRe: Batch script improvement PinmemberBen Allfree11:55 21 Mar '07  
JokeI report... PinmemberBartosz Bien9:45 19 Dec '06  
GeneralRe: I report... PinmemberBen Allfree17:02 19 Dec '06  
GeneralRe: I report... PinmemberBartosz Bien23:19 22 Dec '06  
GeneralWriting a good article PinmemberWalderMort2:02 19 Dec '06  
GeneralRe: Writing a good article PinmemberBen Allfree5:06 19 Dec '06  
QuestionList of Issues fixed by SP1? PinsitebuilderUwe Keim1:37 19 Dec '06  
AnswerRe: List of Issues fixed by SP1? PinmemberJohn Simmons / outlaw programmer3:00 19 Dec '06  
GeneralRe: List of Issues fixed by SP1? PinsitebuilderUwe Keim3:57 19 Dec '06  
GeneralRe: List of Issues fixed by SP1? PinmemberJohn Simmons / outlaw programmer4:02 19 Dec '06  
JokeRe: List of Issues fixed by SP1? PinsitebuilderUwe Keim4:19 19 Dec '06  
GeneralRe: List of Issues fixed by SP1? PinmemberJohn Simmons / outlaw programmer5:50 19 Dec '06  
GeneralRe: List of Issues fixed by SP1? PinsitebuilderUwe Keim6:02 19 Dec '06  
GeneralRe: List of Issues fixed by SP1? PinmemberOfflinesurfer4:43 26 Jan '07  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120517.1 | Last Updated 19 Dec 2006
Article Copyright 2006 by Ben Allfree
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid