惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog
The Cloudflare Blog
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
T
Tailwind CSS Blog
L
LangChain Blog
Recent Announcements
Recent Announcements
Hugging Face - Blog
Hugging Face - Blog
Microsoft Security Blog
Microsoft Security Blog
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
I
InfoQ
博客园 - 司徒正美
T
The Blog of Author Tim Ferriss
G
Google Developers Blog
云风的 BLOG
云风的 BLOG
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
H
Help Net Security
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
B
Blog RSS Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

The Register - Software: OSes

Fedora: Microsoft is all aboard, but Deepin is dumped Microsoft promises to do better, but it has a long way to go First big Microsoft update after vow to 'win back fans' Who needs ghost train scares when Windows is such a fright? Microsoft boss tells investors the company is working to 'win back fans' Microsoft boss says company is working to 'win back fans' Linux cryptographic code flaw offers fast route to root Fedora 44 is out – countless versions of it Microsoft sets its sights on the past with 86-DOS and PC-DOS Microsoft updates the Windows Update Experience Windows second-chance setup hurts IT, productivity Ubuntu Resolute Raccoon drops Xorg, keeps X11 apps alive More ancient Linux device support facing the ax WSL9x hacks Linux into ancient Windows 9x systems UK tribunal sends £2B claim accusing Microsoft of overcharging for licensing to trial Zorin OS 18.1 released - and the Lite edition reappears Task Manager's CPU%: an obituary for the recent past Linux 7.1 will have an optional new NTFS driver Microsoft releases Windows Server update to fix April update 20-year-old Enlightenment E16 bug finally gets patched 20-year-old Enlightenment E16 bug finally gets patched Raspberry Pi OS ends open-door policy for sudo Firefox Nightly adds Web Serial after years of saying no Windows Update: Torture chamber for seldom-used PCs Windows Update: Torture chamber for seldom-used PCs Notepad loses Copilot icon as Microsoft gives subtlety a try Notepad loses Copilot icon as Microsoft gives subtlety a try Microsoft attempts to untangle Windows Insider program Adobe finally patches PDF pest after months of abuse NHS pays £46K to prep next Microsoft licensing round
How Windows 95 fought off badly behaved installers
Richard Speed Richard Speed · 2026-03-25 · via The Register - Software: OSes

OSes

Windows 95 let installers trash its files then fixed the mess behind their backs

I'll just clear up that up, shall I?

Microsoft veteran Raymond Chen has shared another nugget of Windows lore – what Windows 95 did when installers stomped on its system files.

The problem traces back to the days of 16-bit Windows, when many system components were redistributable. Installers could include copies of those components and place them on a target computer. The setup program was expected to compare the version numbers of what was on the system and what was being copied, only overwriting if the file being installed had a higher version number.

Simpler days compared to the pain of creating install sets now and worrying about wholesale registry destruction, or a dependency not being what a developer thought it was.

"This rule relies on the fact that Windows maintains backward compatibility, so the newer version still works even if used by an older program," Chen wrote.

In practice, nothing stopped an installer from ignoring that rule entirely. It was not uncommon for setup programs to simply overwrite whatever was in their way, replacing Windows 95 components with their Windows 3.1 counterparts.

"You can imagine how much of a disaster this caused to the rest of the system," said Chen.

At this point, even though it is many decades since the era of Windows 95, a reader would be forgiven for wondering why the operating system allowed this at all. The answer is backward compatibility: blocking file operations risked breaking the installer itself.

"This ended up creating more problems," explained Chen. "Some installers declared the installation to be a failure and gave up. [Others] displayed an error message to the user and asked the user what to do next. (Like the user knows what to do next.)"

"You even had installers that took even more extreme measures and said, 'Okay, fine, I can't overwrite the file, so I'm going to reboot the system and then overwrite the file from a batch file, see if you can stop me.'"

Microsoft's solution was a hidden directory (c:\windows\sysbckup) of commonly overwritten files. After setup finished, Windows quietly checked the file version numbers on the disk. Higher version numbers would be copied into the hidden directory, or the file in the hidden directory would replace a lower version number.

"Basically," wrote Chen, "Windows 95 waited for each installer to finish, and then went back and checked its work, fixing any mistakes that the installer made."

The belt-and-braces approach depended on the operating system being aware of a setup program rummaging through its internals.

Today - based on recent performance - users should worry less about installers and more about what Microsoft itself is doing to Windows' system files. ®