KB944899 Should be Removed before Installing Visual Studio 2008 SP1

KB944899 Should be Removed before Installing Visual Studio 2008 SP1

  • Comments 16

 

Before installing Visual Studio 2008 Service Pack 1, you should first uninstall KB944899, a hotfix which improves performance when stepping through source downloaded from a source server.

If KB944899 is not removed prior to Visual Studio 2008 SP1, sometime during the middle of installation an error will occur and the error dialog is displayed as shown below.

Click on the "log file" link in the middle of the dialog. If it opens in Internet Explorer, you may have to click on the yellow information bar that appears on the top to allow scripts to run. Check the "Errors" message type and the following errors are highlighted.

Action: Install patch (C:\Users\heaths\AppData\Local\TEMP\VS90sp1-KB945140-X86-ENU.msp) to Microsoft Visual Studio Team System 2008 Team Suite - ENU
Returning IDOK. INSTALLMESSAGE_ERROR [You must first uninstall the update for KB944899 before this installation can continue]
Patch (C:\Users\heaths\AppData\Local\TEMP\VS90sp1-KB945140-X86-ENU.msp) install failed on product (Microsoft Visual Studio Team System 2008 Team Suite - ENU). Msi Log: Microsoft Visual Studio 2008 SP1 (Beta)_20080516_110428247-MSP0.txt
MsiApplyMultiplePatches returned 0x643

How to workaround this issue

You should remove KB944899 using the following instructions.

Download and run the cleanup tool

Updated: Download and run the cleanup utility which will both uninstall the patch if installed and delete any relevant traces in the registry. This is the recommended approach which supersedes the following manual instructions.

Windows Vista and newer

  1. Open Control Panel
  2. Click on "Programs"
  3. Click on "View installed updates"
  4. Remove KB944899 listed under any versions of Visual Studio 2008, ex: "Hotfix for Microsoft Visual Studio Team System 2008 Team Suite - ENU (KB944899)"
  5. If any other patches are installed on Visual Studio 2008, proceed to "Registry cleanup" below.

Windows XP and Server 2003

  1. Open Control Panel
  2. Click on "Add / Remove Programs"
  3. Check "Show updates"
  4. Remove KB944899 listed under any versions of Visual Studio 2008, ex: "Hotfix for Microsoft Visual Studio Team System 2008 Team Suite - ENU (KB944899)"
  5. If any other patches are installed on Visual Studio 2008, proceed to "Registry cleanup" below.

Registry cleanup

Newer patches may write the detection data for KB944899 as a mean for detecting hotfixes, so you may need to delete a registry key to prevent VS2008 SP1 from blocking the installation.

  1. Open an elevated command prompt
  2. Type the following command to determine if any other references to KB944899 are registered
    reg.exe query HKLM\Software\Microsoft\Updates /f KB944899 /k /s
  3. For each search result displayed, copy the full key name including spaces and run the following command to delete the key; replace registry key below with the actual registry key included in quotes
    reg.exe delete "registry key" /f

Description of the issue

The original release of KB944899 added new components into existing features which, though documented as supported, forced those features and their feature trees to be installed. If one or more of those features were not installed on a machine, Windows Installer then prompted for source or simply failed during silent installations. Source is required for the files in those features to be installed.

The current download for KB944899 - a new revision - works around this problem and will not block SP1 but many customers already have the original release of KB944899. To prevent prompting for source and installing features not originally selected for installation based on user preference, VS2008 SP1 will block if the original release of KB944899 is installed or appears to be installed.

KB944899 might also appear to be installed because another update might include the same fixes. In this way, older detection code continues to work with the detection keys when a newer update is installed with the same fixes. This is normally beneficial to deployments that require a specific hotfix to be installed even years after the hotfix was released.

Leave a Comment
  • Please add 7 and 6 and type the answer here:
  • Post
  • It sometimes feels that VS + .NET FX are in a death-spiral of an ever-increasing prevalence of this sort of issue.  

    Getting VS2008 to run on a machine which was only 2 months old but had had VS2008 B2 on it was an epic task.  I can't even face the prospect of SP1-Beta, because I know it will screw-up the installation of SP1-RTM.

    Is there serious concern within MS about these problems and that all the evidence points to them being un-containable?  (http://blogs.msdn.com/astebner/ would have nothing much to write about if divdev could write installers which worked...)

    It's slightly gratifying that even MS developers clearly can't understand how MSI is supposed to work, but only slightly.  

    It's actually pretty depressing given how strong the pressure to use it is on the rest of us.

  • PingBack from http://microsoft.wawblog.info/?p=29864

  • When installing Visual Studio 2008 Sp1 Beta1, you may encounter an error that you must first remove KB944899

  • In case you missed it, Visual Studio 2008 SP1 Beta has been released: http://www.microsoft.com/downloads/details.aspx?familyid=CF99C752-1391-4BC3-BABC-86BC0B9E8E5A&displaylang=en

  • This error message was brought to you by the Department of Redundancy Department.  

  • Visual Studio 2008 SP1 Beta is now available! You can download it here (though before you do, read the

  • If you have the first release of KB945140 installed on your system you may run across an error when trying

  • Silverlight 2 Beta 2 has just been released! Checkout http://silverlight.net/GetStarted/   Silverlight

  • Silverlight 2 Beta 2 has just been released! Checkout http://silverlight.net/GetStarted/   Silverlight

  • I have vs 2008 sp1 beta 1 installed first; then installed sl 2 beta 2 tools.

    VS can not create a sl project: load package error; could not load type "micorsoft.visualstudio.web.silverlight.IVsSilverlightService from assembly 'Microsoft.VisualStudio.Web.Applicatio, version=9.0.0, .....'

  • guangming, this seems to be a known issue with how SL might have been installed. Please read http://silverlight.net/forums/t/15859.aspx for tips on getting back to a good working state.

  • Cleanup tool does *not* work. It asks for the VS2008 disk which I provide and then does not accept the disk (says file not there)

  • Sam, if you are prompted for source when running the uninstall tool (aka , "preparation tool") please note the title of the dialog and provide the source for that product. If from the title you are not sure what MSI file it is, feel free to post it here in comments and I can help you.

  • Soma announced the availability of Visual Studio 2008 Service Pack 1 and .NET 3.5 Service Pack 1 . Installation

  • Windows Installer supports advertising features to enable users to later install those features on demand.

Page 1 of 2 (16 items) 12