:* ---------------------------------------------------------------------*/
:*    INSTALL.TXT file for GEM Desktop Publisher R1.5  (5.25" media)	*/
:*									*/
:* Date		Comments						*/
:* 880201	execution under GEM/3. Includes Font Merge Utility R1.0	*/
:*		for hard disk only.					*/
:* 880425	R2.0, hard disk only, all dirs under GEMAPPS.   	*/
:* ---------------------------------------------------------------------*/
CHECKVER 0300
IF1BUTN OLDVERS
IFFD FDSYS
:* ---------------------------------------------------------------------*/
SRCMSG [3][Cannot find the file you are trying to|
	   copy. Please be sure your "GEM Desktop|
	   Publisher Master Disk" is in drive A.|
	   GEM Desktop Publisher installation|
	   incomplete.][ Retry |  Quit  ]
CREATEMSG [3][File creation error. Your hard disk may|
	   be out of space, destination folder may|
	   be missing, or destination file may be|
	   set to read only. GEM Desktop Publisher|
	   installation incomplete.][ Retry |  Quit  ]
DSTMSG [3][File write error. Your hard disk may be|
	   out of space. GEM Desktop Publisher|
	   installation incomplete.][  OK  ]
ALERT 1[0][GEM Desktop Publisher will be installed|
	   on your hard disk. A folder named|
	   \GEMAPPS\GEMPAGES will be created on|
	   your hard disk. Click on OK when you|
	   are ready.][   OK   |  Quit  ]
IF2BUTN BADEXIT
PATBAT C:
:* ensure \GEMAPPS and \GEMAPPS\GEMSYS directories exists because installion
:* 	may be on a different drive than GEM system software
IFNOSPC C: 4 BADMAKE
MD C:\GEMAPPS
MD C:\GEMAPPS\GEMSYS
:* ensure GEM/3 scrap folder exists because Publisher's missing scrap
:*	folder alert references GEMSCRAP.
MD C:\GEMAPPS\CLIPBRD
DEL C:\GEMAPPS\PUBLISHR.INF
COPY A:\GEMAPPS\*.* C:\GEMAPPS
COPY A:\GEMAPPS\GEMSYS\*.* C:\GEMAPPS\GEMSYS
MD C:\GEMAPPS\GEMSYS\FILTERS
COPY A:\GEMAPPS\GEMSYS\FILTERS\*.* C:\GEMAPPS\GEMSYS\FILTERS
IFNOSPC C: 2 BADMAKE
MD C:\GEMAPPS\GEMPAGES
MD C:\GEMAPPS\GEMPAGES\PAGENBRS
COPY A:\GEMAPPS\GEMPAGES\PAGENBRS\*.* C:\GEMAPPS\GEMPAGES\PAGENBRS
ALERT 1[0][Sample documents and the tutorial will|
	   be copied into C:\GEMAPPS\GEMPAGES.|
	   Click on OK if this is your 1st instal-|
	   lation. Click on Skip if you do not|
	   want them copied onto your hard disk.][   OK   |  Skip  ]
IF2BUTN COPYAPP
COPY A:\GEMAPPS\GEMPAGES\*.* C:\GEMAPPS\GEMPAGES
:COPYAPP
SRCMSG [3][Cannot find the file you are trying to|
	   copy. Please be sure your "GEM Desktop|
	   Publisher Application Disk" is in drive|
	   A. Installation of PUBLISHR.APP in|
	   C:\GEMAPPS folder incomplete.][ Retry |  Quit  ]
CREATEMSG [3][File creation error. Your hard disk may|
	   be out of space or destination file may|
	   be set to read only. Installation of|
	   PUBLISHR.APP in C:\GEMAPPS folder|
	   incomplete.][ Retry |  Quit  ]
DSTMSG [3][File write error. Your hard disk may|
	   be out of space. Installation of|
	   PUBLISHR.APP in C:\GEMAPPS folder|
	   incomplete.][  Quit  ]
ALERT 1[0][Please insert your "GEM Desktop Pub-|
	   lisher Application Disk" into drive A.|
	   Click on OK when ready.][   OK   |  Quit  ]
IF2BUTN BADEXIT
COPY A:\PUBLISHR.APP C:\GEMAPPS
SRCMSG [3][Cannot find the file you are trying to|
	   copy. Please be sure your "GEM Desktop|
	   Publisher Font Merge Utility Disk" is in|
	   drive A. Installation of FNTMERGE.APP in|
	   C:\GEMAPPS folder incomplete.][ Retry |  Quit  ]
CREATEMSG [3][File creation error. Your hard disk may|
	   be out of space or destination file may|
	   be set to read only. Installation of|
	   FNTMERGE.APP in C:\GEMAPPS folder|
	   incomplete.][ Retry |  Quit  ]
DSTMSG [3][File write error. Your hard disk may|
	   be out of space. Installation of|
	   FNTMERGE.APP in C:\GEMAPPS folder|
	   incomplete.][  Quit  ]
ALERT 1[0][Insert your "GEM Desktop Publisher|
	   Font Merge Utility Disk" into drive A.|
	   Click on OK when ready.][   OK   | Cancel ]
IF2BUTN BADEXIT
COPY A:\GEMAPPS\FNTMERGE.* C:\GEMAPPS
COPY A:\GEMAPPS\*.DAT C:\GEMAPPS
COPY A:\GEMAPPS\PUBLISHR.MSG C:\GEMAPPS
ALERT 1[0][You have finished installing GEM Desktop|
	   Publisher with the Font Merge Utility in|
	   the C:\GEMAPPS folder. Sample documents|
	   and the tutorial are in the|
	   C:\GEMAPPS\GEMPAGES folder.][   OK   ]	
ALERT 1[0][To run GEM Desktop Publisher, double-|
	   click on PUBLISHR.APP in the C:\GEMAPPS|
	   folder after returning to Desktop.][   OK   ]
GOTO DONE
:* ---------------------------------------------------------------------*/
:FDSYS
ALERT 1[3][ERROR: You cannot install GEM|
	   Desktop Publisher on a floppy|
	   disk-based system.][   OK   ]
GOTO BADEXIT
:* ---------------------------------------------------------------------*/
:OLDVERS
ALERT 1[3][ERROR: This installation process re-|
	   quires GEM/3 release 3.0 or higher.|
	   You must install the release of GEM|
	   provided with this application or|
	   contact your supplier.][   OK   ]
GOTO BADEXIT
:* ---------------------------------------------------------------------*/
:BADMAKE
ALERT 1[3][ERROR: Unable to create directory.|
	   The destination disk may be out of|
	   space.][   OK   ]
:* ---------------------------------------------------------------------*/
:BADEXIT
ALERT 1[0][GEM Desktop Publisher installation|
	   incomplete.][   OK   ]
:* ---------------------------------------------------------------------*/
:DONE
DOS
