home *** CD-ROM | disk | FTP | other *** search
/ Hoog Spel 50 / Hoogspel50CDROM.iso / INSTALL / INSTALL.SCR < prev    next >
Text File  |  1996-07-31  |  5KB  |  186 lines

  1. :start
  2. clear
  3.  
  4. echo
  5. echo                    Music Quality
  6. echo
  7. echo Give us ALL your hard drive! Now!! The more we take,
  8. echo the better we sound.
  9. echo
  10. echo 1) Large  = 23 Megs (Real Men Only)
  11. echo 2) Medium = 12 Megs (Indecisive Wimps)
  12. echo 3) Small  =  7 Megs (Inadequate Size)
  13. echo 4) Exit and cancel installation
  14. echo
  15. echo Please choose 1, 2, 3 or 4
  16. pick 1234 large medium small quit
  17.  
  18. :large
  19. space %1: 23000 nospaceL
  20.  
  21. REM Create the DOS game directory
  22. godir %1:%4 cantcreate
  23.  
  24. REM Copy over music files
  25. echo Copying music files to %1:%4\music ...
  26. godir %1:%4\music cantcreate
  27. copy %2:..\music\22s16\*.aud
  28. goto done
  29.  
  30. :medium
  31. space %1: 12000 nospaceM
  32.  
  33. REM Create the DOS game directory
  34. godir %1:%4 cantcreate
  35.  
  36. REM Copy over music files
  37. echo Copying music files to %1:%4\music ...
  38. godir %1:%4\music cantcreate
  39. copy %2:..\music\22s8\*.aud
  40. goto done
  41.  
  42. :small
  43. space %1: 7000 nospaceS
  44.  
  45. REM Create the DOS game directory
  46. godir %1:%4 cantcreate
  47.  
  48. REM Copy over music files
  49. echo Copying music files to %1:%4\music ...
  50. godir %1:%4\music cantcreate
  51. copy %2:..\music\22m8\*.aud
  52.  
  53. :done
  54.  
  55. REM Go back to DOS game directory
  56. godir %1:%4 cantcreate
  57.  
  58. echo Copying files to %1:%4 ...
  59.  
  60. copy %2:..\sier.exe %1:
  61. copy %2:l7check.bat %1:checkcd.bat
  62. copy %2:vesatest.exe %1:
  63. copy %2:install.exe %1:
  64. copy %2:install.scr %1:
  65. copy %2:install.txt %1:
  66. copy %2:install.hlp %1:
  67. copy %2:*.drv %1:
  68. rem copy %2:*.chk %1:
  69. rem copy %2:\patches\*.* %1: /q
  70. copy %2:..\version %1:
  71. copy %2:..\sierra.err %1:
  72.  
  73. REM Create resource.cfg
  74. echo %3 >resource.cfg
  75.  
  76. clear
  77. echo audio=%1:%4\music >>resource.cfg
  78. echo resSfx=%2:\ >>resource.cfg
  79. echo resAud=%2:\ >>resource.cfg
  80. echo resMap=%2:\ >>resource.cfg
  81. echo patchDir=%1:%4; %2:\ >>resource.cfg
  82. REM echo patchDir=%1:%4;%2:;%2:\MOVIES >>resource.cfg
  83. REM echo movieDir=%2:\MOVIES >>resource.cfg
  84. REM echo robot=%2:\ROBOTS >>resource.cfg
  85. REM echo audiosize=62k >>resource.cfg
  86. REM echo dacsize=30720 >>resource.cfg
  87.  
  88. clear
  89.  
  90. REM BATCH FILE TO RUN GAME FROM SIERRA DIRECTORY
  91. echo @echo off >..\l7dosdmo.bat
  92. echo cd %4 >>..\l7dosdmo.bat
  93. echo call CheckCD   %2 >>..\l7dosdmo.bat
  94. echo call vesatest >>..\l7dosdmo.bat
  95. echo if errorlevel 0 goto vesafound >>..\l7dosdmo.bat
  96. echo echo A VESA driver was not found on your system. Please rerun install >>..\l7dosdmo.bat
  97. echo echo and check the readme file for help on installing a VESA driver. >>..\l7dosdmo.bat
  98. echo goto end >>..\l7dosdmo.bat
  99. echo :vesafound >>..\l7dosdmo.bat
  100. echo %1:%4\sier %1:%4\resource.cfg >>..\l7dosdmo.bat
  101. echo :end >> ..\l7dosdmo.bat
  102. echo cd .. >>..\l7dosdmo.bat
  103.  
  104. REM BATCH FILE TO RUN GAME FROM GAME DIRECTORY
  105. echo @echo off >l7dosdmo.bat
  106. echo call CheckCD   %2 >>l7dosdmo.bat
  107. echo call vesatest >>l7dosdmo.bat
  108. echo if errorlevel 0 goto vesafound >>l7dosdmo.bat
  109. echo echo A VESA driver was not found on your system. Please rerun install >>l7dosdmo.bat
  110. echo echo and check the readme file for help on installing a VESA driver. >>l7dosdmo.bat
  111. echo goto end >>l7dosdmo.bat
  112. echo :vesafound >>l7dosdmo.bat
  113. REM echo %1:%4\sierra %1:%4\resource.cfg >>l7dosdmo.bat
  114. echo %1:%4\sier %1:%4\resource.cfg >>l7dosdmo.bat
  115. echo :end >>l7dosdmo.bat
  116.  
  117. cd ..
  118. cls
  119. echo
  120. echo  To play the Leisure Suit Larry 7 Demo now:
  121. echo   At the DOS prompt, type L7dosdmo and press [ENTER].
  122. echo
  123. echo  To play the Leisure Suit Larry 7 Demo later:
  124. echo   Change to the directory %1:%4,
  125. echo   type L7dosdmo and press [ENTER].
  126. echo
  127. pause
  128. goto quit
  129.  
  130. :cantcreate
  131. alert Unable to create directory %1:%4
  132. pause
  133. goto quit
  134.  
  135. :nospaceL
  136. cls
  137. echo
  138. echo                    What a woosie!
  139. echo
  140. echo You don't have enough free space on your hard drive
  141. echo for the "large music" version of the Larry7 Preview.
  142. echo
  143. echo Erase at least 23 megabytes of    that 'Net pornography
  144. echo you're hiding and re-run install. Or, if you want to
  145. echo wimp out, choose one of the smaller music choices.
  146. echo
  147. pause
  148. goto quit
  149.  
  150. :nospaceM
  151. cls
  152. echo
  153. echo                    What a woosie!
  154. echo
  155. echo You don't have enough free space on your hard drive
  156. echo for the "medium music" version of the Larry7 Preview.
  157. echo
  158. echo Erase at least 12 megabytes of    that 'Net pornography
  159. echo you're hiding and re-run install. Better yet, erase
  160. echo 23 megabytes and install the "Large music" version.
  161. echo
  162. echo Unless...you're a wimp!
  163. echo
  164. pause
  165. goto quit
  166.  
  167. :nospaceS
  168. cls
  169. echo
  170. echo                   What a woosie!
  171. echo
  172. echo You don't have enough free space on your hard drive
  173. echo for even the "small music" Larry7 Preview.
  174. echo
  175. echo Erase at least 7 megabytes of that 'Net pornography
  176. echo you're hiding and re-run install. Better yet, erase
  177. echo 23 megabytes and install the "Large music" version.
  178. echo
  179. echo Unless...you're a wimp!
  180. echo
  181. pause
  182.  
  183. :quit
  184. end
  185.  
  186.