Skip to main content

Why Do Application Installs Make You Reboot and Close Other Apps?

It’s happened to everybody at some point—you go to install a new application, and Windows tells you to reboot first. Or reboot after. Or it asks you to close out of every other application first. Why does it do that?

So Why Are Installers Annoying?

The short answer is that most installers are annoying because they either aren’t written very well, or they integrate too deep into Windows to be able to copy system files and start everything necessary without a reboot.
The problem is compounded because Windows applications often use DLL (dynamic link library) files that are shared between more than one application. It’s a nice idea, but when it comes to installing and uninstalling applications it can be irritating to need to reboot. The really sad thing is that many applications these days are completely self-contained and aren’t replacing built-in Windows DLLs, but their installers still make you reboot.
Here’s a couple of instances where installers might be annoying:
  • If the application you’re installing needs to copy new versions of files that are currently in use by another application, it will either prompt you to close all other applications, or it will make you reboot.
  • If there’s a previous installation or Windows Update that has pending changes requiring a reboot, some installations will fail and ask you to reboot first.
  • If the application you are installing has a plugin for another application, like an Explorer context menu addition, or a browser plugin, it will prompt you to reboot or close the other applications.
  • Sometimes badly written installers will ask you to reboot because they don’t start up the required services on their own.
Let’s take a closer look at some of these instances, so you can fully understand what’s going on.

In-Use Files Need to be Copied on Reboot

If the application installer needs to copy some files but they are currently being used, or are system files in the case of Windows Update, it will utilize a Pending feature in Windows that allows an installer to specify that a file operation happens after a reboot, and before everything in Windows has started up.
The installer will write a key to the following location in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
\PendingFileRenameOperations
If you’ve received an error saying that you need to reboot first, you can open up this key and you’ll see all of the files that need to be replaced on the next reboot.
You probably do not want to mess with the contents of this key, or else things will quickly start to become weird. There are some very rare instances where this key doesn’t get emptied even after multiple reboots, and you might have to wipe the contents of the key—but you should probably avoid doing that unless you are very certain.

Installation Already In Progress

Some installers won’t start up if there’s a current installation in progress, so they will check the following key to see if there’s an installation already happening:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress
I don’t have a screenshot for this one, but you can get the idea from the name of the key.

Windows Update Makes You Reboot

If you’re getting a message saying that you can’t install an application until you restart your computer, it’s because of Windows Update requiring a forced reboot. So, for example, if you’re getting this error message:
It’s because you probably clicked Postpone when you saw this dialog pop up:
If you head into the registry, you’ll see that there’s a RebootRequired key at this location in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
CurrentVersion\WindowsUpdate\Auto Update
There’s a whole bunch of GUID values over on the right-hand side, and while they don’t pertain to anything in the registry, the fact that they are there is what is triggering that message.
Technically you could probably export the contents of the key, install the application, and then put them back—but it could break something, and rebooting isn’t that painful is it?

 Note: If you have any query or problems on how to do this feel free to comment below i will be happy to reply you If you liked this post feel free to share this post Thank you! Keep visiting..

Comments

Popular posts from this blog

Team Work - Meaning and Tips for better Team Work

A single brain is not always capable of making key decisions on its own. To come up with an efficient solution, an individual requires the help and advice of others. A team is established when individuals get together on a common platform with the common goal of completing a task. To guarantee optimum compatibility, team members should ideally come from similar backgrounds and have a single aim. To provide their best, the team members must complement each other and function as a single unit in tight cooperation. "There is no I in Team Work," as the saying goes, and each member must put the needs of his team first. Personal interests must take a second seat. Any team's performance is directly proportionate to the relationship between its members and their combined efforts. What is the definition of teamwork? Teamwork is defined as the sum of each team member's efforts toward the fulfilment of the team's goal. In other words, any team's backbone is its ability t

Scientists discover a new theory / The fundamental property of light – 150 years after Maxwell

Light plays a vital role in our everyday lives and technologies based on light are all around us. So we might expect that our understanding of light is pretty settled. But scientists have just uncovered a new fundamental property of light that gives new insight into the 150-year-old classical theory of electromagnetism and which could lead to applications manipulating light at the nanoscale. It is unusual for a pure-theory physics paper to make it into the journal Science. So when one does, it’s worth a closer look. In the new study, researchers bring together one of physics' most venerable set of equations – those of James Clerk’s Maxwell’s famous theory of light – with one of the hot topics in modern solid-state physics: the quantum spin Hall effect and topological insulators . To understand what the fuss is about, let’s first consider the behaviour of electrons in the quantum spin Hall effect. Electrons possess an intrinsic spin as if they were tiny spinning-tops,

19 Types Of Content Writing Services For Your Business

  It’s hard to know which type of content writing service is the best for your business.  There are so many  different types of content writing services  out there that it’s easy to get confused. You end up wondering if you’re choosing the right one for you. In this post, we’ll get rid of this confusion, once and for all. I’m going to list out the different kinds of writing services you could use.  By the end of this article, you’ll know whether you need a copywriter, a content writer, or a social media marketer and how they can help you achieve your business goals. This post is also useful for writers who want to hone their writing skills in a specific area. Let’s dive in and learn what types of content writing services exist and when you should use them. (Bonus – if you want to  hire the top 1%  of writers, go to the bottom to learn how). Types of Content Writing Services As we go through the list of content writing services, you will find that many of them overlap. That’s perfectly