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:

  1. Thank you. It worked for me too.

    ReplyDelete
  2. AnonymousJuly 30, 2009

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

    ~Valamas

    ReplyDelete
  3. AnonymousJuly 23, 2010

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

    ReplyDelete

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner