SET_MODE     = 320X200x256                   // Zulssige Mode defines
SET_LANGUAGE = ENGLISH                       // Sprache im Install-Programm und in der
                                             // SETUP.INI setzen

//.........................................................................

IF_EXISTS         "setup.ini"
   GOTO Menu1
ELSE
   GOTO Menu2
ENDIF

//.........................................................................

:Menu1
LOAD_BACKGROUND  "install.tgp",0                // Background Bild aus TGP-POOL laden
MENU_START       = 20,10
MENU_ITEM        "View Readme",ReadMe
MENU_ITEM        "Quit to DOS",Ende
MENU_END

//.........................................................................

:Menu2
LOAD_BACKGROUND  "install.tgp",0                // Background Bild aus TGP-POOL laden
MENU_START       = 20,20
MENU_ITEM        "CLIF DANGER INSTALLATION"
MENU_ITEM        "Install Game ",Install
MENU_ITEM        "Quit to DOS",Ende
MENU_END

//.........................................................................

:Ende
SWITCH_TARGET
EXIT                                         // Ende des Installations Programms

//.........................................................................

:Install
SELECT_TARGET_DRIVE = 1800,Menu2             // Ein HD-Drive fr die Installation
SELECT_TARGET_PATH  "CLIF",Menu2             // holen 1,8 MB mssen frei sein

SWITCH_TARGET

//DELETE  "*.*"                              // alles lschen falls Verzeichnis
                                             // schon da war.
CREATE  "SETUP.INI"
UPDATE_INI                                   // Setup.ini updaten

//.........................................................................


PRINT_TXT    20,10
TXT_HEADLINE "STATUS"                   // einen Text ausgeben
TXT_ITEM     "Copying files.."
TXT_END

//.........................................................................

INSTALL      "clif.ex_","clif.exe"              
INSTALL      "setsnd.exe","setsnd.exe"             
INSTALL      "test.tmf","test.tmf"             
INSTALL      "ngdetect.cfg","ngdetect.cfg"             
INSTALL      "dos4gw.exe","dos4gw.exe"             
INSTALL      "install.exe","install.exe"             
INSTALL      "install.scr","install.scr"             
INSTALL      "install.tgp","install.tgp"             
INSTALL      "readme.txt","readme.txt"             
INSTALL      "clifsb.bat","clifsb.bat"             
INSTALL      "clifsbpr.bat","clifsbpr.bat"             


SWITCH_SOURCE
//.........................................................................
LOAD_BACKGROUND  "install.tgp",1              // Background Bild aus TGP-POOL laden


INFO_TXT    20,10
TXT_HEADLINE "MESSAGE"                   // einen Text ausgeben
TXT_ITEM     "To configure your soundcard start"
TXT_ITEM     "SETSND.EXE after leaving the installation."
TXT_END

INFO_TXT     40,20                          // Info ausgeben
TXT_HEADLINE "STATUS"
TXT_ITEM     "Installation complete! "
TXT_ITEM     "Type CLIF at the DOS-Prompt"
TXT_ITEM     "to start the Game."
TXT_END

GOTO         Menu1

//.........................................................................


:ReadMe
TXT_FILE     "readme.txt"
GOTO         Menu1

//.........................................................................

