Update Rollup 2 setup failure when installing KB899337
I heard from a couple of customers today who ran into a new (to me) setup problem while installing Update Rollup 2 for Windows XP Media Center Edition 2005, and I decided to post it here as well in case anyone else sees it. The customers who saw this issue visited Windows Update and attempted to install Update Rollup 2, but it failed and reported a generic "setup failed" message.
In the cases I have seen so far, one of the prereqisite packages for Update Rollup 2 (a networking control panel hotfix described by KB899337) failed to install because there was another hotfix installed that updates one of the same files (an Internet Explorer cumulative security update described by KB912812).
How can I workaround this issue?
In the cases I have seen so far, uninstalling Security Update for Windows XP (KB912812) and then attempting to reinstall Update Rollup 2 has proven successful. The following steps can be used to accomplish this:
- Click on the Start menu, choose Run and type appwiz.cpl to go to the Add or Remove Programs Control Panel
- Check the box labeled Show updates in the top middle of the Add or Remove Programs window
- Locate the section named Windows XP - Software Updates and choose to uninstall the package named Security Update for Windows XP (KB912812)
- Attempt to install Update Rollup 2 again by returning to Windows Update or running the setup package located here
- After successfully installing Update Rollup 2, return to Windows Update and re-install Security Update for Windows XP (KB912812)
How can I tell if this issue is the one affecting my machine?
You can diagnose this issue by looking at a couple of the log files that Update Rollup 2 setup creates. First, you can open %windir%\mcsetup.log in a text editor such as Notepad. If KB899337 is the package that fails on your system, you will see the following entry at the end of mcsetup.log:
Generic Package: 04/18/06. 19:33:02
Looking for existing install of the generic package
Creating Process: WindowsXP-KB899337-v2-x86.exe /quiet /norestart
Process returned 0x00000643
The 0x00000643 return code (which translates to 1603 in decimal) represents the return code for a generic error in a Windows hotfix package.
Now, you can look at %windir%\kb899337.log to determine the exact reason why this hotfix failed to install. In the cases I have seen so far, the error in kb899337.log looks like the following:
2.406: AnalyzeForBranching: g_bMigrate set to TRUE because target file c:\windows\system32\xpsp3res.dll has branch sp2gdr which is smaller than branch for sp2qfe
....
12.609: MigrateHotfix: Migrating hotfix KB912812
12.641: Rename failed. Destination path c:\windows\$NtUninstallKB912812_0$ exists.
12.641: MigrateHotfixes: Migration of KB912812 failed
12.641: DoInstallation: Migration failed
Comments
Anonymous
April 18, 2006
Firstly, I think it would be good form for an update rollup to include its prerequisites - isn't that what a rollup should be :)
Secondly, it is really frustrating that windows updates do not seem to have the smarts to cope with updating the same file. I ran into a similar problem with KB885250 & KB885835 (refer http://www.msfn.org/board/index.php?showtopic=38820&st=60&p=279415&#entry279415). I really don't think this should happen in the first place, but if it does then MS should ship a new update that sorts out the clash as soon as possible!Anonymous
April 18, 2006
Hi Troy - Update Rollup 2 does contain its prerequisites. The KB899337 is installed as a chained prereq by Update Rollup 2 setup. We could not directly install the networking files because they needed to be packaged independently because other people outside of Media Center might have needed that fix.
I agree that it is frustrating that hotfixes can interfere with each other in this way. Hopefully we'll be able to figure out better root causes and prevent this from happening in future hotfixes. I'm sorry for the hassles that this has caused you.Anonymous
May 06, 2006
Mine says "Thsi update cannot be removed"
When I try to launch my roll-up2 for the disc, it errors on MCInstaller.exe - Common Language Runtime Debugging Service.
Application has generated an expetion that could not be handled.
process id=0xec0 (3776), thread id=0xe3c (3664)
ok to terminate, cancel to debug
Any help?Anonymous
May 07, 2006
Hi Peter - Can you please try the workaround described at http://blogs.msdn.com/astebner/archive/2005/12/06/500801.aspx and see if that helps resolve this issue on your system?Anonymous
May 17, 2006
I've just followed this guide, and now I have update 2 installed.
But hardly any of my apps work, Internet explorer, MSN Messenger, Yahoo Messenger, Steam.
What's happening?Anonymous
May 17, 2006
Hey man - No worries, I uninstalled IE7, installed the security patch again, and everything's fine.
Loving the blog btw, tons of useful stuff.Anonymous
May 22, 2006
I have previously written about a couple of instances where Update Rollup 2 for Windows XP Media Center...Anonymous
June 29, 2006
PingBack from http://blogs.msdn.com/astebner/articles/487537.aspxAnonymous
October 12, 2006
The comment has been removedAnonymous
October 19, 2006
Hi Andrewrc - I would suggest following the steps listed in this blog post, except where it says to remove KB912812, instead you should remove KB918899. Hopefully this will help.Anonymous
November 04, 2006
This article serves as a central location for all links to troubleshooting documentation that has beenAnonymous
November 25, 2006
The comment has been removedAnonymous
November 25, 2006
The comment has been removedAnonymous
November 25, 2006
Hi Vekkul - The important lines in your log file are towards the end. From your first post: 17.921: MigrateHotfixes: Migration of KB920213 failed And from your 2nd post: 19.219: MigrateHotfixes: Migration of KB922760 failed You will need to uninstall KB920213 and/or KB922760 and try to install Update Rollup 2 again. Hopefully this will help you resolve this issue. Please let me know how it goes.Anonymous
November 28, 2006
I have previously written about a couple of instances where Update Rollup 2 for Windows XP Media CenterAnonymous
December 23, 2006
Hi, I'm installing the Rollup 2 update and have to do it manually. I checked the MCsetup file in word pad and there is nothing in the log that shows the setup of this file even tried to occur. (could this be because I'm using the command prompt? I'm somewhat new to all these technical things in windows updates, but I understand it as I see it and as you explain it without much detail) while manually installing, KB 899337 failed and I am unable to uninstall updates through appwiz.cpl because the option to remove does not exist so I do not know how to get rid of KB912812 as described above. How would I uninstall this?Anonymous
December 25, 2006
Hi Soulsurvivor - You might need to uninstall a different update rather than KB912812. I have seen several different updates cause problems and prevent KB899337 from installing correctly. You can check at the bottom of the log file named %windir%kb899337.log to figure out exactly which update needs to be uninstalled. If you have any doubts about what to try next, please zip and send me the log files listed at http://blogs.msdn.com/astebner/archive/2005/10/16/481689.aspx and I'll try to take a look and see if I can figure anything out. You can send the logs to Aaron.Stebner (at) Microsoft (dot) com.Anonymous
January 09, 2007
The comment has been removedAnonymous
January 09, 2007
astebner, I have fixed my installation issues. Here is how I did it(with your coaching). I removed the KB904706 update that was preinstalled in my Media Center 2005 using the method your gave us. Next I had to remove the WMP10 update KB903157 in order for KB895572 to install properly. Then I had to uninstall KB920213 and reboot to finish it's removal. I completed my installation after my reboot and tada. MCE Rollup 2 was installed without a hitch. I do not know why it was looking to migrate KB925454 as it was never installed(wasn't in add/remove), but after the reboot, it was all great. Please let people know how I did this to aid in their installation problems. By the way, it's great to have a resource such as this blog to troubleshoot from. You, and people like you, are the reason MCE customers(any PC user) can enjoy all the luxuries of MCE 2005. Thank you, selvidge420Anonymous
January 09, 2007
Hi Selvidge420 - Thank you for sharing your experience and letting everyone else know what steps you used to successfully install Update Rollup 2. I'm very sorry for the hassles that this caused you though.Anonymous
January 26, 2007
That's a great tutorial, selvidge, but I don't know how to uninstall the updates. I don't know how to remove KB904706 or KB920213. Any links or tips would be great. Thanks.Anonymous
January 26, 2007
The comment has been removedAnonymous
January 26, 2007
Thanks. I went to that page, but it didn't help. I used the same paths, because I don't know where the keys are located. Where would they be? Can you give me the paths?Anonymous
January 26, 2007
Hi iNfluX - In order to find the registry values for the hotfixes you are interested in removing, you should replace any instances of "KB904706" in the blog post at http://blogs.msdn.com/astebner/archive/2006/06/14/631899.aspx with the KB number of the hotfix(es) you want to remove. The following are the download loacations for each of the hotfixes that you mentioned: KB904706 - http://www.microsoft.com/downloads/details.aspx?familyid=2636cfce-49ea-4d06-80ba-21a84f3658a5&displaylang=en KB920213 - http://www.microsoft.com/downloads/details.aspx?familyid=c16e1607-f396-4113-89f6-1fe89ec54b6a&displaylang=en Hope this helps!Anonymous
April 03, 2007
I attempted to install the Microsoft Scalable Networking Pack (KB912222) but it ran me through the meat grinder! Ultimately, I solved the problem, though. ...