'Install Script for
' CrossWorld - LA Times Edition
' Copyright 1993-94, CROSSWORLD SOFTWARE Inc.
' Dec 1, 1993

BACKGROUND 15
LANGUAGE ENGLISH
TELESCOPE OFF
BORDER 0
WINOPEN 1 1 15
"                      CROSSWORLD: L.A. TIMES EDITION"
"                           Installation Program"
WINOPEN 1 22 15
"                 Copyright CROSSWORLD SOFTWARE INC. 1993-94"
WINOPEN 1 5 63
"                                                                         "
"                                                                         "
"                                                                         "
"                                                                         "
"                                                                         "
"                                                                         "
"                                                                         "
"                                                                         "
"                                                                         "
"                                                                         "
"                                                                         "
"                                                                         "
"                                                                         "
"                                                                         "
WINUPDATE +60 +15 94
"Press ESC to Quit" 

TELESCOPE ON
SHADOW ON

' SPACE 2500
'  Prompt for the drive to install to:
DRIVE C 0 0 30 15 32 14 79

' Prompt with default path
PATH \CROSS 0 0 30 15 32 14 79

'  Unpack the files from the floppy drive.
WINUPDATE +23 +2 15
" Installing  CrossWorld ....    "
WINUPDATE +60 +15 63
"                 "
UNPACK CRSSWRLD.PAK    0 0 30 32 14 79

WINUPDATE +23 +2 15
" Installing  English Dictionary "
UNPACK BOOK.PAK    0 0 30 32 14 79

WINUPDATE +23 +2 15
" Directory for LA TIMES Puzzles "
WINUPDATE +60 +15 94
"Press ESC to Quit" 
BEEP

PATH \CROSS\LA_TIMES 0 0 30 15 32 14 79
WINUPDATE +23 +2 15
" Installing L.A. TIMES Puzzles  "
WINUPDATE +23 +3 15
"         Please Wait...         "   
WINUPDATE +60 +15 63
"                 "
UNPACK PUZZLES.PAK 0 0 30 32 14 79

' just in case of a bad floppy
JUMP.FAIL INSTALL_FAILURE 
WINUPDATE +23 +2 63
"                                "
BEEP
' Inform user that software installation is now complete
WINOPEN 0 0 30
"                                                          "
"                                                          "
"                                                          "
"To Run Crossworld:"
"                    Change Directory to: ~1\CROSS"
"                    Type:  CROSS"
"                                "    
"Press [Enter] to continue."
WINUPDATE +1 +1 31
"Installation has been completed successfully."
"You may remove the installion diskette from the disk drive."

WAIT +28 +4              
WINCLOSE     
END

:INSTALL_FAILURE
WINOPEN 0 12 79
"THE INSTALLATION PROGRAM HAS NOT COMPLETED SUCCESSFULLY"
""
"Possible reasons:"
"   -- The floppy disk was removed prior to completion."
"   -- Not enough room on your hard disk."
"   -- The floppy disk was damaged during shipping."
""
""
"      Press [Enter] to Quit."
WAIT 47 15
END

