Wednesday, August 13, 2008

Error 32003 vsvars32.bat could not be opened for write solution

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.

Success!

3 comments <Add new>:

Anonymous said...

Thank you. It worked for me too.

Anonymous said...

This fix works for the latest service pack:
Security Update for Microsoft Visual Studio 2008 Service Pack 1 (KB971092)

~Valamas

Anonymous said...

thanks..saves me time searching for other solution.
This issue happened for me while installing SP1 on my Win7 virtual machine.


Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner