home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / games2 / t7gpatch.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-06-08  |  2KB  |  80 lines

  1. @echo off
  2. cls
  3. if %1!==! goto TryDefault
  4. if not exist %1\V.EXE goto ERR
  5. set T7GPTH=%1
  6. goto DO_IT
  7.  
  8. :TryDefault
  9. if not exist c:\id\t7g\v.exe goto usage
  10. echo Detected default install directory. 
  11. echo.
  12. set T7GPTH=C:\ID\T7G
  13.  
  14. :DO_IT
  15. echo One moment please...
  16. echo.
  17. for %%A in (V.EXE INSTALL.EXE) do del %T7GPTH%\%%A
  18. for %%A in (ADLIB ADLIBG ALGDIG MT32MPU PASDIG PASFM) do del %T7GPTH%\%%A.ADV
  19. for %%A in (PASOPL SBDIG SBPDIG SBP1FM SBP2FM SBFM) do del %T7GPTH%\%%A.ADV
  20. echo Loading update information...
  21. copy \t7g-124.exe %T7GPTH% > NUL
  22. echo Updating old files... 
  23. echo.
  24. %T7GPTH%\t7g-124 %T7GPTH% 
  25. del %T7GPTH%\t7g-124.exe
  26. pause
  27. if exist %T7GPTH%\README2.TXT goto SUCCESS
  28. goto ERROR
  29.  
  30. :ERR
  31. echo. 
  32. echo      *** Could not find The 7th Guest files in: 
  33. echo          %1 
  34. echo          please check path.
  35.  
  36. :USAGE
  37. echo. 
  38. echo      To update your installation of The 7th Guest, type "INSTALL"
  39. echo      followed by a space and the name of the directory where the
  40. echo      T7G files were originally installed.
  41. echo. 
  42. echo      For example, if the update files are located on a disk in
  43. echo      drive A:, and T7G were originally installed to D:\GUEST, the 
  44. echo      commands would look like this:
  45. echo. 
  46. echo      A:
  47. echo      INSTALL D:\GUEST
  48. echo. 
  49. goto end
  50.  
  51. :ERROR
  52. echo           ─── Failed attempt to update The 7th Guest ────
  53. echo               Contact Virgin Games Technical Support
  54. echo                         (714) 833-1999
  55. goto end
  56.  
  57. :SUCCESS
  58. cls
  59. echo      ───────── Updated "The 7th Guest" to version 1.24 ─────────
  60. echo.
  61. echo      Do NOT re-install The 7th Guest from CD-ROM disc #2 or else
  62. echo      the updated files will be overwritten.  You MAY however run
  63. echo      the INSTALL program from the hard drive to reconfigure your
  64. echo      hardware setup.
  65. echo.
  66. echo.
  67. echo.
  68. echo.
  69. echo.
  70. echo.
  71. echo.
  72. echo.
  73. echo.
  74. echo.
  75. echo.
  76. set T7GPTH=
  77.  
  78. :END
  79. echo. 
  80.