home *** CD-ROM | disk | FTP | other *** search
- @echo off
- echo.
- echo English Blinker 3.01 to Blinker 3.1 update
- echo ------------------------------------------
- echo.
- echo This process requires this file UPDATE.BAT, the archive file BLI310EN.EXE
- echo and approximately 1.5 MB of available disk space on the current drive.
- echo.
- if '%1' == '' goto help
- if exist %1\blinker.exe goto upd010
- echo File %1\BLINKER.EXE does not exist - this file is REQUIRED for
- echo this update to succeed.
- echo.
- goto fail
- :upd010
- if exist %1\blinker.ng goto upd020
- echo File %1\BLINKER.NG does not exist so a new BLINKER.NG will
- echo NOT be created.
- echo
- :upd020
- if exist bli310en.exe goto upd030
- echo File BLI310EN.EXE does not exist - it should be in the current directory.
- echo.
- goto fail
- :upd030
- echo About to create updated files
- echo.
- pause
- if '%1' == '.' goto upd040
- copy %1\blinker.exe
- copy %1\blinker.ng
- :upd040
- if exist 3rdparty.txt del 3rdparty.txt
- bli310en
- blibld
- echo.
- patch bli310en
- echo.
- if errorlevel 1 goto upd050
- echo Blinker 3.1 has been successfully installed
- echo -------------------------------------------
- echo.
- echo Be sure to update your LIB, PATH and OBJ environment settings to reflect
- echo the new path for Blinker 3.1.
- echo.
- echo If you wish to conserve disk space you may now delete the archive files
- echo BLI310EN.ZIP, BLI310EN.EXE, BLI310EN.RTP, BLIBLD.EXE and PATCH.EXE.
- echo.
- goto exit
- :upd050
- echo ***** The Blinker 3.1 update was NOT completed successfully *****
- echo.
- echo If the BLINKER.EXE has not been updated then please check that
- echo the path specified points to Blinker 3.01 as that is the only
- echo the version which can be updated to 3.1.
- echo.
- echo If the BLINKER.EXE was updated successfully then only the BLINKER.NG
- echo file will not have been updated and Blinker 3.1 will still execute
- echo correctly. If you wish to update BLINKER.NG please ensure that the
- echo path specified points to the Blinker 3.01 BLINKER.NG.
- echo
- goto exit
- :help
- echo Syntax :
- echo Current directory with the 3.1 files UPDATE.BAT and BLI310.EXE
- echo.
- echo UPDATE d:\path
- echo.
- echo Where d: is the drive
- echo path is the path where BLINKER.EXE and BLINKER.NG from
- echo Blinker 3.01 ONLY are installed.
- echo.
- echo Examples : UPDATE . Update the current directory containing
- echo Blinker 3.01 to Blinker 3.1.
- echo.
- echo UPDATE C:\B301 Update the current directory to Blinker
- echo 3.1 with Blinker 3.01 in C:\B301.
- echo
- goto exit
- :fail
- echo ***** The Blinker 3.1 update was NOT completed successfully *****
- :exit
-