When you install an application on Windows XP, it is usually accomplished by using the Windows Installer utility, which not only installs the program but also keeps track of the files copied to your system and the entries made to the Registry. This makes uninstalling an application a much easier task.
Other installation programs also exist, especially in older programs, but most installation programs will perform the following tasks: