|Component of Microsoft Windows|
|Introduced in||Windows 1.0|
Windows Setup is the process of installing the Windows operating system, which depending on the version, includes partitioning the hard drive, copying the operating system files, and then configuring the installed system.
Variants[edit | edit source]
DOS-based Windows[edit | edit source]
Windows 1.0 and Windows 2.x[edit | edit source]
Windows 1.0 featured a very rudimentary setup application. The installer asks for the target drive, directory and hardware configuration, and then proceeds to install the operating system. There is no option to load custom drivers from the setup, with the user instead having to copy the drivers on the disk manually. In order to optimize performance, the installer also combines crucial system files into a single
WIN100.BIN file using what is called "Fast Boot". There is no support for changing a single part of the system, as the entire environment has to be clean installed in order to do that, erasing any configuration in the process.
Unlike later versions, the Windows 1.0 setup has no easily accessible settings. Instead, the executable is compiled specifically for each disk size. Furthermore, the available drivers are determined dynamically by the setup without previous configuration.
Windows 2.0 kept a similar user interface for setup as previous versions, although it introduced many back-end changes. Notably, it introduced
SETUP.INF, a plaintext configuration file, which contained a list of system files and included drivers, as well as other settings. The setup also now supports loading custom drivers from the application itself. However, Windows 2.x did not support upgrading a previous version of Windows. Any previously installed version of Windows is overwritten, and any settings must be transferred across manually from the
Windows 3.x[edit | edit source]
Windows 3.0 introduced a new, more advanced installer. The black background for the setup has been replaced with a blue background with a grey bar showing the current tasks that the installation is performing. After the core Windows system files have been copied, it launches Windows to complete Setup. From there, the remaining files are copied and components are set up. This version also introduced the ability to upgrade a previously installed version of Windows by running Setup from within DOS. Upgrading a previous version transfers all its settings stored in the
WIN.INI file across to the newer one. Windows 3.1 introduces the ability for the user to enter their name and company.
Windows 9x[edit | edit source]
Windows 9x versions do not require an existing version of DOS to install. However, a boot disk was still required in most cases as most Windows 9x installation media was not bootable. The installation process prepares a partition, checks it using ScanDisk, and copies files to the hard disk.
In Windows 9x versions, .CAB files are used for the installation. Mostly known .CAB installation files include:
- WIN95_*.CAB, WIN98_*.CAB (WIN9X_*.CAB in early Windows 98 builds) and WIN_*.CAB: They contain the main system apps and files.
- DRIVER*.CAB: Contains the driver files for Windows.
- NET*.CAB: Contains networking and internet components.
- MINI.CAB: Contains basic files required to start the installation from within DOS. This environment is based on Windows 3.1.
If starting the installation process from DOS, the Windows 3.1-based environment in the
MINI.CAB file is used to start Setup. During this stage, the user configures various settings of the installation, and the Windows system files are copied to the hard disk. However, Setup can also be run from within an existing Windows 3.1 or 9x environment, skipping this portion. Once the files are copied, Setup restarts the computer, sets up devices and configures system settings.
Windows NT[edit | edit source]
Windows Server 2003 and earlier[edit | edit source]
During its development, Windows NT adopted a modified version of the Windows 3.1 setup process. Similarly to it, the setup configuration is stored in INI-formatted text files, although unlike its DOS-based counterpart the text mode configuration uses a separate configuration file. All files use 8.3 format filenames for compatibility with MS-DOS, often with the last extension character replaced with an underscore to mark that the file is compressed, with the full name stored inside the setup configuration. Although original media usually comes with most files compressed, the compression is optional.
The operating system files are stored in a folder named according to the target platform along with the setup configuration. This made it possible for the same disc to contain installation files for multiple architectures, which in turn allowed all versions to be shipped in the same package up to Windows NT 4.0. As the files for 32-bit x86 systems were stored in the
I386 directory, this particular setup process is often referred to as "i386 setup". Other directory names included
AMD64 for DEC Alpha, MIPS, PowerPC, Itanium and 64-bit x86 respectively. Media for the last two architectures also include a
I386 directory, although unlike early versions it does not contain a self-contained 32-bit x86 build, but rather the files required for WoW64 with the file names prefixed by the letter W.
The installation on x86 platforms can be started multiple ways, the most straightforward of which is to boot from the included installation media. For Windows NT 3.51 and older, this requires the use of boot floppies, while Windows NT 4.0 and later supports booting directly from the installation CD-ROM. The installation files can also be copied to the hard drive by using the executables included on the installation CD-ROM, namely
WINNT.EXE for use from MS-DOS and
WINNT32.EXE (introduced in Windows NT 3.5) from an existing Win32 environment. Windows 2000 added an upgrade assistant to
WINNT32.EXE, which evaluates the upgraded operating system and points out any incompatibilities before booting into the setup proper.
Similarly to Windows 3.1, the installation process consists of two major phases. The first phase usually runs in text mode and prepares the environment for the second GUI stage to run. When booting into the first stage, the setup determines the hardware configuration and loads drivers as specified in the configuration. It then proceeds to start the minimal NT environment on the install media, which had its Session Manager component replaced with a simple native application that passes control to the setup driver (
setupdd.sys). When it finishes loading, it displays a welcome screen which allows the user to continue the installation or repair an existing copy of Windows. The Recovery Console can also be invoked at this point in Windows 2000 and later. When upgrading to Windows XP or Windows Server 2003, this stage runs in 16-color graphical mode, shows a static billboard together with a progress bar and animation and accepts no input, although it falls back to text mode when an error is encountered.
The next pages of the first stage include the license agreement and partition management. After the setup checks the partition for errors, it copies a more complete system to the disk and prepares the system for the second stage to run by generating the registry and writing the boot loader. The system is then rebooted into the second phase, which runs in graphical mode and installs the rest of the operating system, as well as configures the network, date/time and asks for a product key.
Starting with Windows 2000, the Network Identification Wizard runs at first boot to configure user name and password, along with a choice to log on to a specific user automatically. This evolved into a full-on out of box experience with Windows XP, allowing the user to easily configure network settings, user accounts, and Automatic Updates.
Windows Vista/Server 2008 and later[edit | edit source]
Windows Longhorn build 4001 introduced the WIM installation format. This installation format boots the operating system via WinPE which launches the main setup user interface. The user configures multiple aspects of the installation, such as what SKU of Windows the user would like to install, what disk or partition Windows should be installed, and whether the user would like to perform an upgrade or clean installation. The setup is booted via the
\sources\boot.wim file on the installation media.
The install process works by deploying a pre-packed WIM image (
\sources\install.wim) to the hard disk where Windows should be installed. Though, in Build 4002 they used the i386 Setup. When they reset the development, the early builds used the i386 setup. However, in build 5048, the setup is also booted from the install image itself. The image index determines what SKU of Windows will be installed. From Windows 8 onwards, the DISM command line tool is used to deploy the image to the location where Windows is installed. After the WIM image is applied, the installer creates boot files on the hard disk, and restarts the machine so that devices can be set up, and the OOBE can be run. If there is an already existing version of Windows on the hard disk where the user chose to install Windows, the existing Windows installation is moved into the
The Recovery Console has been replaced with Windows Recovery Environment and can be launched by selecting "Repair your computer".
Even though it was first introduced with Windows Vista, Windows XP-based Windows releases can also be packaged in WIM format. Examples can be seen in the Windows Embedded for Point of Service and Windows Fundamentals for Legacy PCs operating systems. Setup graphical assets are stored in spwizimg.dll on Windows Vista and later; Windows Longhorn pre-reset builds store them in win32ui.dll and win32uitheme.dll. Windows 8.1 introduced the ESD (Electronic Software Distribution) format. Compared to WIM, ESD files are smaller, but cannot be mounted or edited without converting to WIM first.
Gallery[edit | edit source]
Setup in Windows 1.01
Setup in Windows 2.03
Setup in Windows 3.0
Setup in Windows 3.1
Setup in Windows 95
Setup in Windows 98
Setup in Windows Me
Setup in Windows 2000
Setup in Windows Whistler build 2428
Setup in Windows XP
Setup in Windows Home Server
Setup in Windows Longhorn build 4011
Setup in Windows Longhorn build 4093
Setup in Windows Vista build 5098
Setup in Windows Vista build 5284
Setup in Windows Vista
Setup in Windows Embedded POSReady 2009
Setup in Windows 7
Setup in Windows 8.1 build 9299