'****** CHASM (demo) INSTALL

SHELL 
"~0\picem.exe /w:300 chsm_spl.pcx"

BACKGROUND 0    ' 63 display cyan colored background (see color chart in docs)

LANGUAGE ENGLISH

BORDER 1            ' 1 = single line borders. 2 = double, 0 = no border

TELESCOPE OFF       ' turn off "exploding" or telescoping windows
                    ' this will make the window instantly appear
SHADOW ON

'***************************************************************************
WINOPEN 18 2 95     
"    CHASM - The Rift - 3 Mission Demo    "
"                                         "
""
""

PAUSE 100
WINUPDATE +4 +4 94
"Distributed By GT Interactive Software"  ' 94 yellow text, 14 characters across, 3 rows 
                               ' down from the upper left hand corner of window.
PAUSE 50                  ' 1/2 second delay between words
WINUPDATE +16 +5 95
" Version 1.0 "

PAUSE 200                 ' 2 second delay

TELESCOPE ON       

'*************************************************************************** 
'  Prompt for the drive to install to:
:INSTALL_NOW

WINOPEN 9 2 95     
"         Thanks for trying CHASM - The Rift DEMO        " 
"                                                        "
""
"          (c) Megamedia Corp, Action Forms LTD.         "
PAUSE 200

SHADOW OFF

WINOPEN 10 20 31
""
" Please enter the letter of the DRIVE where you would "
" like to copy the CHASM DEMO. "
""
DRIVE C 28 11 31 15 29 14 79

WINCLOSE

WINOPEN 29 11 95
"   Unpacking files ..............   "

UNPACK chasm.pak 34 15 112 34 15 79

MD ~1\chasm-sw

COPY ~1\legal.txt    ~1\chasm-sw\ 34 15 112
JUMP.FAIL FILE_CREATION_ERROR
COPY ~1\rtm.exe      ~1\chasm-sw\ 34 15 112
JUMP.FAIL FILE_CREATION_ERROR
COPY ~1\chasm.def    ~1\chasm-sw\ 34 15 112
JUMP.FAIL FILE_CREATION_ERROR
COPY ~1\chasm.exe    ~1\chasm-sw\ 34 15 112
JUMP.FAIL FILE_CREATION_ERROR
COPY ~1\csm.bin      ~1\chasm-sw\ 34 15 112
JUMP.FAIL FILE_CREATION_ERROR
COPY ~1\dpmi16bi.ovl ~1\chasm-sw\ 34 15 112
JUMP.FAIL FILE_CREATION_ERROR
COPY ~1\ps10.exe     ~1\chasm-sw\ 34 15 112
JUMP.FAIL FILE_CREATION_ERROR
COPY ~1\chasm.cfg    ~1\chasm-sw\ 34 15 112
JUMP.FAIL FILE_CREATION_ERROR
COPY ~1\readme.txt   ~1\chasm-sw\ 34 15 112
JUMP.FAIL FILE_CREATION_ERROR

PAUSE 200                 ' 2 second delay

WINOPEN 29 11 47     
"   Finishing the installation ......  "

DELETE ~1\legal.txt    34 15 112
DELETE ~1\rtm.exe      34 15 112
DELETE ~1\chasm.def    34 15 112
DELETE ~1\chasm.exe    34 15 112
DELETE ~1\csm.bin      34 15 112
DELETE ~1\dpmi16bi.ovl 34 15 112
DELETE ~1\ps10.exe     34 15 112
DELETE ~1\chasm.cfg    34 15 112
DELETE ~1\readme.txt   34 15 112


'*************************************************************************** 
:CONCLUDE

PAUSE 100                 ' 2 second delay

SHADOW ON

WINOPEN 10 20 31
""
" Would you like to view the README.TXT file Y or N "
""
ASK 63 21
JUMP.YES VIEW_README

:TECHSUPPORT
WINOPEN 3 2 95
"               Thanks for trying the DEMO of CHASM - The Rift            "
""
"   To Play:    Switch to the CHASM-SW directory and "
"               simply run the 'CHASM.EXE' file! "
""
""
""
"" 
"               < Push the ENTER key to return to DOS >" 

WAIT 50 70

JUMP OK_DONE


'*************************************************************************** 
:FILE_CREATION_ERROR
WINCLOSE
WINOPEN 5 14 31
" Could not copy file. "
""
" Push the Enter key to try again. "
WAIT 16 64

WINCLOSE
JUMP WHERE_TO_PUT_BACKUP

'*************************************************************************** 
:VIEW_README
VIEW readme.txt 79 31

JUMP TECHSUPPORT

'*************************************************************************** 
:OK_DONE
END
