Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Does a Standard "Installation" actually do?

I'm just a hobbyist programmer more or less and have grown up coding-wise in the .NET ClickOnce world.

When one "installs" a program, what actually happens?!

Also: Some little apps/tools just run from the exe. Why do most programs need a fancy installation process? What are the advantages, disadvantages, pros & cons? Is installation usually necessary or more like standard practice?

Apologies for the extra questions. I'm just hoping for a plain-English more-or-less layman's explanation of the key factors.

like image 268
MrGreggles Avatar asked Oct 27 '09 07:10

MrGreggles


People also ask

What are the 4 types of installation?

There are four approaches of installation; direct, parallel, single-location and phased installation.

What does installing an application mean?

The definition of an install An install takes place when a user has downloaded an app and successfully opens it for the first time. Installs are a core part of the acquisition cycle.

What is basic installation?

Basic Installation means unpack and plug the Appliance in the main electrical socket. This does not include gas or water connection or reinstallation in to fixed units or mounting on brackets. Sample 1Sample 2.

Why is installation needed?

Poor installation not only can affect thermal performance, but also safe, smooth operation of moving parts. Indeed, aside from seal failures, over 80% of service problems result from poor installation practices.


1 Answers

You're really looking at a lot of legacy reasons all rolled into what has become standard practice in the Windows world.

First, some contrast, because it isn't always this way. An "application" in Mac OS X is simply a directory with a certain structure inside it, named with a .app extension. Installing an application is as simple as dragging it (just the app icon) to your Applications folder, and uninstalling involves dragging it to the trash. That's it, no fancy installer is (usually) necessary.

On Windows, application are typically built from independent components which need to be "registered". This involves the installer program writing some bits and pieces to the Windows registry, to tell Windows where to find the components. Yes, the application probably should know where to find them (since they're all installed in the same place), but years of legacy and different ways of hooking up components has got us where we are today.

Typically, an installation program on Windows:

  • copies files
  • registers components
  • sets security permissions (if appropriate)
  • adds icons to the Start menu and/or desktop
  • writes more stuff to the registry to tell Windows to add the program to "Add and Remove Programs"
like image 84
Greg Hewgill Avatar answered Sep 18 '22 07:09

Greg Hewgill