/****************************************************************************
 UPGRADE APPLICATION

 Copyright 1991, GO Corporation, All Rights Reserved
****************************************************************************/


The Upgrade is a system service application used to install new
versions of parts of penpoint. It can change system dll's, app's,
service's and milserv's. 

Upgrade works by placing the dll's to be upgraded into
\penpoint\app\upgrade\dll on the disk used to install upgrade. 
Likewise:
app's     in \penpoint\app\upgrade\app,
service's in \penpoint\app\upgrade\service, and
milserv's in \penpoint\app\upgrade\milserv.

Upgrade also changes the Corrective Service Level (CSL). The new
CSL is a text string in \penpoint\app\upgrade\level.txt. Upgrade
will read the string at the top of level.txt. Upgrade puts up a
note showing the current CSL and the upgrade CSL asking if the
user wants to continue with the upgrade.

Upgrade copies all its the system files is its app directory to
the runtime volume. It copies:
\penpoint\app\upgrade\dll     to \penpoint\dll,
\penpoint\app\upgrade\app     to \penpoint\app,
\penpoint\app\upgrade\service to \penpoint\service,
\penpoint\app\upgrade\milserv to \penpoint\milserv. 

Upgrade then asks if you want to warm boot Penpoint. The upgrade
software is only installed after a warm boot. During the warm
boot Penpoint will deinstall the old system software and install
the new versions. It deletes all the files in \penpoint\dll,
\penpoint\app, \penpoint\service, and \penpoint\milserv. During
the warm boot the B2 system flag must be set. The flag is
normally set from the environ.ini file at boot time.

