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

  1. rem FRENCH 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                        ///   ATTENTION  \\\
  13. echo
  14. echo    Le répertoire d'installation contient déjà des
  15. echo    fichiers.
  16. echo
  17. echo    Pour permettre l'installation, retirez tous les
  18. echo    fichiers Dynamix du répertoire.
  19. echo
  20. echo    Désirez-vous continuer l'installation?
  21. echo
  22. echo                             (O/N)
  23. pick  on   cherry  alldone
  24.  
  25. :cherry
  26. rem *** create the game directories on the hard disk ***
  27. godir %1:%4\save
  28. godir %1:%4\sound
  29. godir %1:%4\sim
  30. godir %1:%4\sim\save
  31.  
  32.  
  33.  
  34. rem ///////////// minimum install \\\\\\\\\\\\\\\\\\
  35. :minInst
  36. space %1: 3500 NoMinSpace
  37. clear
  38. rem *** copy minimum files for sim and shell ***
  39. :minfiles
  40. godir %1:%4\sim
  41. copy  %2:\sim\subsim.exe
  42. copy  %2:\sim\common.ali
  43. copy  %2:\sim\shades.
  44. copy  %2:\sim\radiolog.dat
  45. copy  %2:\sim\invibutt.def
  46. copy  %2:\sim\shape.lst
  47. copy  %2:\sim\language.txt
  48. copy  %2:\sim\shapes.vol
  49. copy  %2:\sim\*.shd
  50. godir %1:%4\sim\save
  51. copy  %2:\sim\save\*.* /s
  52.  
  53. goto  copyMinFiles
  54. rem \\\\\\\\\\\\ end minimum install //////////////////
  55.  
  56.  
  57.  
  58.  
  59.  
  60. :copyMinFiles
  61. rem *** copy files to install destination directory ***
  62. godir %1:%4
  63. copy %2:\install\files\*.dat
  64. copy %2:\install\files\playflic.exe
  65. copy %2:\install\sound\soundset.exe
  66. copy %2:\install\sound\soundset.ini
  67.  
  68. rem *** copy files to sound directory ***
  69. godir %1:%4\sound
  70. copy %2:\install\sound\sonarret.raw  /s
  71. copy %2:\install\sound\*.bnk
  72. copy %2:\install\sound\*.386         /s
  73. copy %2:\install\sound\sounddrv.ini  /s
  74. copy %2:\install\sound\*.dig
  75. copy %2:\install\sound\departra.hmp  /s
  76. copy %2:\install\sound\soundply.exe  /s
  77.  
  78. rem *** copy language specific files ***
  79. godir %1:%4\sim
  80. copy %2:\install\french\frnfiles\sim\*.*
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87. :makebatch
  88. godir %1:%4
  89. copy %2:\install\french\read.me /s
  90. rem *** making install batch file ***
  91. rem godir %1:%4
  92. rem echo @echo off>test.bat
  93. rem echo call inst.exe %1 %2 %3 %4 %5 %6 %7 %8 %9>>test.bat
  94.  
  95.  
  96. rem *** update resource.cfg file in destination directory ***
  97. godir %1:%4
  98. echo %3 > resource.cfg
  99. echo [FlicPlayer]>> resource.cfg
  100. echo pathFlic=%2:\intro\>> resource.cfg
  101. echo [CDdrive]>> resource.cfg
  102. echo %2:>>resource.cfg
  103.  
  104. rem *** make intro batch file ***
  105. echo @echo off>intro.bat
  106. echo playflic %2:\intro\intro.dfl -S82 -C15000>>intro.bat
  107.  
  108.  
  109.  
  110. rem *** make single speed drive intro file ***
  111. echo @echo off>single.bat
  112. echo playflic %2:\intro\intro.dfl -S82 -C15000 -q>>single.bat
  113.  
  114. rem *** copy screen shot stuff ***
  115. godir %1:%4
  116. copy %2:\scrns\fscreen.dbm  screen.dbm
  117. copy %2:\scrns\screen.dpl
  118. copy %2:\scrns\screen.exe
  119.  
  120.  
  121.  
  122. rem *** make executable batch file ***
  123. echo @echo off>demo.bat
  124. rem x echo @if exist vesadrv.bat call vesadrv.bat >> aod.bat
  125. echo call intro.bat>>demo.bat
  126. rem x echo aodcd.exe>>demo.bat
  127. echo cd sim>>demo.bat
  128. echo subsim -P%1:%4\ -D%2>>demo.bat
  129. echo cd..>>demo.bat
  130. echo screen>>demo.bat
  131. echo echo Pour relancer la démo d'Aces of the Deep, tapez DEMO.>>demo.bat
  132.  
  133.  
  134. rem ******* end of normal install process **********
  135. end
  136.  
  137.  
  138.  
  139. rem ******* error handling section **********
  140.  
  141. :NoMinSpace
  142. clear
  143. echo
  144. echo L'espace sur %1: est insuffisant pour installer AOD!
  145. echo Vous avez besoin de 3.5 Mo d'espace disponible.
  146. echo
  147. pause
  148. goto alldone
  149.  
  150.  
  151. :CantCreate
  152. alert    Impossible de créer le répertoire %1:%4
  153.  
  154. rem ****** something bad happened so quit **********
  155. :alldone
  156. end
  157.  
  158.  
  159.  
  160.