home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PowerPlay 1997 November
/
PowerPlay1197.bin
/
INSTALL.SCR
< prev
next >
Wrap
Text File
|
1997-01-01
|
3KB
|
149 lines
// Install script for Extreme Assault
// (c) 1997 Blue Byte Software GmbH
// Set language
SET_LANGUAGE 1
// Load background image
LOAD_BACKGROUND "install\install.lbm"
// Go to setup if already installed, else go to install
IF_EXISTS setup.ini
GOTO SetupMainMenu
ELSE
GOTO InstallMainMenu
ENDIF
// Install main menu
:InstallMainMenu
MENU_START
MENU_ENTRY "EXTREME ASSAULT DEMO Installation"
MENU_ENTRY "EXTREME ASSAULT Demo installieren" InstallGame
MENU_ENTRY "Beenden" ExitInstallFromInstall
MENU_END
// Install the game
:InstallGame
// Select a target drive
SELECT_TARGET_DRIVE 28000 InstallMainMenu
// Select target path
SELECT_TARGET_PATH BLUEBYTE\EXTREME
// Inform the user that installation has started
PRINT "Bereite Installation vor..."
// Change to target directory
CD_TARGET
// Delete everything that may already be here
DELETE *.*
DELETE DRIVERS
DELETE INSTALL
DELETE DATA
DELETE DATA.SFX
//DELETE SHOTS
// Create directories
MD DRIVERS
MD INSTALL
MD DATA
MD RESTEST
MD DATA.SFX
MD SAVEGAME
//MD SHOTS
// Change to source directory
CD_SOURCE
// Inform the user that installation has started
PRINT "Installiere EXTREME ASSAULT..."
// Copy AIL drivers
INSTALL DRIVERS\*.* DRIVERS\*.*
// Copy setup stuff
INSTALL SETUP.EXE SETUP.EXE
INSTALL INSTALL.SCR INSTALL.SCR
INSTALL INSTALL.LBM INSTALL.LBM
INSTALL DOS4GW.EXE DOS4GW.EXE
INSTALL README.TXT README.TXT
//INSTALL NEWS.TXT NEWS.TXT
INSTALL CHECKVGA.BAT CHECKVGA.BAT
INSTALL_DIRS INSTALL\*.* INSTALL\*.*
// Copy root stuff
INSTALL_DIRS ROOT\*.* *.*
// Copy rest
INSTALL_DIRS DATA\*.* DATA\*.*
INSTALL_DIRS DATA.SFX\*.* DATA.SFX\*.*
INSTALL_DIRS RESTEST\*.* RESTEST\*.*
//INSTALL_DIRS SHOTS\*.* SHOTS\*.*
CD_TARGET
// Create and update setup file
CREATE SETUP.INI
UPDATE_INI
// Inform the user that installation has been completed successfully
INFO "EXTREME ASSAULT wurde erfolgreich installiert"
GOTO SetupMainMenu
// Setup main menu
:SetupMainMenu
MENU_START
MENU_ENTRY "EXTREME ASSAULT DEMO: Setup"
MENU_ENTRY "Soundkarte einstellen" SetupSound
MENU_ENTRY "Grafikauflösungen testen" TestScreen
MENU_ENTRY "Spielanleitung" ReadDoc
//MENU_ENTRY "Blue Byte News" NewsInfo
MENU_ENTRY "EXTREME ASSAULT Demo starten" StartGame
MENU_ENTRY "Beenden" ExitInstallFromSetup
MENU_END
:SetupSound
CD DRIVERS
EXECUTE_OWN_SCREEN SETSOUND.EXE
CD ..
GOTO SetupMainMenu
:ReadDoc
TEXT README.TXT
GOTO SetupMainMenu
:NewsInfo
TEXT NEWS.TXT
GOTO SetupMainMenu
:TestScreen
EXECUTE_OWN_SCREEN Checkvga.bat
GOTO SetupMainMenu
:StartGame
EXECUTE_OWN_SCREEN START.BAT
END
:ExitInstallFromSetup
INFO "Viel Spaß mit EXTREME ASSAULT!"
END
:ExitInstallFromInstall
END