' 컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴
'  SSG Warlords ][ Install WED-NOV-92
' 컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴


BACKGROUND 31
TELESCOPE OFF                              

WINOPEN 0 2 31
"                          S.S.G."
""
"                  Strategic Studies Group"
""
"              Warlords ][ Installation Program              "
""

TELESCOPE ON
SHADOW ON

VIDEO VGA                   
JUMP.YES GOTVGA
BEEP
WINOPEN 0 11 78

"  Warlords ][ requires VGA graphics to run!"
""
"         This is not a VGA machine."
"     You can still install Warlords ]["
"           but it will not work!"
""
"Do you wish to continue with the installation?"
""
ASK 40 19
JUMP.NO LEFIN
WINCLOSE
:GOTVGA

CPU 386                
JUMP.YES GOT386
BEEP
WINOPEN 0 11 78

" Warlords ][ requires a 386 or better to run!"
""
"         This is not a 386 machine."
"     You can still install Warlords ]["
"           but it will not work!"
""
"Do you wish to continue with the installation?"
""
ASK 40 19
JUMP.NO LEFIN
WINCLOSE
:GOT386


:PROMPT
DRIVE C 28 12 47 15 32 14 79

PATH \WARLORD2 0 14 47 15 32 14 79



WINOPEN 0 12 47
"INSTALLING Warlords ][                 "
""
""
""
""
""
""
""
SHADOW OFF
UNPACK WAR2.PAK 0 15 47 26 14 79
SHADOW ON
JUMP.FAIL INSTALL_FAILURE

WINCLOSE

:DONE

'
'Save game directory  
'
MD ~1~2\SAVE       



'
'       Sound data - uncompress
'
SHELL
"~1"
"cd ~2\sound"
"UNCOMPRE"
WINOPEN 0 12 47
"Deleting old sound files               "
""
""
""
""
""
""
""
SHADOW OFF
DELETE ~1~2\SOUND\*.ABT 0 15 47        ' DELETE Compressed sound files  
SHADOW ON
EXIST ~1~2\WAR2.INI
JUMP.NO NEW_VERSION                     'DELETE INI FILE  New version??
DELETE ~1~2\WAR2.INI 0 15 47
:NEW_VERSION
WINCLOSE

'
'       View the readme file
'
WINOPEN 0 12 47
"          Press any key"
"  to see the Warlords ][ Read.me file  "
""
WAIT 50 14
WINCLOSE
VIEW ~1~2\READ.ME 47 31

BEEP
WINOPEN 0 12 47
"Warlords ][ has successfully installed!"
""
"      To start the game just type" 
""
"                WAR2"
""
"  ...and may all your battles"
"                 be glorious ones......"
""
"   Press the [Enter] key to continue."

WAIT 50 20

WINCLOSE

SHELL
"~1"
"cd ~2"

:LEFIN
END


' you've seen this before in other examples:

:INSTALL_FAILURE

WINOPEN 0 11 79

"THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION"
""
"Possible reasons:"
"   -- The floppy disk was damaged during shipping."
"   -- Your disk drive is out of alignment."
"   -- The floppy disk was removed prior to completion."
""
"Press [Enter] to remove incomplete program files."

WAIT 62 19
WINCLOSE

WINOPEN 0 11 31

"Partially Installed Files are Now Deleted."
""
"Please try to install the software again."
"If you get this error message again,"
"call SSG (02) 858-5854 for"
"a new floppy disk."
""
"      Press [Enter] to Quit."

WAIT 47 19
WINCLOSE
