Things I wish I'd known before I installed VS 2005 Service Pack 1
1. Save Time and Space for VS 2005 SP1 by Disabling the Patch Cache (via Heath Stewart)
The SP1 requires a lot of disk I/O. You can eliminate 1.3 GB of disk I/O, and cut the installation time significantly, by temprorarily disabling the Patch Cache. You can read more about it on Heath's post, but here's the basic idea:
- Download the patch here.
- Save the following to a batch file (I called mine InstallVS2005SP1.bat) 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
I installed SP1 twice (see tip 3), and it ran a lot faster with the Patch Cache disabled.