home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 7 / 1995-06_Disc_7.iso / bdrome / install.scr < prev    next >
Text File  |  1994-12-15  |  3KB  |  103 lines

  1. clear
  2.  
  3. space %1: 10000 NoSpace
  4.  
  5. echo The install program will now copy 
  6. echo MetalTech: BattleDrome to your hard drive.
  7. echo Approximate hard drive space required:  10 Megs
  8. echo Hard drive space required during install:  14 Megs
  9. echo
  10. echo Do you wish to (C)ontinue or (E)xit?
  11. pick ce Continue Exit
  12.  
  13. :Continue
  14. %1:
  15. clear
  16. echo
  17. echo If this installation process fails for any reason, you
  18. echo should consult the troubleshooting section of your
  19. echo game manual as well as the README file for tips on
  20. echo resolving the problem.
  21. echo
  22. echo Copying Game files...
  23.  
  24. godir %4 CantCreate
  25. copy %2:install.txt .
  26. copy %2:install.hlp .
  27. copy %2:install.bat .
  28. copy %2:install.scr .
  29. copy %2:resource.cfg .
  30. copy %2:readme .
  31. copy %2:readme.bat .
  32. copy %2:copyfilz.exe .
  33. godir %4 CantCreate
  34.  
  35. copy %2:unchunk.exe
  36. copy %2:RESOURCE.000
  37. clear
  38. echo Uncompressing Files - We are currently uncompressing
  39. echo the game files.  This process can take anywhere
  40. echo from 1-5 minutes depending on the speed of your
  41. echo computer.
  42. echo
  43. echo Don't forget to read the "readme" file.  It contains
  44. echo instructions on how to play the game as well as
  45. echo general help information. You can view the "readme"
  46. echo file by loading it into your word processor or text
  47. echo editor.  You may also view this file in the install
  48. echo program itself.
  49. echo
  50. echo Processing %2:resource.000...
  51. unchunk RESOURCE.000 . > nul
  52. if ERRORLEVEL 1 goto BadChunk
  53. del RESOURCE.000
  54. del UNCHUNK.EXE
  55. end
  56.  
  57. :NoSpace
  58. clear
  59. echo
  60. alert There is not enough space on %1: to install MetalTech: BattleDrome on your hard drive.  13.5 megabytes of disk space are necessary.
  61. end
  62.  
  63. :CantCreate
  64. clear
  65. echo
  66. alert Unable to create directory %4
  67. end
  68.  
  69. :Corrupted
  70. alert Corrupted files exist.  Please run install again.
  71. end
  72.  
  73. :BadChunk
  74. if ERRORLEVEL 5 goto ERR5
  75. if ERRORLEVEL 4 goto ERR4
  76. if ERRORLEVEL 3 goto ERR3
  77. if ERRORLEVEL 2 goto ERR2
  78. if ERRORLEVEL 1 goto ERR1
  79. alert Unable to extract resource file.  Please run install again.
  80. end
  81.  
  82. :ERR1
  83. alert Unable to read resource file.  Make sure the drive door is shut and run install again.
  84. end
  85. :ERR2
  86. alert Unable to write resource file to hard drive.  This program only installs games on hard drives.  Run install again.  If you get this message again you may have a problem with your hard drive.
  87. end
  88. :ERR3
  89. alert Not enough memory to run extraction program.  The extraction program needs a minimum of 550k to operate.
  90. end
  91. :ERR4
  92. alert The resource file is bad.  Run install again.  If you get this message again, you probably received a bad disk.
  93. end
  94. :ERR5
  95. alert Unable to open the resource file for reading.  A possible solution might be to increase the value of the FILES setting in your CONFIG.SYS file.
  96. end
  97. :ERR6
  98. alert Unable to open the target file for writing.  A possible solution might be to increase the value of the FILES setting in your CONFIG.SYS file.
  99. end
  100.  
  101. :exit
  102. end
  103.