home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 9 / 1995-08_Disc_9.iso / install.scr < prev    next >
Text File  |  1995-04-24  |  2KB  |  92 lines

  1. clear
  2. godir %1:%4 cantcreate
  3.  
  4. clear
  5. space %1: 500 nospace
  6.  
  7. echo Copying files to %1:%4 ...
  8. echo @echo off >..\sq6demo.bat
  9. echo cd %4 >>..\sq6demo.bat
  10.  
  11. echo call CheckCD   %2 >>..\sq6demo.bat
  12.  
  13. echo vesatest.exe >>..\sq6demo.bat
  14. echo if errorlevel == 1 goto noVesa >>..\sq6demo.bat
  15.  
  16. echo %2: >>..\sq6demo.bat
  17. echo sierra %1:%4\resource.cfg >>..\sq6demo.bat
  18. echo goto end >>..\sq6demo.bat
  19.  
  20. echo :noVesa >> ..\sq6demo.bat
  21. echo echo A VESA driver was not found on your system. Please rerun install >>..\sq6demo.bat
  22. echo echo and check the readme file for help on installing a VESA driver. >>..\sq6demo.bat
  23.  
  24. echo :end >>..\sq6demo.bat
  25. echo %1: >>..\sq6demo.bat
  26. echo cd .. >>..\sq6demo.bat
  27.  
  28. echo @echo off >sq6demo.bat
  29. echo call CheckCD   %2 >>sq6demo.bat
  30.  
  31. echo vesatest.exe >>sq6demo.bat
  32. echo if errorlevel == 1 goto noVesa >>sq6demo.bat
  33.  
  34. echo %2: >>sq6demo.bat
  35. echo sierra %1:%4\resource.cfg >>sq6demo.bat
  36. echo goto end >>sq6demo.bat
  37.  
  38. echo :noVesa >>sq6demo.bat
  39. echo echo A VESA driver was not found on your system. Please rerun install >>sq6demo.bat
  40. echo echo and check the readme file for help on installing a VESA driver. >>sq6demo.bat
  41.  
  42. echo :end >>sq6demo.bat
  43. echo %1: >>sq6demo.bat
  44.  
  45. echo %3 >resource.cfg
  46.  
  47. clear
  48. echo resAUD=%2:   >> resource.cfg
  49. echo resSFX=%2: >> resource.cfg
  50. echo patchDir=%1:%4;%2:;%2:\AVI >>resource.cfg
  51. copy %2:sqcheck.bat %1:checkcd.bat
  52. copy %2:vesatest.exe %1:vesatest.exe
  53. copy %2:install.exe %1:
  54. copy %2:install.scr %1:
  55. copy %2:install.txt %1:
  56. copy %2:install.hlp %1:
  57. copy %2:*.drv %1:
  58. rem copy %2:\patches\*.* %1: /q
  59. copy %2:version %1:
  60.  
  61. cd ..
  62. cls
  63. echo
  64. echo  To play the Space Quest 6 demo now:
  65. echo     At the DOS prompt, 
  66. echo      type sq6demo and press [ENTER].
  67. echo
  68. echo  To play the Space Quest 6 demo later:
  69. echo     From the directory of %1:%4,
  70. echo     Type sq6demo and press [ENTER].
  71. echo
  72. pause
  73. goto quit
  74.  
  75. :cantcreate
  76. alert Unable to create directory %1:%4
  77. pause
  78. goto quit
  79.  
  80. :nospace
  81. cls
  82. echo
  83. echo There is not enough space on %1: to install. 
  84. echo At least 1 Megabyte of disk space is necessary for
  85. echo installing the game.
  86. echo
  87. pause
  88.  
  89. :quit
  90. end
  91.  
  92.