home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Entertainment 11
/
EPISODE_11_MAR_1995.iso
/
patch
/
lolcdpch.exe
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1994-03-21
|
3KB
|
131 lines
@echo off
Rem / Batch File Installer for
Rem / Lands of Lore CD
Rem / version 1.02
Rem / (c) 1994 Virgin Games
Rem / MJS3.14
cls
if exist LOLCP102.EXE goto NOERR
goto ERR3
:NOERR
if %1x==x goto TryDefault
if exist %1\LOLCD.EXE goto DO_IT
goto ERR
:TryDefault
if exist c:\westwood\lolcd\lolcd.exe goto CONTINUE
goto usage
:CONTINUE
echo Detected default install directory.
echo.
set LOLCPTH=C:\WESTWOOD\LOLCD
if %LOLCPTH%==C:\WESTWOOD\LOLCD goto DO_IT2
goto ERR2
:DO_IT
set LOLCPTH=%1
if %LOLCPTH%==%1 goto DO_IT2
goto ERR2
:DO_IT2
echo One moment please...
echo.
echo Loading update information...
copy \lolcp102.exe %LOLCPTH% > NUL
echo Updating old files...
echo.
%LOLCPTH%\lolcp102 %LOLCPTH%
del %LOLCPTH%\lolcp102.exe
%LOLCPTH%\patch %LOLCPTH%
pause
if exist %LOLCPTH%\readme.bat goto SUCCESS
goto ERROR
:ERR3
echo.
echo ──────── LOLCP102.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 CD files in:
echo %1
echo please check path.
:USAGE
echo.
echo To update your installation of Lands of Lore CD, type "INSTALL"
echo followed by a space and the name of the directory where the
echo Lands CD files were originally installed.
echo.
echo For example, if the update files are located on a disk in
echo drive A:, and LOLCD was originally installed to D:\LOLCD, the
echo commands would look like this:
echo.
echo A:
echo INSTALL D:\LOLCD
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 CD" to version 1.02 ─────────
echo.
echo Do NOT re-install Lands of Lore CD from the CD ROM disks or
echo else the updated files will be overwritten. You MAY however
echo run the SETUP program from the hard drive to reconfigure
echo your hardware setup.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
:END
set LOLCPTH=
echo.