TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Hotfix KB 971092 for Visual Studio 2008 SP1 install problems

July 29th, 2009 · 32 Comments · Troubleshooting TFS, VSTS

Windows Update for VS repeats indefinitely Applies to:

Security Update for Microsoft Visual Studio 2008 Service Pack 1 (KB971092)

Symptoms:

The update installs successfully and but will be offered again by Windows Update as a new update. This can be repeated indefinitely.

or

the standalone installer tells you that this update "does not apply, or is blocked by another condition on your system".

Workaround (found here):

  1. Download the stand-alone version of VS90SP1-KB971092-x86.exe.
  2. Start the installation VS90SP1-KB971092-x86.exe
  3. Wait for the error message to come up – do not close the window
  4. Copy the temp. folder where the patch has been unpacked to a new folder, for example onto your desktop.
  5. Close VS90SP1-KB971092-x86.exe that you started in step 2.
  6. Navigate to {Program Files}\Microsoft Visual Studio 9.0\Common7\Tools and find vsvars32.bat.
  7. Change the permissions on the file to allow everyone to edit it.
  8. Start VS90SP1-KB971092-x86.msp from within the saved folder and the process should complete.
  9. You may want to reset permissions that you gave in step 7.

Tags:

32 Comments so far ↓

  • m williams

    Where is the temp folder? the installer doesn’t say

  • kauhl

    thanks for this tip. it worked beautifully.

  • guest

    dosen’t work:

    Error in Template (C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\VisualBasic\Workflow\1033\StateMachineWorkflowLibrary.zip), file (StateMachineWorkflowLibrary.vstemplate). Unregistered ProjectType (VisualBasic). This can be caused by an incorrect ProjectType or because the project type package is not installed.

  • HR

    Cool :) works for me. WINXP_SP3

  • Hynek

    Thanks a lot. This worked for me. :-)

  • Orbusian

    Just use the Extract command line option to extract files as below, to a folder and then install using VS90SP1-KB971092-x86.msp

    VS90SP1-KB971092-x86.exe/Extract [:path]

  • Stephen

    Does not work! I get an error when copying about ‘Cannot copy $shtdwn$: It is being used by another person or program.

  • Julián

    Thank you. Works great!

    Vista 32 SP2 ESN + VS2008TS SP1 ESN

  • david

    Wow, seriously? This is the recommended solution?

    Any plans to release a working version of the hotfix any time soon?

  • Josh Hurley

    The key is to watch were it unpacks, that location is only visible for about 3 seconds…

  • David Reuben

    I followed these instructions exactly, but even after a reboot, Windows Update is still asking me install the Service Pack.

  • Martin

    Had this problem – now it’s done. Thx, Martin

  • SebIT

    On Vista 64Bit the vsvars32.bat is under the “Program Files (x86)” folder. So the correct path is %ProgramFiles(x86)%\Microsoft Visual Studio 9.0\Common7\Tools.

  • David Evan

    Thanks so much for the workaround. This was driving me nuts. Is there any way to fix this in WIndows update rather than having to do all this groveling every time you guys tinker with something? I’m expecting the sleazy kid in the apple commercial to appear any minute now to sell me a Mac.

  • David Evan

    This process works – except for the part about being unable to copy the temporary file in the temporary folder while the installer is running. The workaround to this workaround problem is therefore to

    create a target folder,
    select all the files to copy in the temp folder except for the temp file,
    select copy,
    navigate to the target folder,
    paste the files into the target folder,
    cancel out of the EXE installer,
    run the install from the .msp in the target folder.

  • Clive Chinery

    If you experienced this problem with the update, please go to https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=478117&wa=wsignin1.0 and vote to indicate to Microsoft that it is a problem.

  • Jim4Prez

    Didn’t help me.

    After following the steps and trying to run the copied (along with the whole extracted directory under C:\) VS90SP1-KB971092-x86.msp I get:

    “This patch could not be opened. Verify that the patch exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer patch package.”

    Thanks.

  • Frank de Groot

    Thanks!

  • Antonio

    Where is the temp folder that the patch extracted to?

  • Jesus

    Thank you!!!

  • Mike Gale

    Thanks for that.

    My faith in the update system is permanently reduced by this experience,

  • Mike Gale

    At the copy stage (4 above) a file called
    $shtdwn$.req
    halted the copy.

    I copied without it and the process worked.

  • Andre

    The sad thing is when you log this bug with Microsoft do they want to charge you.

    Leon

  • Andre

    The sad thing is when you log this bug with Microsoft do they want to charge you.

  • TATWORTH

    If you have a problem installing this fix, please see https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=478117&wa=wsignin1.0

    If you did not install the C++ Components of Visual Studio, please vote at the above URL to indicate to Microsoft that you experianced a problem with this fix.

  • Barry

    Uh, I don’t HAVE a tools folder. New what?

  • Blaine

    There real issue is the permissions on the file {Program Files}\Microsoft Visual Studio 9.0\Common7\Tools and find vsvars32.bat (step 6) and if you just change this then the update will complete correctly.

    There is no need to wait for the error, change it and then let the update run.

  • Francisco A. Camargo

    The workaround does not work for me. I´’ve seen it posted in many sites, but it simply isn’t enough. If anybody know of a better solution, please, post it here.

  • Clive Chinery

    196 people have now indicated that they have experienced this problem. If you have been unable to install VS90SP1-KB971092-x86.exe, please register at https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=478117 if you have not already done so.

  • Akitsu

    In Windows 7 patch installed succesfully when I ran the SPInstaller.exe instead of VS90SP1-KB971092-x86.msp in administrator mode. During installation, patch consumes about 1,5 GB space so check that you have at least that amount free.

  • Dlouw

    You only need to unblock the download and run as administrator.
    Right click VS90SP1-KB971092-x86.exe
    Click Properties
    Click “Unblock” on the General Tab
    Click OK
    Right click VS90SP1-KB971092-x86.exe
    Click “Run as administrator”
    Follow the rest of the prompts as per usual.

  • Ramiz

    Also change permission of :

    C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat

Leave a Comment

*