MTE Explains: What Installing Software Actually Does

It should not come as a surprise that computers do a lot of things in the background. If they’re not of relevance to the average user, they are unlikely to be seen. Even so, there are inquisitive users, and it can be interesting to learn just what’s happening in the background.

In this article we’ll tackle just what happens when you install a program. We’ve already looked at the two main distribution methods for software on Windows as well as portable software if you want further reading material. For this article, we’re looking at how Windows handles software installation.

Opening the Installer

Sofin-Installer-FirstScreen

When you open the program’s installer, it will not change anything without your input. From Vista onwards, Windows requires administrative approval in order to run an .exe or .msi file.

Outside of this, Windows Installer will also become involved. This utility is more of a background process, ensuring that the installation process goes as intended, directing the files to their respective positions.

Only when you begin to install software does it have any effect on the computer.

Running the Installer

Sofin-Installer-Location

Installation can be looked at as two distinct phases. The first involves moving files into the Program Files folder: these files are required for the software to run and may include plug-ins for different functions. Typically, you’ll have to choose the installation location.

A key example would be iTunes which installs QuickTime and other Apple products alongside it. Depending on the installer, key files may be decompressed or downloaded from the Internet.

Sofin-Installer-InstallOptions

By the time this first phase is completed, the core files and folder structure should be in the installation directory. These are all integral to the software running properly understand all conditions. You could remove some elements and find a program still works until you try certain functions.

The second phase of the installation involves changing the Windows Registry. Each and every program you install has an entry in the registry. Programs like Revo Uninstaller are designed to root out these entries during uninstallation, deleting every trace of a program from a computer.

RegShot is a program designed to take a snapshot of the changes made to the registry during software installation. Using it, or an equivalent tool, makes it possible to observe just what a program does in order to ensure it runs reliably.

If a program starts alongside the operating system, like Skype does, then it is often written into the registry to do so. This can usually be disabled through the software settings which proves to be a major boon for users not keen on editing their registry.

While it varies between installers, you could argue that the third and final phase is to offer the user some control. Users can view the “readme” file associated with a program, or they can have a shortcut added to their desktop.

Sofin-Installer-IconCreation

This third phase is debatable given that it does not change anything on the computer; any user can add a shortcut to their desktop or view a readme file (many programs package it into the Program Files folder for easy access).

Conclusion

Sofin-Installer-ProgramDetails

Software installation is not as daunting as it may seem. While it mostly happens in the background, the steps taken are logical. Alterations to the registry are by far the more interesting element of installation, given how they can affect the computer.

If you are curious about the process of editing the Windows Registry, it is covered tangentially in another article about disabling the timer in Microsoft Office. Once again, it is not nearly as complex as it might sound, though is not always recommended.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Paul Ferson Avatar

Read next

When Doug Wheelock came home after 163 days in space, he said he had craved the aroma of leaves, grass, flowers, and trees, the rush of Earthiness that reaches astronauts only when the hatch opens back onto the living planet
When Frank Maixner’s team reconstructed Ötzi the Iceman’s 5,300-year-old stomach bacterium in 2016, the Helicobacter pylori strain looked less like modern Europe’s hybrid form than Asian lineages common today in South and Central Asia, leaving a migration signal no pot or stone tool could have shown
When Cingular chief Stan Sigman backed the original iPhone before its 2007 unveiling, he accepted terms American carriers usually refused: no logo on the device, no control over its software, no preloaded apps, and a share of monthly subscriber revenue flowing back to Apple, after signing on without seeing a prototype
Every year, roughly two billion new smartphones, laptops, and tablets ship with a key arrangement designed in the 1870s to prevent slender metal arms from colliding inside a machine that has been obsolete for decades, a piece of 19th-century mechanical engineering quietly embedded in the muscle memory of about five billion people.
Tristan Harris, Google’s former design ethicist, told the US Senate that the pull-to-refresh gesture on nearly every app works like the lever of a Las Vegas slot machine, and he has long warned that we now reach for our phones around 150 times a day without ever calling it gambling
In 1969, László Bélády and two IBM colleagues published a paging-machine anomaly showing FIFO could make four memory frames suffer ten page faults after three frames suffered nine, leaving generations of operating-systems students staring at the moment more memory became the wrong answer
When Bell Labs engineer Karl Jansky pointed a rotating antenna at the sky in 1932 looking for sources of transatlantic radio static, he kept picking up a faint hiss that peaked every 23 hours and 56 minutes, and he eventually realized he had become the first human to hear the center of the Milky Way.
The colour magenta does not exist anywhere in the spectrum of visible light, and your brain manufactures it on the spot whenever red and blue cones fire together, inventing a hue to fill a gap that physics never bothered to provide.