home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 6 / 1995-05_Disc_6.iso / install / german / install.scr < prev    next >
Text File  |  1995-01-13  |  4KB  |  173 lines

  1. rem GERMAN DEMO INSTALL SCRIPT
  2. :start
  3.  
  4. clear
  5. space %1: 3500 NoMinSpace
  6. godir %1:%4 CantCreate
  7.  
  8. IF NOT EXIST *.* goto cherry
  9.  
  10.  
  11.  
  12. echo                /// WARNUNG \\\
  13. echo
  14. echo  Das Installationsverzeichnis enthält bereits
  15. echo  Dateien.
  16. echo
  17. echo  Um sicherzustellen, daß richtig installiert
  18. echo  wird, entfernen Sie bitte alle Dateien aus
  19. echo  diesem Verzeichnis.
  20. echo
  21. echo  Möchten Sie die Installation fortsetzen?
  22. echo
  23. echo                     (J/N)
  24. pick  jn   cherry  alldone
  25.  
  26.  
  27. :cherry
  28. rem *** create the game directories on the hard disk ***
  29. godir %1:%4\save
  30. godir %1:%4\sound
  31. godir %1:%4\sim
  32. godir %1:%4\sim\save
  33.  
  34.  
  35.  
  36. rem ///////////// minimum install \\\\\\\\\\\\\\\\\\
  37. :minInst
  38. space %1: 3500 NoMinSpace
  39. clear
  40. rem *** copy minimum files for sim and shell ***
  41. :minfiles
  42. godir %1:%4\sim
  43. copy  %2:\sim\subsim.exe
  44. copy  %2:\sim\common.ali
  45. copy  %2:\sim\shades.
  46. copy  %2:\sim\radiolog.dat
  47. copy  %2:\sim\invibutt.def
  48. copy  %2:\sim\shape.lst
  49. copy  %2:\sim\language.txt
  50. copy  %2:\sim\shapes.vol
  51. copy  %2:\sim\*.shd
  52. godir %1:%4\sim\save
  53. copy  %2:\sim\save\*.* /s
  54.  
  55. goto  copyMinFiles
  56. rem \\\\\\\\\\\\ end minimum install //////////////////
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. :copyMinFiles
  64. rem *** copy files to install destination directory ***
  65. godir %1:%4
  66. copy %2:\install\files\*.dat
  67. copy %2:\install\files\playflic.exe
  68. copy %2:\install\sound\soundset.exe
  69. copy %2:\install\sound\soundset.ini
  70.  
  71. rem *** copy files to sound directory ***
  72. godir %1:%4\sound
  73. copy %2:\install\sound\sonarret.raw  /s
  74. copy %2:\install\sound\*.bnk         /s
  75. copy %2:\install\sound\*.386         /s
  76. copy %2:\install\sound\sounddrv.ini  /s
  77. copy %2:\install\sound\*.dig
  78. copy %2:\install\sound\departra.hmp  /s
  79. copy %2:\install\sound\soundply.exe  /s
  80.  
  81.  
  82. rem *** copy language specific files ***
  83. godir %1:%4\sim
  84. copy %2:\install\german\gerfiles\sim\*.*
  85. godir %1:%4
  86. copy %2:\install\german\config.dat
  87. goto makebatch
  88.  
  89.  
  90.  
  91. :makebatch
  92. godir %1:%4
  93. copy %2:\install\german\read.me /s
  94. rem *** making install batch file ***
  95. rem godir %1:%4
  96. rem echo @echo off>test.bat
  97. rem echo call inst.exe %1 %2 %3 %4 %5 %6 %7 %8 %9>>test.bat
  98.  
  99.  
  100. rem *** update resource.cfg file in destination directory ***
  101. godir %1:%4
  102. echo %3 > resource.cfg
  103. echo [FlicPlayer]>> resource.cfg
  104. echo pathFlic=%2:\intro\>> resource.cfg
  105. echo [CDdrive]>> resource.cfg
  106. echo %2:>>resource.cfg
  107.  
  108. rem *** make intro batch file ***
  109. echo @echo off>intro.bat
  110. echo playflic %2:\intro\intro.dfl -S82 -C15000>>intro.bat
  111.  
  112. rem *** make single speed drive intro file ***
  113. echo @echo off>single.bat
  114. echo playflic %2:\intro\intro.dfl -S82 -C15000 -q>>single.bat
  115.  
  116. rem *** copy screen shot stuff ***
  117. godir %1:%4
  118. copy %2:\scrns\gscreen.dbm  screen.dbm
  119. copy %2:\scrns\screen.dpl
  120. copy %2:\scrns\screen.exe
  121.  
  122.  
  123.  
  124. rem *** make executable batch file ***
  125. echo @echo off>demo.bat
  126. rem x echo @if exist vesadrv.bat call vesadrv.bat >> aod.bat
  127. echo call intro.bat>>demo.bat
  128. rem x echo aodcd.exe>>demo.bat
  129. echo cd sim>>demo.bat
  130. echo subsim -P%1:%4\ -D%2>>demo.bat
  131. echo cd..>>demo.bat
  132. echo screen>>demo.bat
  133. echo echo Um die Aces of the Deep Demo noch einmal zu spielen, geben Sie DEMO ein.>>demo.bat
  134.  
  135.  
  136. rem ******* end of normal install process **********
  137. end
  138.  
  139.  
  140.  
  141. rem ******* error handling section **********
  142.  
  143. :NoMinSpace
  144. clear
  145. echo
  146. echo Auf %1: ist nicht genug Speicherplatz vorhanden,
  147. echo um AOD zu installieren!
  148. echo Es sind 3,5 MB Speicherplatz auf der Festplatte
  149. echo erforderlich.
  150. echo
  151. pause     
  152. goto alldone
  153.  
  154.  
  155. :CantCreate
  156. alert Kann Verzeichnis %1:%4 nicht anlegen.
  157.  
  158. rem ****** something bad happened so quit **********
  159. :alldone
  160. end
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.