home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / bonus / sil_svt.zip / INSTALLE.BAT < prev    next >
DOS Batch File  |  1996-06-02  |  5KB  |  157 lines

  1. @echo off
  2. cls
  3. echo *************************************************************************
  4. echo * INSTALLATION DE SIL_SVT VERSION 5 (16 bits et 32 bits) Silvestre J.P. *
  5. echo * CTA - B.P. 20411 LIBREVILLE GABON Tél ou Fax (241) 77 37 92 Mai 1996  *
  6. echo *************************************************************************
  7. echo.
  8. echo.
  9. pause
  10. goto debut
  11.  
  12. :disk1
  13. Echo.
  14. Echo Placez la disquette N°1 dans le lecteur actif ...
  15. Pause
  16.  
  17. :debut
  18. if not exist sil_exe.lzh goto disk1
  19. Alire
  20. cls
  21. echo *************************************************************************
  22. echo * INSTALLATION DE SIL_SVT VERSION 5 (16 bits et 32 bits) Silvestre J.P. *
  23. echo * CTA - B.P. 20411 LIBREVILLE GABON Tél ou Fax (241) 77 37 92 Mai 1996  *
  24. echo *************************************************************************
  25. if %1x==x goto syntaxe
  26. if %2x==x goto syntaxe
  27. if exist %1\%2\nul goto existe
  28. echo.
  29. echo La destination demandée est %1\%2 !
  30. echo Vérifiez l'exactitude de cette destination !
  31. echo.
  32. echo Appuyez sur   Ctrl C   pour stopper ou
  33. pause
  34. echo.
  35. Echo Création des répertoires : %1\%2 et %1\%2\LZH
  36. md %1\%2
  37. md %1\%2\LZH
  38. echo.
  39. goto suite
  40.  
  41. :existe
  42. echo.
  43. echo Le répertoire %1\%2 existe déja !
  44. echo.
  45. echo L'installation va écraser les fichiers existants (sauf les DONNEES !) ...
  46. echo.
  47. echo Appuyez sur Ctrl C pour stopper ou
  48. pause
  49.  
  50. :Suite
  51. if not exist sil_exe.lzh goto disk1
  52. cls
  53. echo *************************************************************************
  54. echo * INSTALLATION DE SIL_SVT VERSION 5 (16 bits et 32 bits) Silvestre J.P. *
  55. echo * CTA - B.P. 20411 LIBREVILLE GABON Tél ou Fax (241) 77 37 92 Mai 1996  *
  56. echo *************************************************************************
  57. echo.
  58. echo.
  59. echo Installation de la disquette N°1
  60. copy alire*.* %1\%2         > nul
  61. copy lisezmoi.hlp %1\%2     > nul
  62. copy arc_lzh.txt %1\%2      > nul
  63. copy Sil_Wav2.Lzh %1\%2\Lzh > nul
  64. lhe x -c sil_exe %1\%2      > nul
  65.  
  66. :disk2
  67. Echo.
  68. Echo Placez la disquette N°2 dans le lecteur actif ...
  69. Pause
  70. if not exist Wdv_Uti.lzh goto disk2
  71. cls
  72. echo *************************************************************************
  73. echo * INSTALLATION DE SIL_SVT VERSION 5 (16 bits et 32 bits) Silvestre J.P. *
  74. echo * CTA - B.P. 20411 LIBREVILLE GABON Tél ou Fax (241) 77 37 92 Mai 1996  *
  75. echo *************************************************************************
  76. echo.
  77. echo.
  78. echo Installation de la disquette N°2
  79. lhe x -c wdv_uti %1\%2      > nul
  80. lhe x -xc wdv_hsf %1\       > nul
  81. copy sil_demo.lzh %1\%2\Lzh > nul
  82.  
  83. :disk3
  84. Echo.
  85. Echo Placez la disquette N°3 dans le lecteur actif ...
  86. Pause
  87. if not exist Sil_Aide.lzh goto disk3
  88. cls
  89. echo *************************************************************************
  90. echo * INSTALLATION DE SIL_SVT VERSION 5 (16 bits et 32 bits) Silvestre J.P. *
  91. echo * CTA - B.P. 20411 LIBREVILLE GABON Tél ou Fax (241) 77 37 92 Mai 1996  *
  92. echo *************************************************************************
  93. echo.
  94. echo.
  95. echo Installation de la disquette N°3
  96. lhe x -c sil_aide %1\%2     > nul
  97. lhe x -c sil_bmp  %1\%2     > nul
  98. copy sil_foto.lzh %1\%2\Lzh > nul
  99.  
  100. :disk4
  101. Echo.
  102. Echo Placez la disquette N°4 dans le lecteur actif ...
  103. Pause
  104. if not exist Sil_Wav1.lzh goto disk4
  105. cls
  106. echo *************************************************************************
  107. echo * INSTALLATION DE SIL_SVT VERSION 5 (16 bits et 32 bits) Silvestre J.P. *
  108. echo * CTA - B.P. 20411 LIBREVILLE GABON Tél ou Fax (241) 77 37 92 Mai 1996  *
  109. echo *************************************************************************
  110. echo.
  111. echo.
  112. echo Installation de la disquette N°4
  113. copy sil_wav1.lzh %1\%2\Lzh > nul
  114.  
  115. cls
  116. echo *************************************************************************
  117. echo * INSTALLATION DE SIL_SVT VERSION 5 (16 bits et 32 bits) Silvestre J.P. *
  118. echo * CTA - B.P. 20411 LIBREVILLE GABON Tél ou Fax (241) 77 37 92 Mai 1996  *
  119. echo *************************************************************************
  120. echo.
  121. echo.
  122. echo Le transfert des fichiers sous DOS est terminé ! Il faut maintenant
  123. echo procéder à l'installation des programmes sous Windows.
  124. echo.
  125. echo Installer les icônes de SilSVT16.Exe sous Windows 3.x ...
  126. echo    --      -    --      SilSVT16.Exe ou SilSVT32.Exe sous Windows 95 ...
  127. echo.
  128. echo Consultez éventuellement le fichier LisezMoi.Hlp ...
  129. echo.
  130. echo Contactez l'auteur pour tout problème et toute amélioration ...
  131. echo.
  132. echo Sous Windows 3.x et pour lancer SILSVT, vous pouvez aussi taper maintenant :
  133. echo.
  134. echo WIN SILSVT16       + Entrée
  135. %1
  136. cd %1\%2
  137. goto fin
  138.  
  139. :syntaxe
  140. echo.
  141. echo Pour installer correctement SilSVT, indiquez :
  142. echo.
  143. echo comme premier paramètre, l'unité du disque. Une lettre suivie des :
  144. echo                          par exemple C:
  145. echo.
  146. echo comme deuxième paramètre, le répertoire de destination.
  147. echo                           par exemple SIL_SVT (sans \ au début !)
  148. echo.
  149. echo Exemple:
  150. echo          INSTALLE  C:  SIL_SVT  + Entrée
  151. echo.
  152.  
  153. :fin
  154.  
  155.  
  156.  
  157.