Aaron Stebner's WebLog

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

Update Rollup 2 setup failure while installing KB891593

Update Rollup 2 setup failure while installing KB891593

  • Comments 48

I have heard from a couple of customers who have encountered an error during setup for Update Rollup 2 for Media Center 2005, and setup then fails with a generic message (which simply states that setup failed).  In the cases I have seen so far, one of the prereqisite packages for Update Rollup 2 (a DShow hotfix described by KB891593) failed to install because there was another hotfix installed that updates the same file (another DShow hotfix described by KB904706).

This does not happen on all computers that have KB904706 installed before attempting to install Update Rollup 2, but since it has been seen by multiple people now I wanted to post a workaround here just in case anyone else runs into it.

How do I know 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 KB891593 is the package that fails on your system, you will see the following entry in mcsetup.log:

Generic Package:   09/20/05. 09:00:44
Looking for existing install of the generic package
Creating Process: WindowsXP-KB891593-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%\kb891593.log to determine the exact reason why this hotfix failed to install.  In the cases I have seen so far, the error in kb891593.log looks like the following:

3.437: DoInstallation: Installation was canceled because migration is blocked by following files:
3.437: Package KB904706, File c:\windows\system32\dllcache\quartz.dll, Version 6.5.2600.2749, Branch SP2GDR
3.437: Package KB904706, File c:\windows\system32\quartz.dll, Version 6.5.2600.2749, Branch SP2GDR
3.453: KB891593 Setup encountered an error:  Failed to migrate dependent packages.

How can I workaround this issue?

In the cases I have seen so far, uninstalling KB904706 and then attempting to reinstall Update Rollup 2 has proven successful.  The following steps can be used to accomplish this:

  1. Go to the Control Panel and choose Add or Remove Programs
  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 (KB904706)
  4. Attempt to install Update Rollup 2 again by returning to Windows Update or running the setup package located here

Note: Once you have successfully installed Update Rollup 2 for Media Center 2005, you can safely reinstall KB904706 on your system if you would like to.

What is the root cause of this issue?

We are still trying to identify an exact root cause for this problem.  Both KB891593 and KB904706 try to update the file %windir%\system32\quartz.dll, but there is a mechanism within the Windows hotfix setup wrapper (update.exe) that accounts for overlapping files and migrates copies of the file appropriately.  We have attempted to reproduce this issue in our test lab and in the cases we have tried, Update Rollup 2 setup succeeds, and there is information like the following in kb891593.log:

30.891: MigrateHotfix: Migrating hotfix KB904706
30.922: Migrating QFE KB904706 with command line: update.exe -Z -Q -B:sp2qfe
46.500: MigrateHotfix: Hotfix KB904706 successfully migrated
46.500: MigrateHotfixes: Return code: 3010

I will update this post if/when we discover better information about what is causing this problem and why it is not does not reproduce 100% of the time when we try it in our lab.

<update date="2/21/2006"> Added a note that it is safe to reinstall KB904706 after Update Rollup 2 has been successfully installed if you run into this scenario </update>

 

  • Hi Josh - Can you please try the suggestions at http://blogs.msdn.com/astebner/archive/2006/06/14/631899.aspx and see if they help in this scenario?
  • PingBack from http://blogs.msdn.com/astebner/articles/487537.aspx
  • Just wanted to say thanks for this blog.  Same issue was happening to me and worked great :)

  • This article serves as a central location for all links to troubleshooting documentation that has been

  • I have previously written about a couple of instances where Update Rollup 2 for Windows XP Media Center

  • It seems the update KB904706 was preinstalled on my pc.  I have attempted to download and install the update again to try to get it to offer removal, but no luck.  Any ideas?

  • Hi Selvidge420 - There are a couple of options you can try here.  I've listed the options in the order that I suggest you try them in the blog post at http://blogs.msdn.com/astebner/archive/2006/06/14/631899.aspx.  Can you please take a look and see if any of those help in your scenario?

  • I just ran into this problem myself having repaired my sister and brother-in-law's PC.  When I run the Update Rollup 2 it is failing.  I followed the instructions and removed KB904706.  However, it is still failing.  I checked KB891593.log and I see the following error:

    25.890: ---- Old Information In The Registry ------

    25.906: Source:C:\WINDOWS\system32\SET14.tmp (6.5.2600.2709)

    25.906: Destination:C:\WINDOWS\system32\quartz.dll (6.5.2600.2180)

    25.906: ---- New Information In The Registry ------

    25.906: Source:C:\WINDOWS\system32\SET14.tmp (6.5.2600.2709)

    25.906: Destination:C:\WINDOWS\system32\quartz.dll (6.5.2600.2180)

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

    25.906: IsRebootRequiredForFileQueue: At least one file operation was delayed; reboot is required.

                                 If none are listed below, check above for delayed deletes.

    25.906: IsRebootRequiredForFileQueue: c:\windows\system32\quartz.dll was delayed; reboot is required.

    25.906: DoInstallation: A reboot is required to complete the installation of one or more files.

    25.906: In Function SetVolatileFlag, line 11576, RegOpenKeyEx failed with error 0x2

    25.906: In Function SetVolatileFlag, line 11593, RegOpenKeyEx failed with error 0x2

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

    26.078: RebootNecessary = 1,WizardInput = 1 , DontReboot = 1, ForceRestart = 0

    Now there had been a problem right after the repair that required me to open the permissions on the WindowsUpdate key due to the inabililty to install Windows Installer 3.1.  I suspect some other key is write protected but without a key defined in the log file I haven't a clue what to look for.

  • Hi Aardvark - That is strange, this log snippet doesn't seem to show any errors that would cause setup to fail.  If you suspect registry permission issues, you can try to use the SubInAcl tool described at http://blogs.msdn.com/astebner/archive/2006/09/04/solving-setup-errors-by-using-the-subinacl-tool-to-repair-file-and-registry-permissions.aspx and hopefully this will help resolve this issue.

    If that doesn't help, you can also use the steps listed at http://blogs.msdn.com/astebner/archive/2006/05/22/604380.aspx to manually install the pieces of Update Rollup 2, but skip step 7 since KB891593 is failing on this system.

  • Today, I learned a very important lesson about asking for help. I'm the type of guy who prefers to find the answers to problems myself. At work, that normally isn't a problem. There, I really do have to figure something out myself or don't have a pro

  • i can not get the rollup to install :-(

    it fails at the 891593 update.

    i've checked your blog, but the update you suggest removing is not installed on my computer.

    please help.

  • Hi TRBMan - Can you please use the instructions listed at http://blogs.msdn.com/astebner/archive/2005/10/16/481689.aspx to gather and send me log files from Update Rollup 2 setup so I can take a look and see if I can figure anything out?  My email address is listed in that blog post.

  • Hello Aaron,

    I Recently bought a Zune but am having trouble Using the Zune set up software due to my computer not having the roll up 2. I've tried this method but i've had no success doing it on my own. I uninstalled Security Update for Windows XP (KB904706)

    After i did i restarted and tried to install the roll up 2 but as usual it doesn't make any progress even after i leave the computer alone while it tries to install for 1 hour sometimes and the page Im using (Internet Explorer 7) Always freezes up and leaves to have to use Windows task manager to close it and restart.

    I can post the %windir%\kb891593.log here if needed but i wanted to see if you saw any problems with the above before looking into it further. or i'll just have to resort to installing it individually.

  • Hi Ach54 - There are several possible points of failure for Update Rollup 2 setup.  The best way to narrow this down is if you can zip and send me the log files from the list at http://blogs.msdn.com/astebner/archive/2005/10/16/481689.aspx.  My email contact information is in that blog post as well.

  • I am having the same problem with rollup 2. I get as far as it is installing it and it just stops and says it has failed. I have the sytem log of what is going on if it helps. But i need help please!

    Generic Package:   09/30/07. 20:51:04

    Looking for existing install of the generic package

    Generic Package:   09/30/07. 20:51:35

    Looking for existing install of the generic package

    Creating Process: WindowsMedia10-KB895572-x86.exe /quiet /norestart

    Process returned 0x00000643

    Function (ExecCmdInThread) Post Message for Package id :   1045.

    11:41:07 PM : Silent Install.

    11:41:07 PM : No reboot.

    11:41:07 PM : Checking admin account.

    11:41:07 PM : Checking .Net Framework 1.1 and SP1 installed .

    11:41:07 PM : Checking only instance of installer.

    11:41:07 PM : Checking (correct version of MCE OS)

    11:41:07 PM : Verifying hard drive space.

    11:41:07 PM : 38255349760 free space

    11:41:07 PM : Verifying EULA is present.

    11:41:07 PM : Initializing installation packages.

    11:41:07 PM : Start conditions met.

    11:41:08 PM : Initializing 1st package.

    11:41:08 PM : Install package 1 [Hotfix for Windows XP (KB895572)].

    11:41:11 PM : Install package 2 [Hotfix for Windows XP (KB895572)].

    The update to Media Center was not successful. The computer will now be restarted and restored to the state it was in before the update. Please try the installation again, or contact your hardware manufacturer for assistance if the problem persists.

    11:41:11 PM : Not rebooting the machine.

    11:41:11 PM : Checking Exit Code.

    11:41:11 PM : MCinstaller returned exit code - 1603

    11:41:11 PM : Exiting

Page 3 of 4 (48 items) 1234
Leave a Comment
  • Please add 5 and 2 and type the answer here:
  • Post