home *** CD-ROM | disk | FTP | other *** search
/ Der Mediaplex Sampler - Die 6 von Plex / 6_v_plex.zip / 6_v_plex / DISK4 / BUSIN_13 / ALIBASE.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-02-03  |  4KB  |  110 lines

  1. echo off
  2. cls
  3. if "%1" == "c:" goto ok
  4. if "%1" == "C:" goto ok
  5. if "%1" == "d:" goto ok
  6. if "%1" == "D:" goto ok
  7. goto syntax
  8. :ok
  9. if not exist alibase1.exe goto laufwerk
  10. if not exist %1\alibase\ab.exe goto weiter1
  11. cls
  12. echo  ╔═══════════════════════════════════════════════════════════╗
  13. echo  ║         Installation des Programms aliBASE²               ║
  14. echo  ║                                                           ║
  15. echo  ║     Das Verzeichnis \ALIBASE ist bereits vorhanden!       ║
  16. echo  ║                                                           ║
  17. echo  ║      Weitermachen: Drücken Sie eine TASTE!                ║
  18. echo  ║      Abbrechen   : Drücken Sie STRG-C (CTRL-C) und "j"    ║
  19. echo  ║                                                           ║
  20. echo  ╚═══════════════════════════════════════════════════════════╝
  21. pause
  22. cls
  23. :weiter1
  24. echo  ╔═══════════════════════════════════════════════════════════╗
  25. echo  ║                                                           ║
  26. echo  ║         Das Programm aliBASE² wird installiert!           ║
  27. echo  ║                                                           ║
  28. echo  ║             Bitte warten Sie einen Moment                 ║
  29. echo  ║                                                           ║
  30. echo  ╚═══════════════════════════════════════════════════════════╝
  31. md %1\alibase
  32. md %1\alibase\reports
  33. copy *.* %1\alibase
  34. copy ab.bat %1\
  35. if exist alibase2.exe goto weiter3
  36. :weiter2
  37. cls
  38. echo  ╔═════════════════════════════════════════════════════════════╗
  39. echo  ║                                                             ║
  40. echo  ║          Installation des Programms aliBASE²                ║
  41. echo  ║                                                             ║
  42. echo  ║ Legen Sie bitte die Programmdiskette 2/2 in das Laufwerk A: ║
  43. echo  ║                                                             ║
  44. echo  ╚═════════════════════════════════════════════════════════════╝
  45. echo  ·
  46. pause
  47. cls
  48. if not exist alibase2.exe goto weiter2
  49. echo  ╔═══════════════════════════════════════════════════════════╗
  50. echo  ║                                                           ║
  51. echo  ║         Das Programm aliBASE² wird installiert!           ║
  52. echo  ║                                                           ║
  53. echo  ║             Bitte warten Sie einen Moment                 ║
  54. echo  ║                                                           ║
  55. echo  ╚═══════════════════════════════════════════════════════════╝
  56. copy *.* %1\alibase
  57. :weiter3
  58. %1
  59. cd \alibase
  60. alibase1
  61. cls
  62. alibase2
  63. copy *.dru %1\alibase\reports
  64. copy *.anw %1\alibase\reports
  65. copy *.dbr %1\alibase\reports
  66. del *.dru
  67. del *.anw
  68. del *.dbr
  69. del alibase1.exe
  70. del alibase2.exe
  71. goto ende
  72. :laufwerk
  73. echo  ╔═══════════════════════════════════════════════════════════╗
  74. echo  ║          Installation des Programms aliBASE²              ║
  75. echo  ║                   FALSCHE DISKETTE                        ║
  76. echo  ║   Legen Sie die Programmdiskette 1/2 in das Laufwerk A:!  ║
  77. echo  ║                                                           ║
  78. echo  ║             Rufen Sie INSTALL erneut auf!                 ║
  79. echo  ║                                                           ║
  80. echo  ╚═══════════════════════════════════════════════════════════╝
  81. pause
  82. goto abbruch
  83. :syntax
  84. cls
  85. echo  ╔═══════════════════════════════════════════════════════════╗
  86. echo  ║           Installation des Programms aliBASE²             ║
  87. echo  ║                                                           ║
  88. echo  ║      Geben Sie bitte das Festplatten-Laufwerk an!         ║
  89. echo  ║                                                           ║
  90. echo  ║            'install c:'  oder 'install d:'                ║
  91. echo  ║                                                           ║
  92. echo  ║             Rufen Sie INSTALL erneut auf!                 ║
  93. echo  ╚═══════════════════════════════════════════════════════════╝
  94. goto abbruch
  95. :ende
  96. cls
  97. %1
  98. cd \alibase
  99. cls
  100. echo  ╔═══════════════════════════════════════════════════════════╗
  101. echo  ║   Die Installation des Programms aliBASE² ist beendet!    ║
  102. echo  ║                                                           ║
  103. echo  ║      Rufen Sie das Programm mit 'ab' und ENTER auf        ║
  104. echo  ║                                                           ║
  105. echo  ╚═══════════════════════════════════════════════════════════╝
  106. :abbruch
  107.  
  108.  
  109.  
  110.