
                     Uninstalling an Application

To Uninstall an Application simply Drag the WPS Object that represents
the Application or the EXE File for the Application to the Uninstall
Dialog Window.  Once the Object or EXE file is dropped on the Uninstall
Dialog the Uninstall Process is started.

This process is divided into four sections.

The first three sections simply examine the different parts of the
Desktop and File structure determining what changes need to be made in
order to Uninstall the Application that was dropped on the Uninstall
Window.

Once all of the components and activities needed to Uninstall the
Application have been determined, the user is presented with a Dialog
listing all of these items. The user then has an opportunity to review
all of the scheduled actions and do all, some or none of them. Only
after this review and confirmation by the user will the fourth part of
the Uninstall be done, which is to actually perform the scheduled
actions.

I - Object Identification

   This item is only required if an EXE file is dropped on the
Uninstall Dialog.  Since it is possible for an EXE File to be the file
that is executed by a WPS Program Object, it is necessary to determine
whether this is the case or not for the EXE file that was Dropped on
the Uninstall Dialog.

   If it is determined that the EXE File is related to an Object, then
the WPS Object and Class Uninstallation functions are performed. 
Otherwise only the last set of functions are performed.

II - WPS Object and Class Uninstallation

   A number of Object verification functions are done, including asking
the user if they want to do the entire Folder that contains the Object,
if the Dropped Object is not a Folder.

   All of the appropriate Objects are scheduled for deletion.

   Any Classes that need to be Deregistered are scheduled along with
the Desktop   Reset, if it is called for based on the actions needed on
Objects or Classes.

   Any Class DLLs that are no longer needed are scheduled for erasure.


III - Directory and EXE, DLL, Help or Information File Uninstallation

   The File type is validated and, if it has not already been done, the
user is asked if they want to do the single file or all of the files in
the Directory.

   A check is made, if the WPS Object Uninstall has not already been
done, to see if the EXE file is part of a Program Object. If the EXE
file is part of a Program Object and the WPS Object Uninstall has not
been done, then it is done at this point.

   The scope of the File Uninstall is determined by asking the User.

   The actual deletion of the appropriate Files and Directories is
   scheduled.

   All of the Help files are examined and the appropriate ones are
   scheduled for removal.

   All of the Information files are examined and the appropriate ones
   are scheduled for removal.

   The various DLL directories are reviewed and any appropriate DLL's
   are shceuled for deletion.

   The entries in the OS2.INI file are examined and the appropriate
   ones are scheduled for removal.

   The CONFIG.SYS file is examined and the appropriate entries are
scheduled for removal or adjustment, depending on what is required by
the previous actions.

IV - Action Execution

   The user is presented with a list of all of the scheduled Uninstall
   actions.

   Any of the actions can be selected by the user and then the user has
four options: Do All of the Scheduled Actions, Cancel and do Non of the
Actions, Do only the Selected Actions or Do All but the Selected
Actions.
