home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Entertainment 5
/
EPISODE_05_SEP_1994.iso
/
patch
/
lolp122.exe
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1994-03-14
|
3KB
|
131 lines
Rem / Batch File Installer for
Rem / Lands of Lore
Rem / version 1.22
Rem / (c) 1994 Virgin Games
Rem / MJS3.14
@echo off
cls
if exist LOLP122.EXE goto NOERR
goto ERR3
:NOERR
if %1x==x goto TryDefault
if exist %1\LANDS.EXE goto DO_IT
goto ERR
:TryDefault
if exist c:\westwood\lands\lands.exe goto CONTINUE
goto usage
:CONTINUE
echo Detected default install directory.
echo.
set LOLPTH=C:\WESTWOOD\LANDS
if %LOLPTH%==C:\WESTWOOD\LANDS goto DO_IT2
goto ERR2
:DO_IT
set LOLPTH=%1
if %LOLPTH%==%1 goto DO_IT2
goto ERR2
:DO_IT2
echo One moment please...
echo.
echo Loading update information...
copy \lolp122.exe %LOLPTH% > NUL
echo Updating old files...
echo.
%LOLPTH%\lolp122 %LOLPTH%
del %LOLPTH%\lolp122.exe
%LOLPTH%\patch %LOLPTH%
pause
if exist %LOLPTH%\readme.bat goto SUCCESS
goto ERROR
:ERR3
echo.
echo ──────── LOLP122.EXE file not found ─────────
echo.
echo Please ensure that the install is run from the
echo floppy disk drive.
echo.
echo For example, you should be typing:
echo A:
echo INSTALL
echo.
echo.
goto ERROR
:ERR2
echo.
echo ─────── Not enough environment space ───────
echo to finish installation of update.
echo.
echo Please increase the environment space before
echo running the install.
echo.
echo For example, add:
echo SHELL=C:\DOS\COMMAND.COM C:\DOS\ /p /e:256
echo to you CONFIG.SYS file.
echo.
echo Do NOT run the install from Windows.
echo.
echo.
goto ERROR
:ERR
echo.
echo *** Could not find Lands of Lore files in:
echo %1
echo please check path.
:USAGE
echo.
echo To update your installation of Lands of Lore, type "INSTALL"
echo followed by a space and the name of the directory where the
echo Lands files were originally installed.
echo.
echo For example, if the update files are located on a disk in
echo drive A:, and LOL was originally installed to D:\LANDS, the
echo commands would look like this:
echo.
echo A:
echo INSTALL D:\LANDS
echo.
goto end
:ERROR
echo ─── Failed attempt to update Lands of Lore ────
echo.
echo For assistance, please contact
echo Virgin Games Technical Support
echo (714) 833-1999
goto end
:SUCCESS
cls
echo ───────── Updated "Lands of Lore" to version 1.22 ─────────
echo.
echo Do NOT re-install Lands of Lore from the original disks or
echo else the updated files will be overwritten. You MAY however
echo run the INSTALL program from the hard drive to reconfigure
echo your hardware setup.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
:END
set LOLPTH=
echo.