Chapter 3: Installing Programs
What Happens During Program Installation and Uninstallation? Before you can install a program, you have to get it--you have to buy or download the program. You may receive a program on a CD-ROM, as a stack of floppy disk or as a file downloaded from the Internet. Once you have a program, you install it, usually by running an installation program to copy the program to your hard disk and configure it to run on your system.
If you download a program, it usually arrives in the form of an installation file (also called a distribution file), which is a compressed file containing all the files required for a program to run, along with an installation program. For example, the installation file may contain the installation program, the program itself, the help file for the program, and a few other files that the program needs. You can download (copy) installation files from the Internet or other sources. If your computer is connected to a local area network (LAN), the installation file may be stored on a network disk. The files that make up the program are usually compressed to take up less space and so that they can be packaged together as one file.
When installing programs, you must be logged on with a user account that is a member of the Administrator or Power user group. Limited and Guest user accounts can't install programs. If you haven't set up user accounts, you are probably logged on automatically as Administrator (in Windows XP Professional) or Owner (in Windows XP Home Edition), which are both members of the Administrator group.
What Happens During Program Installation? Most programs come with an installation program named Setup.exe or Install.exe. When you install a program, the installation program usually does the following:
- Looks for a previous version of the program on your hard disk. If it finds a previous version, the program may ask whether you want to replace the previous version.
- Creates a folder in which to store the program files. Most installation programs ask where you'd like this folder. Some installation programs also create additional folders within this folder. Windows creates a folder named Program Files, usually in C:\ (if Windows is stored in a partition or drive other than C, the Program Files folder is usually in the same partition). We recommend you install all your programs in folders within the Program Files folder.
Some software vendors have the bad habit of installing application programs in locations other than your Program Files folder. You can't do much about this; the additional folders may clutter up your root folder, but they don't do any harm.
- Copies the files onto your hard disk. If the program files are compressed, the installation program uncompresses them. Usually, the installation program copies most of the files into the program's folder, but it may also put some files into your C:\Windows, C:\Windows\System, or other folders.
- Checks your system for the files and hardware it needs to run. For example, an Internet connection program might check for a modem.
- Adds entries to the Windows Registry to tell Windows which types of files the program works with, which files the program is stored in, and other information about the program.
- Adds a command for the program to your Start | All Programs menu (some programs add submenus to the Start | All Programs menu to contain several commands). The installation program may also add a shortcut to your Windows desktop to make running the program easy for you. You can change the position on the Start menu of the command for the program, get rid of the command, or create a command if the installation program doesn't make one. You can also create a shortcut icon on the desktop, if the installation program hasn't done so, or move or delete the program's shortcut.
- Asks you a series of questions to configure the program for your system. The program may ask you to type additional information, like Internet addresses, passwords, or software license numbers. It may also ask which users should be able to run the program.
Every installation program is different, because it comes with the application program, not with Windows. If your computer is connected to a LAN or to the Internet, the installation program may configure your program to connect to other computers on the network.
What Happens During Program Uninstallation? The perfect uninstallation program exactly undoes all the actions of the installation program, removing all the files and folders the installation program created, and putting back everything else to where it was originally. Unfortunately, we've never seen a perfect uninstallation program, but most uninstallation programs do an acceptable job of removing most traces of a program from your system.