Hi,
Just to type a bit of my "journey" ... finally successful.
I was wondering whether to do "Repair Install". But then, I probably found the culprit that screwed those Mar./Apr. security/rollup Windows Updates. In “Device Manager”, on the the 3
rd item “Computer”, one’d see “ACPI x64 based PC” and if I clicked on "Properties", I’d see that the “driver” seemed wrong as the “provider” was "unknown". And usually when one does “update driver”, it should say that you’ve already got the updated driver (like in another Windows 7 machine of mine). But for this in my laptop, it didn’t and when it tried to install the fix but failed with “The data is invalid”. I've uploaded the ACPI x64-based PC.JPG for you to see.
I thought about checking the above because in the c:\windows\CBS.log (where the update error messages are), around the 13 percent, I saw :
==============================================================================
Progress: UI message updated. Operation type: Update. Stage: 1 out of 1. Percent progress: 11.
2018-04-16 14:32:33, Info CBS INSTALL index: 1, phase: 2, result 0, inf: acpi.inf
2018-04-16 14:32:34, Info CBS Progress: UI message updated. Operation type: Update. Stage: 1 out of 1. Percent progress: 12.
INSTALL index: 0, phase: 3, result 5, inf: machine.inf
2018-04-16 14:32:44, Info CBS Progress: UI message updated. Operation type: Update. Stage: 1 out of 1. Percent progress: 13.
2018-04-16 14:32:44, Info CBS DriverUpdateInstallUpdates failed [HRESULT = 0x80070005 - E_ACCESSDENIED]
2018-04-16 14:32:44, Error CBS Doqe: Failed installing driver updates [HRESULT = 0x80070005 - E_ACCESSDENIED]
2018-04-16 14:32:44, Info CBS Perf: Doqe: Install ended.
2018-04-16 14:32:44, Info CBS Failed installing driver updates [HRESULT = 0x80070005 - E_ACCESSDENIED]
=================================================================================================================
acpi.inf, machine.inf etc. are all the driver files. Which prompted me to check the "Device Manager".
Seeing this problem, I've convinced myself to do a "Repair Install" or "in-place upgrade install" so that I hoped to lose not too much. It took several hours to finish it. So then, at least "ACPI x64-based PC" now seems normal with "Microsoft" as the provider etc.
But then, even though other software (Microsoft Office etc.) were still there and good to use, I realized that I needed >100 or almost 200 updates to do. Which was like another day --- I separated the hundreds in a few batches
So, finally, I got to the "2018-04 Security Monthly Quality Rollup for Windows 7 for x64-based Systems (Kb4093118)" and it worked without problem, finally !
But then, I found that all the .Net Framework 4.x didn't seem to show up as installed program in "Program and Features" and I couldn't install Internet Explorer 11 (even the Windows Updates failed to update). .Net 4.x stuff are important because quite a few software/drivers depend on it and they either didn't start or might have problem etc.
I tried to install them 4.0, 4.5, 4.7 but they all failed. That Microsoft's "NetFxRepairTool.exe" again has been useless. But I've finally seen the sentence hidden in the middle of the logfile (which the installer showed you !):
======================================================
MSI (s) (F0:04) [20:17:47:679]: Product: Microsoft .NET Framework 4.7 -- A later version of Microsoft .NET Framework 4.7 is already installed.
======================================================
So, somehow, in the "Repair Install", the .NET stuff was not completely gone and the new installer saw a mark of it (in Registry ?!). A few lines above the above-mentioned lines, in the same log, I saw :
========================
MSI (s) (F0:04) [20:17:47:644]: PROPERTY CHANGE: Adding NEWERVERSIONDETECTED property. Its value is '{E0C7523C-686B-3EE6-8FB1-CB4339E30EDD}'.
=====================================
I then searched for "E0C7523C-686B-3EE6-8FB1-CB4339E30EDD" in the registry, I found it only in
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\C3257C0EB6866EE3F81BBC34933EE0DD\InstallProperties]
There, one key is LocalPackage which points to "C:\Windows\Installer\17e360.msi".
By luck, I went to execute it. And voila ! I saw "Microsoft .NET Framework 4.7.1" show up in "Programs and Features" !!! To be safe, I clicked it to do a "repair". Then, things just worked !
For the Internet Explorer 11, I almost didn't want to bother with it. But it's like a challenge. I googled and learnt that the log file is in c:\Windows\IE11_main.log. I saw the error message:
========================================
02:56.874: INFO: Process 'C:\Windows\SysNative\dism.exe /online /add-package /packagepath:C:\Windows\TEMP\IE17B66.tmp\IE11-neutral.Downloaded.cab /quiet /norestart' exited with exit code 0x800F081E (-2146498530)
02:57.124: ERROR: Neutral package installation failed (exit code = 0x800f081e (2148468766)).
==================================================================
It's not much hint but I used it to google. I came across :
windows 7 - Error installing IE11 - prerequisite update KB2834140 - Super User in which the last message by Mike (answered Aug 9 '16 at 13:46) told me to install a particular Windows Update: "Platform Update for Windows 7 SP1 and Server 2008 R2 SP1 (
2670838)". In fact, it's one of the very few "optional" ones that I haven't updated from Microsoft Update server (not our Lab.'s WSUS server).
After installing that 2670838, finally "Internet Explorer 11" could be installed ! It's not much to everybody else but after almost 10 failures, this is a joy !
So now, I'm a happy person.
Kin