During installation of Visual Studio 2008 SP1 I got this problem:
Patch (C:\Users\JTB\AppData\Local\Temp\Microsoft Visual Studio 2008 SP1\VS90sp1-KB945140-X86-ENU.msp) install failed on product (Microsoft Visual Studio 2008 Professional Edition - ENU). Msi Log: Microsoft Visual Studio 2008 SP1_20080813_150733058-Microsoft Visual Studio 2008 Professional Edition - ENU-MSP0.txt
Final Result: Installation failed with error code: (0x80070643), Fatal error during installation.
I then tried to run VS90sp1-KB945140-X86-ENU.msp manually and got this message box.
Error 32003.File ‘C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat’ could not be opened for write.
To solve it by I giving myself write permissions.