Win7 SP1 Update not installing - mismatched Mail file. 0x80004005

Page 1 of 6 123 ... LastLast

  1. Posts : 37
    Windows 7 Pro x64
       #1

    Win7 SP1 Update not installing - mismatched Mail file. 0x80004005


    After days of chasing this, I'm, baffled and would appreciate assistance.
    I have been unable to install SP1 since it came out, and finally committed to solving the issue. Fail occurs at 80+% completion with the error 0x80004005.

    CBS.log Error line says:
    Attempted to uninstall a version of a non-driver component that is not installed, version: 0X600011db04001, component: x86_microsoft-windows-mail-core-dll_31bf3856ad364e35_6.1.7600.16385_none_585517a9869db81d, owner: Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~amd64~~6.1.7600.16385.Microsoft-Windows-Client-Features-Update [HRESULT = 0x80004005 - E_FAIL]
    Failed to mergecomponent [HRESULT = 0x80004005 - E_FAIL]

    The installer seems to get stuck dealing with the Windows Mail msoe.dll. Two years ago I had followed the manual steps posted in this forum to restore Windows Mail in place of Windows Live Mail. Once the issue was identified as Mail-related, I restored the original msoe.dll files in the two Windows Mail folders. (see attached screencap.) I then switched to/uninstalled/reinstalled Live Mail (which works) to try to get SP1 to find the files it is expecting to find.

    Most recent steps taken:

    - Rebooting with non-microsoft startups and services disabled, including AV.
    - Ran the System Update Readiness Tool. Hotfix for Windows (KB947821) No issues reported.
    - Ran the Fix-It to Automatically diagnose and fix common problems with Windows Update.
    - Ran the Fix-It to increase filter drivers limit from 8 to 14
    - Ran SFC /SCANNOW from an elevated CMD prompt.
    - Attempted to install the Service Pack from the x64 full download.
    - Repaired Windows Live Mail (issued discovered and reported fixed.)
    - Uninstalled Windows Live Mail (Live Essentials)
    - Reinstalled Windows Live Mail (Live Essentials - Mail module only which opened successfully)
    - Repeated the System Update Readiness Tool. Hotfix for Windows (KB947821) No issues reported.
    - Uninstalled Windows Live Mail
    - Attempted installs from full download in safe mode.

    Throughout - rebooted and reattempted the SP1 install between each step - always with the same result (same error 4005 and CBS log entry above).

    Is there a registry update I can make that would make SP1 skip over trying to uninstall the already uninstalled Mail software?
    Full CBS log attached.
    All ideas appreciated!
    Attached Thumbnails Attached Thumbnails Win7 SP1 Update not installing - mismatched Mail file. 0x80004005-screencap.png  
      My Computer


  2. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #2

    I can see no signs of the SFC scan in the CBS log - please run another one and post a new log file
      My Computer


  3. Posts : 37
    Windows 7 Pro x64
    Thread Starter
       #3

    Log of SFC


    Here is the log from the scan.
      My Computer


  4. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #4

    There's no apparent errors in the log at all :) (apart from the usual ones)

    I suspect the issue lies with permissions - did you set the permissions properly for the files you replaced?
    Did you reset the Owner to TrustedInstaller?
      My Computer


  5. Posts : 37
    Windows 7 Pro x64
    Thread Starter
       #5

    A year+ ago, I did use "take ownership" (from within my admin account) so permissions may be an issue. I'll give that a shot.

    Examining the msoe.dll (both instances) it is showing all permissions checked including Full Control but excluding Special Permissions for Trusted Installer and Administrators, and Read, Read & Execute for SYSTEM and Users. File version 6.1.7600.16543 Owner is set to my (Admin) account instead of the Administrator's role.

    I have changed the ownership to Administrators, confirmed Full Control, and am retrying.
      My Computer


  6. Posts : 37
    Windows 7 Pro x64
    Thread Starter
       #6

    No Joy.
    I see from the error that SP1 is expecting to find file version 6.1.7600.16385 which does not match any version that is retained in the folder. The Win7 version is 6.1.7600.16543. (The Vista version is 6.0.6002.18197.)
    Any ideas about how to either obtain the file it wants to find or should I try to update the registry to match the version numbers? (While this may seem an obvious step, I'm not familiar with the subtleties of the registry and afraid of doing more harm than good, so coaching is appreciated.)
      My Computer


  7. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #7

    You should have copies of the v16385 file in your WinSxS folder -
    C:\Windows\winsxs\amd64_microsoft-windows-mail-core-dll_31bf3856ad364e35_6.1.7600.16385_none_b473b32d3efb2953
    and
    C:\Windows\winsxs\x86_microsoft-windows-mail-core-dll_31bf3856ad364e35_6.1.7600.16385_none_585517a9869db81d

    you'll need to copy them to the appropriate folders and set the permissions and Owner.
      My Computer


  8. Posts : 37
    Windows 7 Pro x64
    Thread Starter
       #8

    Before your latest note arrived, I looked at a few registry keys and they match the files that are installed so it seems SP1 is hard coded to seek version 16385. See screencaps.

    Files located and copied, tried the update, but no joy!

    Latest log attached -
    Only difference, Owner = Administrators
    There were no specific permissions for TrustedInstaller - is there a way to add that?
    Permissions for Administrators were Full Control.
    No changes were necessary, these were the default permissions form the winsxs folder.

    Ideas?
    Attached Thumbnails Attached Thumbnails Win7 SP1 Update not installing - mismatched Mail file. 0x80004005-regeditcaps.jpg  
      My Computer


  9. Posts : 37
    Windows 7 Pro x64
    Thread Starter
       #9

    The error message suggests the file is "not installed" despite the registry entry. Is there a process to "install" it?
      My Computer


  10. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #10

    try registering it from an admin command prompt.

    c:\windows\system32\regsvr32.exe "c:\program files\microsoft\windows mail\msoe.dll"

    To change the owner
    Use Windows Explorer
    navigate to teh file, and right-click on it - select Properties.
    click on the Security tab
    Click on the Edit button
    Click the Add button
    in the box, type NT SERVICE\TrustedInstaller
    click on Check names -
    the name should change to being TrustedInstaller
    Click OK once
    now give TrustedInstaller Full permissions
    Click Apply and OK (once only)
    Clcik on the Advanced button
    Click on the Owner tab
    Click on teh Edit button
    Click on teh Other Users button
    in the box, type NT SERVICE\TrustedInstaller
    click on Check names -
    the name should change to being TrustedInstaller
    Click OK once
    Highlight TrustedInstaller in the listing, and click Apply and OK
    OK out.
    reboot
    Last edited by NoelDP; 09 Jul 2012 at 19:51. Reason: finish it off!
      My Computer


 
Page 1 of 6 123 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:09.
Find Us