home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 1 / Mecomp-CD.iso / amiga / dfue / fax / multifax-demo / installation / install-mfax < prev    next >
Encoding:
Text File  |  1995-07-20  |  4.2 KB  |  194 lines

  1. ;***********************************************
  2. ; Script to install MultiFax professional Demo
  3. ; $VER: Install-MFax 505.11 (11.05.95)
  4. ;
  5. ; © 1993-1995 TKR GmbH & Co. KG
  6. ;***********************************************
  7.  
  8. ;=============================================================================
  9. ; German strings
  10. (set default_lang 2)
  11.  
  12. (set @abort-button "Abbruch")
  13. (set #msg-oldoperatingsystem
  14.     (cat    "Die Version des Betriebsystems Ihres Rechners ist zu alt. "
  15.         "MultiFax benötigt mindestens eine Version 2.04 des Betriebsystems. "
  16.         "Bitte wenden Sie sich zwecks einer Aufrüstung des Betriebssystems "
  17.         "an Ihren örtlichen Amiga-Fachhändler."
  18.     )
  19. )
  20. (set #choices-yes
  21.     (cat    "JA"
  22.     )
  23. )
  24. (set #choices-no
  25.     (cat    "NEIN"
  26.     )
  27. )
  28. (set #ask-libstarget-prompt
  29.     (cat    "In welches Verzeichnis sollen die MultiFax-Bibliotheken kopiert "
  30.         "werden (Help... beachten!) ?"
  31.     )
  32. )
  33. (set #ask-libstarget-help
  34.     (cat    "Das Verzeichnis \"Libs:\" ist das für diesen Zweck auf dem Amiga "
  35.         "standardmäßig vorgesehene. Sie sollten diesen Eintrag nur ändern, "
  36.         "wenn Sie ein anderes Verzeichnis für diesen Zweck eingerichtet und "
  37.         "dem System auch für diesen Zweck bekannt gemacht haben."
  38.     )
  39. )
  40. (set #insert-assign-prompt
  41.     (cat    "Einfügen eines ASSIGN in Ihre \"S:user-startup\".\n"
  42.         "Dieser ist nach dem nächsten Start des Rechners aktiv."
  43.     )
  44. )
  45. (set #insert-assign-help
  46.     (cat    "Dieser ASSIGN ist für den Betrieb von MultiFax notwendig. "
  47.         "Sie können diesen Abschnitt aber auch überspringen (Skip "
  48.         "This Part) und den ASSIGN später per Hand durchführen."
  49.     )
  50. )
  51. (set #msg-nohelpavailable
  52.     (cat    "\n\nKeine Hilfe verfügbar."
  53.     )
  54. )
  55.  
  56. ;=============================================================================
  57. ; English strings
  58. (if (= @language "english")
  59. (
  60. (set default_lang 4)
  61.  
  62. (set #msg-oldoperatingsystem
  63.     (cat    "The Version of the operating system of your computer is too old. "
  64.         "MultiFax needs at least a version 2.04 of the operating system. "
  65.         "Please contact your local dealer for an upgrade of the operating "
  66.         "system."
  67.     )
  68. )
  69. (set #choices-yes
  70.     (cat    "YES"
  71.     )
  72. )
  73. (set #choices-no
  74.     (cat    "NO"
  75.     )
  76. )
  77. (set #ask-libstarget-prompt
  78.     (cat    "In which directory shall the MultiFax libraries be copied "
  79.         "(See also Help...!) ?"
  80.     )
  81. )
  82. (set #ask-libstarget-help
  83.     (cat    "The directory \"Libs:\" is the default directory for this purpose "
  84.         "on the Amiga. You should only change the entry, if you have created "
  85.         "an other drawer for this purpose and told the system to use ist for "
  86.         "this purpose."
  87.     )
  88. )
  89. (set #insert-assign-prompt
  90.     (cat    "An ASSIGN needs to be added to your \"S:user-startup\".\n"
  91.         "This will automatically be active after the next "
  92.         "start of your computer."
  93.     )
  94. )
  95. (set #insert-assign-help
  96.     (cat    "This ASSIGN is necessary for running MultiFax. "
  97.         "Alternatively you can skip this part and set the ASSIGN "
  98.         "manually later."
  99.     )
  100. )
  101. (set #msg-nohelpavailable
  102.     (cat    "\n\nNo help available."
  103.     )
  104. )
  105. )
  106. )
  107. ;end (if (= @language "english"))
  108.  
  109. ;=============================================================================
  110.  
  111. (complete 0)
  112.  
  113.     ; Prüfung auf ein Betriebsystem von mindestens OS2.04 (37.xxx).
  114. (
  115. (set vernum (getversion))
  116. (set ver (/ vernum 65536))
  117. (set rev (- vernum (* ver 65536)))
  118. (set osversion ver)
  119. (if (< osversion 37)
  120.     (
  121.     (abort #msg-oldoperatingsystem)
  122.     )
  123. )
  124. )
  125.  
  126.     ; Libs-Verzeichnis
  127. (
  128.     (
  129.             ; Abfrage des Verzeichnisses für die Bibliotheken.
  130.         (set libs_dest
  131.             (askdir
  132.                 (prompt #ask-libstarget-prompt)
  133.                 (help    #ask-libstarget-help)
  134.                 (default "Libs:")
  135.                 (disk)
  136.             )
  137.         )
  138.         (copylib
  139.             (source "Libs/multifax.library")
  140.             (dest libs_dest)
  141.         )
  142.         (copylib
  143.             (source "Libs/mfphone.library")
  144.             (dest libs_dest)
  145.         )
  146.         (copylib
  147.             (source "Libs/mfview.library")
  148.             (dest libs_dest)
  149.         )
  150.         (copylib
  151.             (source "Libs/tkrtools.library")
  152.             (dest libs_dest)
  153.         )
  154.     )
  155. )
  156.     ; Printers-Verzeichnis
  157. (
  158.     (
  159.         (copyfiles
  160.             (source "Printers")
  161.             (pattern "#?")
  162.             (dest "DEVS:Printers")
  163.             (infos)
  164.         )
  165.     )
  166. )
  167.  
  168.  
  169. (complete 95)
  170.  
  171. (set mfax_dest (expandpath ""))
  172.  
  173.     ; modify S:User-Startup
  174. (startup "MultiFax"
  175.     (prompt #insert-assign-prompt)
  176.     (command
  177.         "ASSIGN MultiFax: \"" mfax_dest "\"\n"
  178.     )
  179.     (help #insert-assign-help)
  180. )
  181.  
  182.     ; reinitialize assigns
  183. (if (not @pretend)
  184.     (makeassign "MultiFax" mfax_dest)
  185. )
  186.  
  187. (complete 100)
  188.  
  189.     ; cleanup
  190.  
  191.     ; this is not strictly necessary, but doesn't hurt -- there is always
  192.     ; a default (exit) at the end of any script
  193. (exit (quiet))
  194.