TFS & Visual Studio ALM - by Neno Loje

(formerly Team System, VSTS)

News

Recent Posts

Community

Tags

Email Notifications

VSTS Blogs

VSTS Community

My Other Blogs

German VSTS Websites

Archives

Hotfix KB 971092 for Visual Studio 2008 SP1 install problems

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.

Comments

m williams said:

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

# July 29, 2009 9:49 PM

kauhl said:

thanks for this tip. it worked beautifully.

# July 29, 2009 11:23 PM

guest said:

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.

# July 30, 2009 1:19 AM

HR said:

Cool :) works for me. WINXP_SP3

# July 30, 2009 1:55 AM

Hynek said:

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

# July 30, 2009 2:33 AM

Orbusian said:

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]

# July 30, 2009 2:45 AM

Stephen said:

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

# July 30, 2009 8:49 AM

Julián said:

Thank you. Works great!

Vista 32 SP2 ESN + VS2008TS SP1 ESN

# July 30, 2009 9:24 AM

david said:

Wow, seriously? This is the recommended solution?

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

# July 30, 2009 9:41 AM

Josh Hurley said:

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

# July 30, 2009 9:51 AM

David Reuben said:

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

# July 30, 2009 4:24 PM

道具眼日誌:古田-私的記録 said:

Visual Studio 2008 SP1用の更新KB971092が何度適用し...

# July 31, 2009 1:31 AM

Martin said:

Had this problem - now it's done. Thx, Martin

# July 31, 2009 3:55 AM

SebIT said:

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.

# July 31, 2009 4:34 AM

David Evan said:

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.

# July 31, 2009 6:27 AM

Bob's Nieuws said:

De afgelopen periode was Microsoft vrijwel onophoudelijk in het nieuws met Windows 7. Zo verschenen er

# July 31, 2009 7:04 AM

David Evan said:

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.

# July 31, 2009 7:16 AM

Clive Chinery said:

If you experienced this problem with the update, please go to connect.microsoft.com/.../ViewFeedback.aspx and vote to indicate to Microsoft that it is a problem.

# July 31, 2009 11:04 AM

Jim4Prez said:

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.

# July 31, 2009 2:00 PM

Frank de Groot said:

Thanks!

# August 1, 2009 3:38 AM

Antonio said:

Where is the temp folder that the patch extracted to?

# August 1, 2009 3:53 AM

Jesus said:

Thank you!!!

# August 1, 2009 11:39 PM

Mike Gale said:

Thanks for that.

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

# August 2, 2009 4:18 PM

Mike Gale said:

At the copy stage (4 above) a file called

$shtdwn$.req

halted the copy.

I copied without it and the process worked.

# August 2, 2009 6:37 PM

Andre said:

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

Leon

# August 3, 2009 12:05 AM

Andre said:

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

# August 3, 2009 12:05 AM

TATWORTH said:

If you have a problem installing this fix, please see connect.microsoft.com/.../ViewFeedback.aspx

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.

# August 3, 2009 2:46 AM

Barry said:

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

# August 3, 2009 12:46 PM

Blaine said:

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.

# August 4, 2009 10:19 AM

Francisco A. Camargo said:

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.

# August 4, 2009 12:35 PM

Clive Chinery said:

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  connect.microsoft.com/.../ViewFeedback.aspx if you have not already done so.

# August 4, 2009 2:52 PM

Akitsu said:

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.

# August 8, 2009 3:42 PM

Dlouw said:

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.

# August 11, 2009 7:33 AM

Ramiz said:

Also change permission of :

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

# September 27, 2009 5:11 PM