Earlier quoted context omitted.
It’s not bog-standard. Containers are not equivalent to doing what is described in the article. Containers are in fact redirecting writes so an installer script could not replace system libraries. The equivalent would be a Linux distro having the assumption that installer scripts will overwrite /usr/lib/libopenssl.so.1 with its own version and just keeping a backup somewhere and copying it back after the script execu…
Windows 95 was not Windows NT and it still used the FAT32 file system, where it was not really possible to enforce access rights. As TFA says: 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.”
Windows 95 defenses against installers that overwrite a file with an older one
101–103 of 103 posts
Re: Windows 95 defenses against installers that overwrite a file with an older one
#102Earlier quoted context omitted.
My excitement for Zig dropped the longer they stayed at 0.x (and they really have meant 0.x with the breaking changes they were making). This decision from them completely killed it for me. I understood not using the C Runtime and instead creating direct wrappers over the Win32 API, but going a level lower to APIs that are not guaranteed to be stable is nutty.
ntdll.dll APIs are guaranteed to be stable though
> documentation for the WDK and Windows SDK recommends that application developers avoid calling undocumented Nt entry points
So it's safe to call documented ntdll functions. But calling undocumented functions is more risky.
Re: Windows 95 defenses against installers that overwrite a file with an older one
#103Earlier quoted context omitted.
> I wonder how much of this problem was caused by lack of adequate documentation describing how an installer should behave, and how much was developers not reading that documentation and being content when it works on their machine. There is a third option: the developers knew the rules and chose to ignore them for some reason. A modern example of this is the Zig language’s decision to reverse engineer and use undocu…
>ignore them for some reason The reasons are clearly stated in the issue you have linked.
https://codeberg.org/ziglang/zig/src/commit/6193470ceea89a98...
All this to save a little memory CPU and memory usage? The juice does not seem worth the squeeze.