home *** CD-ROM | disk | FTP | other *** search
- @echo off
- :: Lets Clear the screen and get to work
- cls
- :: Setup Memory Variables used by install
- Echo Welcome to DOE ENTERTAINMENT (R) (c)1994
- Echo Enclosed is F-18 No Fly Zone DOE ENTERTAINMENT(R)
- Echo .
- if %1.==. GOTO HELP
- if %2.==. GOTO HELP
- Echo This uncompress all the F-18 No Fly Zone(tm)
- Echo .
- Echo Files To:
- Echo ************* %2\F18NFZ
- Echo .
- Echo Press Ctrl Break to abort
- Echo or
- Echo any other key now ... To continue
- pause >nul
- Echo .
- Echo Note:
- Echo The file F18NFZ.EXE takes some
- Echo time to uncompress.
- Echo .
- :: Actually start uncompress game files
- :: and directory if it does exist
- %1GAME.EXE %2\F18NFZ
- :: copy the PlayDoe.ini file if there is a windir enviroment varible
- if %windir%.==. goto NOWINDIR
-
- :: There was a environment variable to copy to
- Echo Installing under windows
- Echo Copy Default config to Windows Directory
- copy %2\F18NFZ\PLAYDOE.INI %windir%
- goto HOWTOO
-
- :NOWINDIR
- :: if there is no windir environment variable then tell user
- :: to copy the file..
- echo .
- echo *************************************************
- echo * You must copy the %2\F18NFZ\PLAYDOE.INI file
- echo * to your WINDOWS directory.
- echo *************************************************
- echo .
- Echo F18NFZ(tm)
- Echo Now Installed in the %2\F18NFZ
- echo .
- echo Please Run Windows...
- goto winrun
-
- :HOWTOO
- :: Tell User how to run the program
- Echo .
- Echo F-18 No Fly Zone(tm) Now Installed in the
- Echo ********** %2\F18NFZ
-
- :WinRun
- :: Now That they know how, lets put them there
- echo .
- echo Choose RUN from the File menu
- echo and enter %2\F18NFZ\F18NFZ.EXE
- echo .
- Echo Press any key to continue
- pause>nul
- goto END
-
- :help
- echo F-18 No Fly Zone Installation
- echo Game: F18NFZ(tm)
- echo ------------------------------------------------------------------
- echo Usage: INSTALL [source:] [destination:]
- echo ------------------------------------------------------------------
- echo Example: INSTALL A: C:
- echo -
- echo - Will install F18NFZ from A: to the C: drive
- echo - into the C:\F18NFZ
- Echo Press any key to continue
- pause >nul
- :END
-