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>


  • Thanks for this information... It has saved me hours of experimentation!
  • You are my hero! How did you ever find this?@? I must have tried a dozen things (with a restart every step of the way) - This solved my problem right away!
  • Thanks much Aaron, the fix work perfect! Now I’m guessing your not just sitting in your office at Microsoft on a Sunday evening, getting paid to respond to customer issues and your were probably addressing my email (and others I’m sure) from your home or remote location. Reviewing your blog I am sure you spend a lot of personal time keeping that updated as well. If that’s the case, I very much respect your dedication to helping customers and got to believe you’re a personally involved and committed to the WMCE software and working very hard to support it and improve on it (not all on company time). You are the true meaning of dedication the epitome of customer service and I salute you for your fast response and interest in solving my problem.

  • I am having this exact problem trying to install Rollup 2, but unfortunately I cannot uninstall KB904706 since I deleted the $NtUninstallKB904706 directory some time ago (oops!). I tried removing all references to KB904706 from my registry, but the rollup is probably checking the version of the quartz.dll file and still fails.

    Any way I can roll back to an older quartz.dll temporarily so I can get the rollup update installed?
  • Hi Jeremy - I think the best way for you to proceed would be to install KB904706 back onto your system (in order to recreate the $NtUninstallKB904706$ directory), uninstall it, and then proceed with Update Rollup 2 setup. Can you please try that and let me know how it goes?

  • Aaron, thanks for the suggestion ... not sure why I didn't think of it.

    Unfortunately, it didn't work. Even after re-installing and subsequently uninstalling KB904706, update rollup 2 still fails with the same error referencing quartz.dll, which still had the 6.5.2600.2749 version.
  • Hi Jeremy - can you please send me the log file named %windir%\kb891593.log so I can take a look and see if I can figure anything out? You can send it to aaronste@microsoft.com.
  • Aaron ... thanks for all of your help. Your suggestion to rename quartz.dll and then try to install the rollup worked. I renamed the .dll using command-line Safe Mode and then the patch installed successfully!

    Thanks again.
  • This was most helpful. It solved my problem perfectly. Thank you for posting this, I have spent hours to get the rollup to reinstall after I did a re-install of XPMce2005.
  • Aaron,

    Found this webpage and tried what was here, but still it's a no go. I sent you copies of the MCsetup.log and KB891593.log files.
  • Just wanted to say thanks for the fix. I uninstalled KB904706 and I was able to install rollup 2 just fine.
  • Hey thanks Aaron, this page save me alot of trouble.

    After Update Rollup 2 is installed do you re-install KB904706?
  • Thanks for the information.  I'd like to say it worked but the KB904706 update on my computer states that it cannot be uninstalled.  Any suggestions??
  • Hi Mike - It sounds like KB904706 may have been installed originally on your system with a command line switch that prevents uninstall.  Can you try to reinstall KB904706 using the link at http://www.microsoft.com/technet/security/bulletin/ms05-050.mspx and then see if the uninstall option will work for you?
  • Thank you! Thank you! Thank you!! Finally got Rollup 2 installed!
Page 1 of 4 (48 items) 1234
Leave a Comment
  • Please add 4 and 1 and type the answer here:
  • Post