Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

Update Rollup 2 setup failure when installing KB899337

Update Rollup 2 setup failure when installing KB899337

  • Comments 25

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:

  1. Click on the Start menu, choose Run and type appwiz.cpl to go to the Add or Remove Programs Control Panel
  2. Check the box labeled Show updates in the top middle of the Add or Remove Programs window
  3. Locate the section named Windows XP - Software Updates and choose to uninstall the package named Security Update for Windows XP (KB912812)
  4. Attempt to install Update Rollup 2 again by returning to Windows Update or running the setup package located here
  5. 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

 

  • 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?

  • 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.

  • This is my log file for KB899337.  It says the Hotfix KB925454 failed to migrate, which isn't installed on my PC.  I have read the beginning of the log to see it fails here every time I attempt to install.  Please let me know what I can do to fix this issue.

    1.125: ================================================================================

    1.125: 2007/01/09 08:27:50.030 (local)

    1.125: f:\e7bf6512ea08c4064b0fa995632310a5\update\update.exe (version 6.1.22.4)

    1.141: Hotfix started with following command line: /quiet /norestart

    1.969: In Function TestVolatileFlag, line 11660, RegOpenKeyEx failed with error 0x2

    1.969: In Function TestVolatileFlag, line 11692, RegOpenKeyEx failed with error 0x2

    1.969: ---- Old Information In The Registry ------

    1.969: Source:C:\WINDOWS\$NtUninstallKB904706$\spuninst\_000002_.tmp.dll (6.2.29.0)

    1.969: Destination:

    1.969: Source:C:\WINDOWS\$NtUninstallKB904706$\spuninst\_000005_.tmp.dll (6.2.29.0)

    1.969: Destination:

    1.969: Source:C:\WINDOWS\$NtUninstallKB904706$\spuninst

    1.969: Destination:

    1.969: Source:C:\WINDOWS\$NtUninstallKB904706$

    1.969: Destination:

    1.969: Source:c:\windows\$hf_mig$

    1.969: Destination:

    1.969: Source:C:\WINDOWS\$NtUninstallKB903157$\spuninst\_000000_.tmp.dll

    1.969: Destination:

    1.984: Source:C:\WINDOWS\$NtUninstallKB903157$\spuninst\_000003_.tmp.dll (6.1.22.4)

    1.984: Destination:

    1.984: Source:C:\WINDOWS\$NtUninstallKB903157$\spuninst

    1.984: Destination:

    1.984: Source:C:\WINDOWS\$NtUninstallKB903157$

    1.984: Destination:

    1.984: Source:c:\windows\$hf_mig$

    1.984: Destination:

    1.984: ---- New Information In The Registry ------

    1.984: Source:C:\WINDOWS\$NtUninstallKB904706$\spuninst\_000002_.tmp.dll (6.2.29.0)

    1.984: Destination:

    1.984: Source:C:\WINDOWS\$NtUninstallKB904706$\spuninst\_000005_.tmp.dll (6.2.29.0)

    1.984: Destination:

    1.984: Source:C:\WINDOWS\$NtUninstallKB904706$\spuninst

    1.984: Destination:

    1.984: Source:C:\WINDOWS\$NtUninstallKB904706$

    1.984: Destination:

    1.984: Source:c:\windows\$hf_mig$

    1.984: Destination:

    1.984: Source:C:\WINDOWS\$NtUninstallKB903157$\spuninst\_000000_.tmp.dll

    1.984: Destination:

    1.984: Source:C:\WINDOWS\$NtUninstallKB903157$\spuninst\_000003_.tmp.dll (6.1.22.4)

    1.984: Destination:

    1.984: Source:C:\WINDOWS\$NtUninstallKB903157$\spuninst

    1.984: Destination:

    1.984: Source:C:\WINDOWS\$NtUninstallKB903157$

    1.984: Destination:

    1.984: Source:c:\windows\$hf_mig$

    1.984: Destination:

    1.984: SetProductTypes: InfProductBuildType=BuildType.IP

    1.984: SetAltOsLoaderPath: No section uses DirId 65701; done.

    2.031: DoInstallation: FetchSourceURL for f:\e7bf6512ea08c4064b0fa995632310a5\update\update_SP2QFE.inf failed

    2.031: CreateUninstall = 0,Directory = C:\WINDOWS\$NtUninstallKB899337$

    2.031: LoadFileQueues: UpdSpGetSourceFileLocation for halaacpi.dll failed: 0xe0000102

    2.031: BuildCabinetManifest: update.url absent

    2.031: Starting AnalyzeComponents

    2.031: AnalyzePhaseZero used 0 ticks

    2.031: No c:\windows\INF\updtblk.inf file.

    2.031: SetupFindFirstLine in LoadExclusionList Failed with error: 0xe0000102

    2.031: SetupFindFirstLine in LoadExclusionList Failed with error: 0xe0000102

    2.031: Enumerating Devices of nettrans, GUID {4d36e975-e325-11ce-bfc1-08002be10318}

    2.078: Enumerating Devices of netservice, GUID {4d36e974-e325-11ce-bfc1-08002be10318}

    2.094: OEM file scan used 63 ticks

    2.766: AnalyzePhaseOne: used 735 ticks

    2.766: AnalyzeComponents: Hotpatch analysis disabled; skipping.

    2.766: AnalyzeComponents: Hotpatching is disabled.

    2.766: FindFirstFile c:\windows\$hf_mig$\*.*

    2.844: AnalyzeForBranching: g_bMigrate set to TRUE because target file c:\windows\system32\xpsp3res.dll has branch sp2gdr which is smaller than branch for sp2qfe

    2.844: AnalyzeForBranching used 16 ticks.

    2.844: AnalyzePhaseTwo used 0 ticks

    2.844: AnalyzePhaseThree used 0 ticks

    2.844: AnalyzePhaseFive used 0 ticks

    2.859: AnalyzePhaseSix used 15 ticks

    2.859: AnalyzeComponents used 828 ticks

    2.859: Downloading 0 files

    2.859: bPatchMode = FALSE

    2.859: Inventory complete: ReturnStatus=0, 828 ticks

    2.859: Num Ticks for invent : 828

    2.859: VerifySize: Unable to verify size: Source = NULL: c:\windows\inf\HFX5A.tmp

    2.859: Copied file:  c:\windows\inf\branches.inf

    10.406: Conditional load of section MediaCenter.Reg.Install.Condition succeeded

    10.406: Allocation size of drive C: is 4096 bytes, free space = 52328632320 bytes

    10.406: Drive C: free 49904MB req: 5MB w/uninstall 0MB

    10.406: CabinetBuild complete

    10.406: Num Ticks for Cabinet build : 7547

    10.406: DynamicStrings section not defined or empty.

    10.406: FileInUse:: need to restart already, turn off

    11.422: LoadFileQueues: UpdSpGetSourceFileLocation for halaacpi.dll failed: 0xe0000102

    15.016: System Restore Point set.

    15.234: PFE2: Not avoiding Per File Exceptions.

    15.484: DoInstallation: Installing assemblies with source root path: f:\e7bf6512ea08c4064b0fa995632310a5\

    15.484: Num Ticks for Copying files : 5078

    15.484: Num Ticks for Reg update and deleting 0 size files : 0

    15.484: DoInstallation: ApplyAdminSystemAclsRecursive for c:\windows\$hf_mig$\KB899337 failed; error=0x00000003

    15.484: ---- Old Information In The Registry ------

    15.484: Source:C:\WINDOWS\$NtUninstallKB904706$\spuninst\_000002_.tmp.dll (6.2.29.0)

    15.484: Destination:

    15.500: Source:C:\WINDOWS\$NtUninstallKB904706$\spuninst\_000005_.tmp.dll (6.2.29.0)

    15.500: Destination:

    15.500: Source:C:\WINDOWS\$NtUninstallKB904706$\spuninst

    15.500: Destination:

    15.500: Source:C:\WINDOWS\$NtUninstallKB904706$

    15.500: Destination:

    15.500: Source:c:\windows\$hf_mig$

    15.500: Destination:

    15.500: Source:C:\WINDOWS\$NtUninstallKB903157$\spuninst\_000000_.tmp.dll

    15.500: Destination:

    15.500: Source:C:\WINDOWS\$NtUninstallKB903157$\spuninst\_000003_.tmp.dll (6.1.22.4)

    15.500: Destination:

    15.500: Source:C:\WINDOWS\$NtUninstallKB903157$\spuninst

    15.500: Destination:

    15.500: Source:C:\WINDOWS\$NtUninstallKB903157$

    15.500: Destination:

    15.500: Source:c:\windows\$hf_mig$

    15.500: Destination:

    15.500: ---- New Information In The Registry ------

    15.500: Source:C:\WINDOWS\$NtUninstallKB904706$\spuninst\_000002_.tmp.dll (6.2.29.0)

    15.500: Destination:

    15.500: Source:C:\WINDOWS\$NtUninstallKB904706$\spuninst\_000005_.tmp.dll (6.2.29.0)

    15.500: Destination:

    15.500: Source:C:\WINDOWS\$NtUninstallKB904706$\spuninst

    15.500: Destination:

    15.500: Source:C:\WINDOWS\$NtUninstallKB904706$

    15.500: Destination:

    15.500: Source:c:\windows\$hf_mig$

    15.500: Destination:

    15.500: Source:C:\WINDOWS\$NtUninstallKB903157$\spuninst\_000000_.tmp.dll

    15.500: Destination:

    15.500: Source:C:\WINDOWS\$NtUninstallKB903157$\spuninst\_000003_.tmp.dll (6.1.22.4)

    15.500: Destination:

    15.500: Source:C:\WINDOWS\$NtUninstallKB903157$\spuninst

    15.500: Destination:

    15.500: Source:C:\WINDOWS\$NtUninstallKB903157$

    15.500: Destination:

    15.500: Source:c:\windows\$hf_mig$

    15.500: Destination:

    15.500: UpdateSpUpdSvcInf: Source [ProcessesToRunAfterReboot] section is empty; nothing to do.

    15.500: MigrateHotfix: Migrating hotfix KB925454

    15.500: Migrating QFE KB925454 with command line: update.exe -Z -Q -B:sp2qfe

    19.062: Update.exe failed 1603.

    19.062: MigrateHotfixes: Migration of KB925454 failed

    19.062: DoInstallation: Migration failed

    19.297: Failed to migrate dependent packages.

    19.297: Update.exe extended error code = 0xf0ea

    19.297: Update.exe return code was masked to 0x643 for MSI custom action compliance.

  • 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,

    selvidge420

  • 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.

  • 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.

  • Hi iNfluX - In most cases, you can remove hotfixes like KB904706 and KB920213 by going to Add/Remove Programs, checking the Show Updates box at the top, then finding the hotfixes in the list of installed updates and clicking the remove button.

    If there is not an uninstall option available for the hotfix you want to remove, you may have to use steps like the ones listed at http://blogs.msdn.com/astebner/archive/2006/06/14/631899.aspx.

  • 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?

  • 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!

  • I attempted to install the Microsoft Scalable Networking Pack (KB912222) but it ran me through the meat grinder! Ultimately, I solved the problem, though. ...

Page 2 of 2 (25 items) 12
Leave a Comment
  • Please add 1 and 8 and type the answer here:
  • Post