Welcome to MSDN Blogs Sign in | Join | Help

KB944899 Should be Removed before Installing Visual Studio 2008 SP1

 

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.

Published Friday, May 16, 2008 2:02 PM by Heath Stewart

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

Friday, May 16, 2008 5:21 PM by willdean

# re: KB944899 Should be Removed before Installing Visual Studio 2008 SP1

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.

# Microsoft » Blog Archive » KB944899 Should be Removed before Installing Visual Studio 2008 SP1

Friday, May 16, 2008 7:30 PM by Random Debugging Goodies - (Jackson Davis's Blog)

# KB944899

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

Friday, May 16, 2008 8:11 PM by greggm's WebLog

# Visual Studio 2008 SP1 Beta

Monday, May 19, 2008 9:42 AM by insta

# re: KB944899 Should be Removed before Installing Visual Studio 2008 SP1

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

Tuesday, May 20, 2008 12:55 PM by Your Websites, Our Passion!

# Visual Studio 2008 SP1 Beta

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

Tuesday, May 20, 2008 1:01 PM by Your Websites, Our Passion!

# Error occurs installing Visual Studio 2008 SP1 Beta if KB944899 is installed.

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

Saturday, June 07, 2008 12:54 AM by BradleyB's WebLog

# Upgrading to Silverlight Tools Beta 2 and Visual Studio 2008 SP1 Beta

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

Monday, June 09, 2008 11:39 AM by BradleyB's WebLog

# Upgrading to Silverlight Tools Beta 2 and Visual Studio 2008 SP1 Beta

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

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker