home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- if %1!==! goto TryDefault
- if not exist %1\V.EXE goto ERR
- set T7GPTH=%1
- goto DO_IT
-
- :TryDefault
- if not exist c:\id\t7g\v.exe goto usage
- echo Detected default install directory.
- echo.
- set T7GPTH=C:\ID\T7G
-
- :DO_IT
- echo One moment please...
- echo.
- for %%A in (V.EXE INSTALL.EXE) do del %T7GPTH%\%%A
- for %%A in (ADLIB ADLIBG ALGDIG MT32MPU PASDIG PASFM) do del %T7GPTH%\%%A.ADV
- for %%A in (PASOPL SBDIG SBPDIG SBP1FM SBP2FM SBFM) do del %T7GPTH%\%%A.ADV
- echo Loading update information...
- copy \t7g-124.exe %T7GPTH% > NUL
- echo Updating old files...
- echo.
- %T7GPTH%\t7g-124 %T7GPTH%
- del %T7GPTH%\t7g-124.exe
- pause
- if exist %T7GPTH%\README2.TXT goto SUCCESS
- goto ERROR
-
- :ERR
- echo.
- echo *** Could not find The 7th Guest files in:
- echo %1
- echo please check path.
-
- :USAGE
- echo.
- echo To update your installation of The 7th Guest, type "INSTALL"
- echo followed by a space and the name of the directory where the
- echo T7G files were originally installed.
- echo.
- echo For example, if the update files are located on a disk in
- echo drive A:, and T7G were originally installed to D:\GUEST, the
- echo commands would look like this:
- echo.
- echo A:
- echo INSTALL D:\GUEST
- echo.
- goto end
-
- :ERROR
- echo ─── Failed attempt to update The 7th Guest ────
- echo Contact Virgin Games Technical Support
- echo (714) 833-1999
- goto end
-
- :SUCCESS
- cls
- echo ───────── Updated "The 7th Guest" to version 1.24 ─────────
- echo.
- echo Do NOT re-install The 7th Guest from CD-ROM disc #2 or else
- echo the updated files will be overwritten. You MAY however run
- echo the INSTALL program from the hard drive to reconfigure your
- echo hardware setup.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- echo.
- set T7GPTH=
-
- :END
- echo.
-