XPost: alt.comp.os.windows-11, comp.sys.mac.advocacy
On Tue, 6/24/2025 10:38 PM, Lawrence D'Oliveiro wrote:
On Tue, 24 Jun 2025 21:31:06 -0400, Paul wrote:
On Tue, 6/24/2025 6:59 PM, Lawrence D'Oliveiro wrote:
If all the shipping code is in fact understandable, why does Windows
need to reboot about 5 times during an install?
The install happens in phases.
They keep the old Windows folder, while building a new Windows folder.
The programs might need to be migrated. There's a phase for that. There
is a phase for installing drivers.
A Linux system can upgrade everything with a single reboot.
Why are they different? Something to do with the fact that Windows keeps a lock on open files, so if those files are essential to a running system
they cannot be replaced while the system is running?
Unlike Linux, the installer has the ability to roll "all the way back"
to the starting state.
If that were true, there would never be any failed Windows installs.
This is not a contest of wits.
The installer sequence has come a long way from its start.
A lot of energy went into this.
At one time, Microsoft installers worked with precisely one
precursor. Now, Microsoft installers handle multiple precursors
and their states. Linux, you can't jump revisions and you
proceed sequentially. 20.04 22.04 24.04
The installer today, doesn't trash anything. It's a tool
ordinary users can use. It has a rollback capability.
Part of the installation procedure, *is* the preparation
of the rollback folder. Then the thing is armed for recovery.
Failures in the phases, the lead digits, such as 10000- or
20000- tell you which phase is failing. The digits on the
end are the error code. It's not Kreskin, and it does
occasionally run into a "blocker" that the Health Check
does not pick up. For example, my ancient Intel graphics,
the Health Check did not notice the driver was XDDM, then
during the install, during the driver phase, the driver
installer noticed the unanticipated issue (that was a W10 22H2
issue). I used my imagination to figure that one out. Slapped
in a HD6450, made it install again, it finished that time.
Unlike Linux, this means you can return to the previous
machine state. Without dropping to command line and
"trying this" or "trying that". This is partially
why there are so many rude experiments on the Insider.
they continue to tune the process, and the Insider users
are now used to the hickups. But the production version
is what the end-user sees.
If they were to throw "hot turkey slices" on top of it,
they'd likely break it again :-) I'd just as soon they
leave it alone now.
It's a completely separate OS folder. On one of the phases,
you're booting on it, and have an entirely different rev set
of files. The OOBE (Out Of Box Experience) phase is later.
You keep two sets of resources, either rolling forward
or rolling back.
Once the process finishes, you can use "cleanmgr.exe"
to remove the carcass. (That's for people who worry about
such things.) On the Insider, I do that immediately so
it's ready for the upgrade next week.
Paul
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)