'  INSTALLER SCRIPT
'  Copyright 1993, SOFTECH CREATIONS
' ----------------------------------------------------------------------
BACKGROUND 31    
BORDER 1         
TELESCOPE ON     
WINOPEN 0 2 79
"          S O F T E C H   C R E A T I O N S          "
"                2910 Brigthwater Lane"               
"               Abingdon, MD 21009, USA"
"                 Phone: 410-515-3611"
""
"            Kalvi: Tamil Teacher Software"
PAUSE 100
SHADOW ON  
WINOPEN 56 6 32
"Installing..."      
"  TRIPLETS   "  
PAUSE 100                
WINUPDATE +2 +5 95
PAUSE 100                 
WINOPEN 0 12 95
"The installer will transfer all the program files to the hard disk"
"and directory of your choice, decompress and create excutable"
"version.  The installer uses default options, however, you may "
"select your own drive/path for program files. Please read the screen"
"prompts, messages carefully."
""
BEEP
WINUPDATE +15 +7 31   
"Press the [Enter] key to continue."
WAIT 80 25
WINCLOSE 
BORDER 1 
SPACE 6000
DRIVE C         0 12 95 14 32 14 116
PATH \KALVI\TRIP 0 12 95 14 32 14 116
WINOPEN  60 23 244
"Please Wait..."
COPY ~0\TRIP.EXE ~1~2\TRIP.EXE 0 12 95
COPY ~0\TRIPLETS.HDR ~1~2\*.HDR 0 12 95 
JUMP.FAIL INSTALL_FAILURE   
UNPACK  TRIPLETS.PAK  0 12 95 32 14 116
JUMP.FAIL INSTALL_FAILURE
WINCLOSE
EXIST C:\TRIP.BAT
JUMP.NO CREAT_BATCH_FILE
DELETE C:\TRIP.BAT 80 25 31
:CREAT_BATCH_FILE
FILE C:\TRIP.BAT
"@ECHO OFF"
"C:"
"CD ~1~2"
"echo Please insert the TRIPLETS PROGRAM (DISK #1) in the drive"
"echo ."
"pause"
"echo THANK YOU"
"TRIP.EXE %1 %2"
"CD\"
"CLS"
JUMP.FAIL INSTALL_FAILURE     
WINOPEN 0 12 95
"          Installation successful.        "
""
" To run, at the DOS prompt type and Enter" 
""
"                 TRIP"
""
WINUPDATE +5 +7 31
"´ Press the [Enter] key to continue Ã" 
WAIT 80 25
WINCLOSE
:EXIT
WINOPEN 0 12 95                ' window is centered on screen
"We hope that you will find this program useful."                              
""
"If you have a comment or if you do not like any"
"feature, please tell us. "
""
"If you like it, tell your friends."
""
"Thank you for your support."
""
WINUPDATE +8 +10 31                     ' write on top of bottom border
"´ Press the [Enter] key to run TRIPLETSÃ"  ' (good when space is tight)
WAIT 80 25
RUN C:\TRIP.BAT
END            ' exit the system normally
'-------------------------------------------------------------------------
:INSTALL_FAILURE
WINCLOSE
WINOPEN 0 12 116
"THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION"
""
"Possible reasons:"
"   -- The floppy disk was removed prior to completion."
"   -- The floppy disk was damaged during shipping."
"   -- Your disk drive is out of alignment."
""
"Press [Enter] to Quit installation."
WAIT 80 25
'-------------------------------------------------------------------------
