Home » Technology » A senior programmer said that when designing the Windows 95 installer, Microsoft used three different operating systems.

A senior programmer said that when designing the Windows 95 installer, Microsoft used three different operating systems.

Longtime Microsoft software engineer Raymond Chen recently answered an interesting retro tech question from a game developer on X. The developer asked why three different user interfaces were used in the design of the Windows installation options 95: DOS, Windows 3.x, and Win9x?

Chen, who has more than 30 years of experience influencing Windows development, answered this question on The Old New Thing website. He said that the answer to this question is much more complicated than it seems. -everyone thinks.

He said that at that time Microsoft expected that the Windows 95 installation program could start in three different environments: MS-DOS, Windows 3.1 and Windows 95, so it was decided that it must be compatible with three different system environments. .

One option to solve this problem is to write three separate Windows 95 installers: one to install from MS-DOS, another to install from Windows 3.1, and a third to install from Windows 95 to install.

However, this is not a satisfactory option because you are basically doing the same task three times and then using it in three different environments, so the code you write will probably be three times longer. much.

Therefore, they felt that a better option was to write an installer for only one version (Windows 95) and use it for all three starting points.

DOS system •

Windows 3.1 • •

Windows 95

from Type of application
operating system 16-bit graphical user interface 32-bit graphical user interface

Therefore, if a Windows 95 installation program is written as an MS-DOS application, this DOS application can run on all three platforms due to backward compatibility. You just need to write an installation program.

However, this solution has a big problem, that is, it is a text mode installation program, which looks ugly. For a new Windows operating system platform, seeing such an ugly interface when you first install it is unlikely to leave a good impression on people.

A senior programmer said that when designing the Windows 95 installer, Microsoft used three different operating systems.

So, the other extreme is that a Windows 95 installation program can be written as a 32-bit GUI program, but this means that if the user boots from MS-DOS or Windows 3.1, he must “Windows 95 a install first” before it can. execute this Windows 95 installation program, which seems to be stuck in an infinite loop.

Then there’s a compromise: Let the MS-DOS installer install a minimum version of Windows 3.1, just enough to support the functionality required by the 16-bit GUI installer. When you’re done, launch the small version of Windows 3.1 and run the 16-bit GUI installer.

Ok, now we have the three parts of the installer (check the picture below).

A senior programmer said that when designing the Windows 95 installer, Microsoft used three different operating systems.

If you are installing from MS-DOS, use the first one: it installs a small version of Windows 3.1, then boots to Windows 3.1 to proceed to the next step.

The second part of the installer runs as a 16-bit Windows application, which can be a small copy of Windows 3.1 (if the user is upgrading from MS-DOS), an actual copy of Windows 3.1 (if the user is upgrading from Windows 3.1), or a genuine copy of Windows 95 (if the user is upgrading from Windows 95). The second installer does almost all the real work: it does the initial interaction with the user, gathers information about how to install Windows 95, how to ‘ asks which optional components to include, and detects hardware to decide which drivers² Then it creates drivers and Windows 95 files are copied to the system, old situations transfer to the new operating system, and send them to Windows 95.

A senior programmer said that when designing the Windows 95 installer, Microsoft used three different operating systems.

The third part of the installer works as a 32-bit Windows application. It runs on a real Windows 95 system and performs some of the final steps needed to run a live system, such as installing a printer.

This is why the Windows 95 installation is actually three installers packaged together, allowing one copy of the code to be used for all three installation scenarios.

source:devblogs.microsoft.com/oldnewthing

China: ‘Conflicts and disputes must be resolved’ due to frequent occurrence of ‘don’t ask questions’

‌**What were the specific ⁢technical hurdles the‌ development team ​faced when designing installers for three⁤ distinct starting environments (MS-DOS, Windows 3.1, ⁢and Windows 95), and how did they overcome them?**

⁤ ## Decoding⁣ the ⁤Windows 95 Installer: An Interview

**Interview Introduction:**

Welcome to World-Today-News. Today, we’ll be diving deep into the fascinating‌ history of the Windows 95 installer, a piece ​of software engineering ⁣that was quite revolutionary for ‌its time. We’ve invited two guests, both tech historians‌ with deep knowledge of early ‍Microsoft development, to shed light on ‍the challenges faced by the development‌ team⁤ and the ⁢innovative solutions they employed.

Joining us today are:

* **[Guest 1 Name]**: A renowned software historian specializing in the ⁢evolution of Microsoft operating systems.

* **[Guest 2 Name]**:‌ An expert in early computer ⁤interfaces and ⁤user experience, with ⁢a strong interest in the evolution⁣ of Windows graphics.

**Thematic Sections:**

**Section 1: The Three-Installer⁣ Mystery**

* **Interviewer:** The ​article mentions ⁣that⁤ the Windows 95 installation program wasn’t ‌actually a single program, but rather​ three distinct installers, each adapted to a​ different starting ⁣environment (MS-DOS, Windows 3.1, and Windows​ 95). ⁢Can ⁣you elaborate‌ on the reasoning behind ‍this unconventional approach?

* **[Guest 1]**

* **[Guest 2]**

* **Interviewer:** How ⁤did this multi-installer system ​impact the‌ user experience? Did users notice the difference between these‌ different ⁢installers?

* **[Guest 1]**

* **[Guest 2]**

**Section ⁣2: Challenges of Backward Compatibility**

* **Interviewer:**

The article highlights the⁤ importance of⁤ backward compatibility in this design. Could you discuss the challenges ⁢of ensuring the Windows 95 installer functioned ‌seamlessly across different platforms with varying ⁢capabilities?

* **[Guest 1]**

* **[Guest 2]**

* **Interviewer:** What ​were‌ some of the⁢ technical compromises that had ‌to ⁢be made to achieve this level of compatibility?

* **[Guest 1]**

* **[Guest 2]**

**Section⁢ 3: The Legacy of the ​Windows 95 Installer**

* **Interviewer:** Looking back,⁤ how influential was the Windows 95 installer on the development of future⁢ operating system installers?

* **[Guest 1]**

* **[Guest 2]**

*​ **Interviewer:** ‌Are⁣ there any elements of ‍the Windows 95 installer’s design that we‍ still ⁢see reflected in ​modern‌ operating system installations?

* **[Guest 1]**

* **[Guest 2]**

**Section 4: Reflections​ and Insights**

* **Interviewer:** ⁤ What⁢ are your personal takeaways ​from learning about the ‌complex development process behind the Windows 95 installer?

* **[Guest 1]**

* **[Guest 2]**

* **Interviewer:** What⁢ advice ⁣would you give to young software developers who ⁢are facing similar challenges of backward compatibility and complex system ​integrations today?

* **[Guest 1]**

* **[Guest 2]**

**Conclusion:**

**Interviewer:** Thank you both for providing such ‍insightful perspectives on this fascinating ⁣piece of tech history. It’s inspiring to ‌see ‌the innovative⁣ solutions‌ that were developed to create a groundbreaking operating ‍system like Windows ‍95.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.