home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / WordProcessors / FINALWRITER1.DMS / in.adf / HDInstall < prev    next >
Encoding:
Text File  |  1993-10-15  |  17.2 KB  |  758 lines

  1. ;;
  2. ;;  $Filename: HDInstall $
  3. ;;  $Id: HDInstall,v 3.12 1993/09/17 16:38:10 $
  4. ;;  $Date: 1993/09/17 16:38:10 $
  5. ;;  $Revision: 3.12 $
  6. ;;
  7.  
  8. (set is_update 0)
  9. (set @user-level 1)    ; force to use average mode
  10. (complete 0)
  11.  
  12. (set FW_dest
  13.     (askdir
  14.         (prompt "In welcher Disk/Schublade soll Final Writer erstellt werden?")
  15.         (help "Das Installationsprogramm erstellt die Schublade "
  16.             "\"FinalWriter_D\" in diesem Verzeichnis. Alle Dateien von "
  17.             "\"Final Writer\" werden in dieses Verzeichnis gestellt. \n\n"
  18.             "Tip für erfahrene Benutzer:\n"
  19.             "\"Final Writer\" kann auch in ein anderes Verzeichnis "
  20.             "verschoben werden, wenn die Unterverzeichnisse:\n"
  21.             "FWFiles, FWFonts, FWLibs, FWThes und FWSpell\n"
  22.             "ebenfalls an die neue Position des Programms verschoben "
  23.             "werden.")
  24.         (default @default-dest)
  25.     )
  26. )
  27.  
  28. ; Check if this is an update
  29. ; the FWLibs directory is a tell-tale sign
  30. ; that FW is already installed here
  31. (if (exists (tackon FW_dest "FWLibs"))
  32.     (set is_update 1)
  33.     (    (if (exists (tackon FW_dest "FinalWriter_D"))
  34.             (set is_update 1)
  35.             (makedir (tackon FW_dest "FinalWriter_D") (infos))
  36.         )
  37.         (set FW_dest (tackon FW_dest "FinalWriter_D"))
  38.     )
  39. )
  40.  
  41. (set @default-dest FW_dest)
  42. (set disk_space (getdiskspace FW_dest))
  43.  
  44.  
  45. ; If first time install ask user if he wants a complete
  46. ; or a minimal installation. The minimal installation
  47. ; will not install the eps clip art or the extra fonts.
  48. (if (NOT is_update)
  49.     (
  50.         (set install_all
  51.             (askbool
  52.                 (prompt "Wünschen Sie eine \"Vollständige\" oder "
  53.                     "\"minimale\"  Installation von Final Writer? Die "
  54.                     "vollständige Installation erfordert ca. 9,5 MByte "
  55.                     "freien Speicherplatz auf der Disk, die Minimal- "
  56.                     "Installation ca. 2,5 MByte.")
  57.  
  58.                 (help "Bei Auswahl von \"Vollständig\" werden alle "
  59.                         "Dateien des Diskettensatzes von Final Writer "
  60.                         "installiert. Dafür sind ca. 9,5 MByte freier "
  61.                         "Speicherplatz auf der Disk erforderlich. Bei "
  62.                         "Auswahl von \"Minimal\" werden die ARexx-"
  63.                         "Makros, EPS Clip Art und zusätzliche Schriftarten "
  64.                         "nicht installiert. Die Minimalinstallation erfordert "
  65.                         "ca. 2,5 MByte freien Speicherplatz auf der Disk.")
  66.  
  67.                 (choices "Vollständig" "Minimal")
  68.  
  69.                 (default 1)
  70.             )
  71.         )
  72.  
  73.         (if install_all
  74.             (set disk_space_needed 9794048)    ; 9.34 Megs
  75.             (set disk_space_needed 2810183)    ; 2.68 Megs
  76.         )
  77.     )
  78. )
  79.  
  80.  
  81. (if (AND (< disk_space disk_space_needed) (NOT is_update))
  82.     (
  83.         (set answer1
  84.             (askbool
  85.                 (prompt "Auf dem Laufwerk ist möglicherweise nicht "
  86.                     "genügend Platz für die Installation von "
  87.                     "\"Final Writer\".  Dennoch fortsetzen?")
  88.                 (help "Final Writer benötigt für die vollständige "
  89.                     "Installation ca. 9,5 MByte freien Speicherplatz auf "
  90.                     "der Disk, für die Minimalinstallation ca. 2,5 "
  91.                     "MByte. Wenn Final Writer auf dieser Partition "
  92.                     "bereits installiert ist, können Sie die Installation "
  93.                     "fortsetzen. Andernfalls drücken Sie ABBRUCH "
  94.                     "oder NEIN und schaffen danach entweder Platz "
  95.                     "auf dieser Partition oder wählen eine andere "
  96.                     "Partition für die Installation aus.")
  97.             )
  98.         )
  99.         (if (NOT answer1)
  100.             (abort "Installation von Final Writer abgebrochen. Zu wenig "
  101.                 "Speicherplatz auf dem Datenträger \""
  102.                     (getdevice @default-dest)
  103.                     "\"."
  104.             )
  105.         )
  106.     )
  107. )
  108.  
  109. ; Allow updating user to select what they want updated
  110. (if is_update
  111.     (set install_options
  112.         (askoptions
  113.             (prompt "Welche Komponenten sollen aktualisiert werden?")
  114.             (help @askoptions-help)
  115.             (choices
  116.                 "Final Writer - Programm"
  117.                 "ARexx-Makros"
  118.                 "Systemdatendateien"
  119.                 "Systembibliotheken"
  120.                 "Systemschriftarten"
  121.                 "Rechtschreibprüfung & Silbentrennung"
  122.                 "Thesaurus"
  123.                 "EPS Clip Art"
  124.                 "Zusätzliche Schriftarten")
  125.             (default 9)
  126.         )
  127.     )
  128.     
  129.     ; First time install
  130.     (if install_all
  131.         (set install_options 511)  ; hex 1FF - all nine options on
  132.         (set install_options 125)    ; hex 07D - Macros, EPS, and Extra fonts off
  133.     )
  134. )
  135.  
  136. ; Copy the extraction utility over and remember where it is
  137. (copyfiles
  138.     (source "Disk 1:lhex")
  139.     (dest FW_dest)
  140. )
  141. (set DeArcher (tackon FW_dest "lhex"))
  142. (set error 0)
  143.  
  144. ; Installing Files on Disk 1?
  145. (if (IN install_options 0 1 2 3)
  146.     (
  147.         ; Get Disk 1
  148.         (askdisk
  149.             (prompt "Bitte \"Diskette 1\" einlegen." )
  150.             (help    "Diskette 1 enthält das Programm Final Writer, Makros, "
  151.                      "Bibliotheken und die auf dem System zu installierenden "
  152.                     "Datendateien.")
  153.             (dest "Disk 1" )
  154.         )
  155.  
  156.         ; Copy the More program to the hard drive
  157.         ; so everyone is guaranteed to have it.
  158.         (if (NOT is_update)
  159.             (copyfiles
  160.                 (source "Disk 1:More")
  161.                 (dest FW_dest)
  162.             )
  163.         )
  164.  
  165.         ; If installing/updating the program
  166.         (if (IN install_options 0)
  167.             (
  168.                 ; Make installer cd into FW_dest when it executes the run statement
  169.                 (set @execute-dir FW_dest)
  170.  
  171.                 ; copy the Final Writer program over if the program
  172.                 ; icon doesn't exists copy it over too.
  173.                 ( if (exists (tackon FW_dest "FinalWriter.info"))
  174.                     ; This DOES NOT copy the icon, in case the user
  175.                     ; has modified the tool-types
  176.                     (
  177.                         (working "Programm Final Writer wird von "
  178.                                     "Diskette 1 installiert.")
  179.                         (set error
  180.                             (run
  181.                                 ("\"%s\" -f x \"Disk 1:FinalWriter.lha\" FinalWriter >NIL:" DeArcher)
  182.                             )
  183.                         )
  184.                     )
  185.                     ; This DOES copy the icon
  186.                     (
  187.                         (working "Programm und Piktogramm Final "
  188.                                     "Writer werden von Diskette 1 installiert." )
  189.                         (set error
  190.                             (run
  191.                                 ("\"%s\" -f x \"Disk 1:FinalWriter.lha\" >NIL:" DeArcher)
  192.                             )
  193.                         )
  194.                     )
  195.                 )
  196.             )
  197.         )
  198.  
  199.         (if error
  200.             (abort ("Fehler bei Installation des Programms FinalWriter."))
  201.         )
  202.  
  203.         (complete 4)
  204.  
  205.         ; Installing FWMacros
  206.         (if (IN install_options 1)
  207.             (
  208.                 ; If FWMacros doesn't exist, create it.
  209.                 (if (NOT (exists (tackon FW_dest "FWMacros")))
  210.                     (
  211.                     (makedir (tackon FW_dest "FWMacros") (infos))
  212.                     )
  213.                 )
  214.  
  215.                 ; Make installer cd into FWMacros when it executes the run statement
  216.                 (set @execute-dir (tackon FW_dest "FWMacros"))
  217.  
  218.                 ; Extract the macro files
  219.                 (working "ARexx-Makros werden von Diskette 1 installiert.")
  220.                 (set error
  221.                     (run
  222.                         ("\"%s\" -f x \"Disk 1:FWMacros.lha\" >NIL:" DeArcher)
  223.                     )
  224.                 )
  225.  
  226.                 ; Abort if any errors
  227.                 (if error
  228.                     (abort ("Fehler bei Installation der ARexx-Makros."))
  229.                 )
  230.             )
  231.         )
  232.  
  233.         (complete 7)
  234.  
  235.         ; Installing FWFiles
  236.         (if (IN install_options 2)
  237.             (
  238.                 ; If FWFiles doesn't exist, create it.
  239.                 (if (NOT (exists (tackon FW_dest "FWFiles")))
  240.                     (
  241.                     (makedir (tackon FW_dest "FWFiles") (infos))
  242.                     )
  243.                 )
  244.  
  245.                 ; Make installer cd into FWFiles when it executes the run statement
  246.                 (set @execute-dir (tackon FW_dest "FWFiles"))
  247.  
  248.                 ; Extract the files
  249.                 (working "Datendateien werden von Diskette 1 installiert.")
  250.                 (set error
  251.                     (run
  252.                         ("\"%s\" -f x \"Disk 1:FWFiles.lha\" >NIL:" DeArcher)
  253.                     )
  254.                 )
  255.  
  256.                 ; Abort if any errors
  257.                 (if error
  258.                     (abort ("Fehler bei Installation der Datendateien."))
  259.                 )
  260.             )
  261.         )
  262.  
  263.         (complete 11)
  264.  
  265.         ; Installing FWLibs
  266.         (if (IN install_options 3)
  267.             (
  268.                 ; If FWLibs doesn't exist, create it.
  269.                 (if (NOT (exists (tackon FW_dest "FWLibs")))
  270.                     (
  271.                     (makedir (tackon FW_dest "FWLibs"))
  272.                     )
  273.                 )
  274.  
  275.                 ; Make installer cd into FWLibs when it executes the run statement
  276.                 (set @execute-dir (tackon FW_dest "FWLibs"))
  277.  
  278.                 (working "Bibliotheken werden von Diskette 1 installiert.")
  279.                 (set error
  280.                     (run
  281.                         ("\"%s\" -f x \"Disk 1:FWLibs.lha\" >NIL:" DeArcher)
  282.                     )
  283.                 )
  284.  
  285.                 ; Abort if any errors
  286.                 (if error
  287.                     (abort ("Fehler bei Installation der Bibliotheken."))
  288.                 )
  289.             )
  290.         )
  291.     )
  292. )
  293.  
  294. (complete 14)
  295.  
  296. ; Installing System Data Files/Libraries/Fonts
  297. (if (IN install_options 4 5)
  298.     (
  299.         ; Get Disk 2
  300.         (askdisk
  301.             (prompt "Bitte \"Diskette 2\" einlegen.")
  302.             (help    "Diskette 2 enthält die auf dem System zu installierenden "
  303.                     "Systemschriftarten sowie die Dateien für Rechtschreibprüfung und "
  304.                       "Silbentrennung von Final Writer." )
  305.             (dest "Disk 2")
  306.         )
  307.  
  308.         ; Installing FWFonts
  309.         (if (IN install_options 4)
  310.             (
  311.                 ; If FWFonts doesn't exist, create it.
  312.                 (if (NOT (exists (tackon FW_dest "FWFonts")))
  313.                     (
  314.                     (makedir (tackon FW_dest "FWFonts") (infos))
  315.                     )
  316.                 )
  317.  
  318.                 ; Make installer cd into FWFonts when it executes the run statement
  319.                 (set @execute-dir (tackon FW_dest "FWFonts"))
  320.  
  321.                 (working "Systemschriftarten werden von Diskette 2 installiert.")
  322.                 (set error
  323.                     (run
  324.                         ("\"%s\" -f x \"Disk 2:FWFonts.lha\" >NIL:" DeArcher)
  325.                     )
  326.                 )
  327.  
  328.                 ; Abort if any errors
  329.                 (if error
  330.                     (abort ("Fehler bei Installation der Systemschriftarten."))
  331.                 )
  332.             )
  333.         )
  334.  
  335.         (complete 19)
  336.  
  337.         ; Instaling FWSpell
  338.         (if (IN install_options 5)
  339.             (
  340.                 ; If FWSpell doesn't exist, create it.
  341.                 (if (NOT (exists (tackon FW_dest "FWSpell")))
  342.                     (
  343.                     (makedir (tackon FW_dest "FWSpell"))
  344.                     )
  345.                 )
  346.  
  347.                 ; Preserve the user dictionary as userdict.grm.save
  348.                 (if (exists (tackon FW_dest "FWSpell/userdict.grm"))
  349.                     (
  350.                         (set restore_UD 1)
  351.                         (copyfiles
  352.                             (source (tackon FW_dest "FWSpell/userdict.grm"))
  353.                             (dest (tackon FW_dest "FWSpell"))
  354.                             (newname "userdict.grm.save")
  355.                         )
  356.                     )
  357.                     (set restore_UD 0)
  358.                 )
  359.  
  360.                 ; Make installer cd into FWSpell when it executes the run statement
  361.                 (set @execute-dir (tackon FW_dest "FWSpell"))
  362.  
  363.                 (working "Dateien für Rechtschreibprüfung & Silbentrennung werden "
  364.                             "von Diskette 2 installiert.")
  365.                 (set error
  366.                     (run
  367.                         ("\"%s\" -f x \"Disk 2:FWSpell.lha\" >NIL:" DeArcher)
  368.                     )
  369.                 )
  370.  
  371.                 (if restore_UD
  372.                     (
  373.                         (copyfiles
  374.                             (source (tackon FW_dest "FWSpell/userdict.grm.save"))
  375.                             (dest (tackon FW_dest "FWSpell"))
  376.                             (newname "userdict.grm")
  377.                         )
  378.                         (delete (tackon FW_dest "FWSpell/userdict.grm.save"))
  379.                     )
  380.                 )
  381.  
  382.                 ; Abort if any errors
  383.                 (if error
  384.                     (abort ("Fehler bei Installation der Dateien für die "
  385.                         "Rechtschreibprüfung."))
  386.                 )
  387.             )
  388.         )
  389.     )
  390. )
  391.  
  392. (complete 29)
  393.  
  394. (if (IN install_options 6 7)
  395.     (
  396.         ; Get Disk 3
  397.         (askdisk
  398.             (prompt "Bitte \"Diskette 3\" einlegen.")
  399.             (help    "Diskette 3 enthält die auf dem System zu installierenden "
  400.                     "Thesaurusdateien von Final Writer und die EPS Clip Art.")
  401.             (dest "Disk 3")
  402.         )
  403.  
  404.         ; Instaling FWThes
  405.         (if (IN install_options 6)
  406.             (
  407.                 ; If FWThes doesn't exist, create it.
  408.                 (if (NOT (exists (tackon FW_dest "FWThes")))
  409.                     (
  410.                     (makedir (tackon FW_dest "FWThes"))
  411.                     )
  412.                 )
  413.  
  414.                 ; Make installer cd into FWThes when it executes the run statement
  415.                 (set @execute-dir (tackon FW_dest "FWThes"))
  416.  
  417.                 (working "Thesaurusdateien werden von Diskette 3 installiert.")
  418.                 (set error
  419.                     (run
  420.                         ("\"%s\" -f x \"Disk 3:FWThes.lha\" >NIL:" DeArcher)
  421.                     )
  422.                 )
  423.  
  424.                 ; Abort if any errors
  425.                 (if error
  426.                     (abort ("Fehler bei Installation der Thesaurusdateien."))
  427.                 )
  428.             )
  429.         )
  430.  
  431.         (complete 32)
  432.  
  433.         ; Installing EPS Clip Art <cc> <fed> <maps> <metro1>
  434.         (if (IN install_options 7)
  435.             (
  436.                 ; If FWClipArt doesn't exist, create it.
  437.                 (if (NOT (exists (tackon FW_dest "FWClipArt")))
  438.                     (
  439.                     (makedir (tackon FW_dest "FWClipArt"))
  440.                     )
  441.                 )
  442.  
  443.                 ; Make installer cd into FWClipArt when it executes the run statement
  444.                 (set @execute-dir (tackon FW_dest "FWClipArt"))
  445.  
  446.                 (working "EPS Clip Art wird von Diskette 3 installiert.")
  447.  
  448.                 (set error
  449.                     (run
  450.                         ("\"%s\" -f x \"Disk 3:cc.lha\" >NIL:" DeArcher)
  451.                     )
  452.                 )
  453.  
  454.                 ; Abort if any errors
  455.                 (if error
  456.                     (abort ("Fehler bei Installation der EPS Clip Art."))
  457.                 )
  458.  
  459.                 (complete 35)
  460.  
  461.                 (set error
  462.                     (run
  463.                         ("\"%s\" -f x \"Disk 3:fed.lha\" >NIL:" DeArcher)
  464.                     )
  465.                 )
  466.  
  467.                 ; Abort if any errors
  468.                 (if error
  469.                     (abort ("Fehler bei Installation der EPS Clip Art."))
  470.                 )
  471.  
  472.                 (complete 37)
  473.  
  474.                 (set error
  475.                     (run
  476.                         ("\"%s\" -f x \"Disk 3:maps.lha\" >NIL:" DeArcher)
  477.                     )
  478.                 )
  479.  
  480.                 ; Abort if any errors
  481.                 (if error
  482.                     (abort ("Fehler bei Installation der EPS Clip Art."))
  483.                 )
  484.  
  485.                 (complete 40)
  486.  
  487.                 (set error
  488.                     (run
  489.                         ("\"%s\" -f x \"Disk 3:metro1.lha\" >NIL:" DeArcher)
  490.                     )
  491.                 )
  492.  
  493.                 ; Abort if any errors
  494.                 (if error
  495.                     (abort ("Fehler bei Installation der EPS Clip Art."))
  496.                 )
  497.             )
  498.         )
  499.     )
  500. )
  501.  
  502. (complete 43)
  503.  
  504. (if (IN install_options 7)
  505.     (
  506.         ; ----------
  507.         ; Get Disk 4
  508.         ;
  509.         (askdisk
  510.             (prompt "Bitte \"Diskette 4\" einlegen.")
  511.             (help    "Diskette 4 enthält die auf dem System zu installierende EPS Clip Art.")
  512.             (dest "Disk 4")
  513.         )
  514.  
  515.         ; Installing EPS Clip Art <dms> <totem>
  516.  
  517.         ; If FWClipArt doesn't exist, create it.
  518.         (if (NOT (exists (tackon FW_dest "FWClipArt")))
  519.             (
  520.             (makedir (tackon FW_dest "FWClipArt"))
  521.             )
  522.         )
  523.  
  524.         ; Make installer cd into FWClipArt when it executes the run statement
  525.         (set @execute-dir (tackon FW_dest "FWClipArt"))
  526.  
  527.         (working "EPS Clip Art wird von Diskette 4 installiert.")
  528.         (set error
  529.             (run
  530.                 ("\"%s\" -f x \"Disk 4:dms.lha\" >NIL:" DeArcher)
  531.             )
  532.         )
  533.  
  534.         ; Abort if any errors
  535.         (if error
  536.             (abort ("Fehler bei Installation der EPS Clip Art."))
  537.         )
  538.  
  539.         (complete 50)
  540.  
  541.         (set error
  542.             (run
  543.                 ("\"%s\" -f x \"Disk 4:totem.lha\" >NIL:" DeArcher)
  544.             )
  545.         )
  546.  
  547.         ; Abort if any errors
  548.         (if error
  549.             (abort ("Fehler bei Installation der EPS Clip Art."))
  550.         )
  551.     )
  552. )
  553.  
  554. (complete 57)
  555.  
  556. (if (IN install_options 7 8)
  557.     (
  558.         ; ----------
  559.         ; Get Disk 5
  560.         ;
  561.         (askdisk
  562.             (prompt "Bitte \"Diskette 5\" einlegen.")
  563.             (help    "Diskette 5 enthält die auf dem System zu installierende EPS Clip Art "
  564.                      "sowie zusätzliche dekorative und Serif-Schriftarten.")
  565.             (dest "Disk 5")
  566.         )
  567.  
  568.         ; Instaling EPS Clip Art
  569.         (if (IN install_options 7)
  570.             (
  571.                 ; Make installer cd into FWClipArt/Metro when it executes the run statement
  572.                 (set @execute-dir (tackon FW_dest "FWClipArt/Metro"))
  573.  
  574.                 (working "EPS Clip Art wird von Diskette 5 installiert.")
  575.                 (set error
  576.                     (run
  577.                         ("\"%s\" -f x \"Disk 5:Metro2.lha\" >NIL:" DeArcher)
  578.                     )
  579.                 )
  580.  
  581.                 ; Abort if any errors
  582.                 (if error
  583.                     (abort ("Fehler bei Installation der Dekorativen "
  584.                             "Schriftarten."))
  585.                 )
  586.             )
  587.         )
  588.  
  589.         (complete 62)
  590.  
  591.         ; Instaling Decorative fonts
  592.         (if (IN install_options 8)
  593.             (
  594.                 ; If FWFonts/SWOLFonts/Deco doesn't exist, create it.
  595.                 (if (NOT (exists (tackon FW_dest "FWFonts/SWOLFonts/Deco")))
  596.                     (
  597.                     (makedir (tackon FW_dest "FWFonts/SWOLFonts/Deco") (infos))
  598.                     )
  599.                 )
  600.  
  601.                 ; Make installer cd into Deco when it executes the run statement
  602.                 (set @execute-dir (tackon FW_dest "FWFonts/SWOLFonts/Deco"))
  603.  
  604.                 (working "Dekorative Schriftarten werden von Diskette 5 installiert.")
  605.                 (set error
  606.                     (run
  607.                         ("\"%s\" -f x \"Disk 5:Deco.lha\" >NIL:" DeArcher)
  608.                     )
  609.                 )
  610.  
  611.                 ; Abort if any errors
  612.                 (if error
  613.                     (abort ("Fehler bei Installation der Dekorativen "
  614.                              "Schriftarten."))
  615.                 )
  616.             )
  617.         )
  618.  
  619.         (complete 66)
  620.  
  621.         ; Instaling Serif1 fonts
  622.         (if (IN install_options 8)
  623.             (
  624.                 ; If FWFonts/SWOLFonts/Serif doesn't exist, create it.
  625.                 (if (NOT (exists (tackon FW_dest "FWFonts/SWOLFonts/Serif")))
  626.                     (
  627.                     (makedir (tackon FW_dest "FWFonts/SWOLFonts/Serif") (infos))
  628.                     )
  629.                 )
  630.  
  631.                 ; Make installer cd into Serif when it executes the run statement
  632.                 (set @execute-dir (tackon FW_dest "FWFonts/SWOLFonts/Serif"))
  633.  
  634.                 (working "Serif-Schriftarten werden von Diskette 5 installiert.")
  635.                 (set error
  636.                     (run
  637.                         ("\"%s\" -f x \"Disk 5:Serif1.lha\" >NIL:" DeArcher)
  638.                     )
  639.                 )
  640.  
  641.                 ; Abort if any errors
  642.                 (if error
  643.                     (abort ("Fehler bei Installation der Serif1-Schriftarten."))
  644.                 )
  645.             )
  646.         )
  647.     )
  648. )
  649.  
  650. (complete 71)
  651.  
  652. (if (IN install_options 8)
  653.     (
  654.         ; ----------
  655.         ; Get Disk 6
  656.         ;
  657.         (askdisk
  658.             (prompt "Bitte \"Diskette 6\" einlegen.")
  659.             (help    "Diskette 6 enthält auf dem System zu installierende, zusätzliche "
  660.                     "Serif-Schriftarten.")
  661.             (dest "Disk 6")
  662.         )
  663.  
  664.         ; Instaling Serif2 fonts
  665.         (if (IN install_options 8)
  666.             (
  667.                 ; If FWFonts/SWOLFonts/Serif doesn't exist, create it.
  668.                 (if (NOT (exists (tackon FW_dest "FWFonts/SWOLFonts/Serif")))
  669.                     (
  670.                     (makedir (tackon FW_dest "FWFonts/SWOLFonts/Serif") (infos))
  671.                     )
  672.                 )
  673.  
  674.                 ; Make installer cd into Serif when it executes the run statement
  675.                 (set @execute-dir (tackon FW_dest "FWFonts/SWOLFonts/Serif"))
  676.  
  677.                 (working "Serif-Schriftarten werden von Diskette 6 installiert.")
  678.                 (set error
  679.                     (run
  680.                         ("\"%s\" -f x \"Disk 6:Serif2.lha\" >NIL:" DeArcher)
  681.                     )
  682.                 )
  683.  
  684.                 ; Abort if any errors
  685.                 (if error
  686.                     (abort ("Fehler bei Installation der Serif2-Schriftarten."))
  687.                 )
  688.             )
  689.         )
  690.     )
  691. )
  692.  
  693. (complete 86)
  694.  
  695. (if (IN install_options 8)
  696.     (
  697.         ; ----------
  698.         ; Get Disk 7
  699.         ;
  700.         (askdisk
  701.             (prompt "Bitte \"Diskette 7\" einlegen.")
  702.             (help    "Diskette 7 enthält auf dem System zu installierende, zusätzliche "
  703.                     "serifenlose Schriftarten.")
  704.             (dest "Disk 7")
  705.         )
  706.  
  707.         ; Instaling Sans serif fonts
  708.         (if (IN install_options 8)
  709.             (
  710.                 ; If FWFonts/SWOLFonts/Sans doesn't exist, create it.
  711.                 (if (NOT (exists (tackon FW_dest "FWFonts/SWOLFonts/Sans")))
  712.                     (
  713.                     (makedir (tackon FW_dest "FWFonts/SWOLFonts/Sans") (infos))
  714.                     )
  715.                 )
  716.  
  717.                 ; Make installer cd into Sans when it executes the run statement
  718.                 (set @execute-dir (tackon FW_dest "FWFonts/SWOLFonts/Sans"))
  719.  
  720.                 (working "Serifenlose Schriftarten werden von Diskette 7 installiert.")
  721.                 (set error
  722.                     (run
  723.                         ("\"%s\" -f x \"Disk 7:Sans.lha\" >NIL:" DeArcher)
  724.                     )
  725.                 )
  726.  
  727.                 ; Abort if any errors
  728.                 (if error
  729.                     (abort ("Fehler bei Installation der Serifenlosen "
  730.                              "Schriftarten."))
  731.                 )
  732.             )
  733.         )
  734.     )
  735. )
  736.  
  737. ; If FWDocs doesn't exist, create it.
  738. (if (NOT (exists (tackon FW_dest "FWDocs")))
  739.     (
  740.     (makedir (tackon FW_dest "FWDocs") (infos))
  741.     )
  742. )
  743.  
  744. ; If FWTextClips doesn't exist, create it.
  745. (if (NOT (exists (tackon FW_dest "FWTextClips")))
  746.     (
  747.     (makedir (tackon FW_dest "FWTextClips") (infos))
  748.     )
  749. )
  750.  
  751. (delete DeArcher)
  752.  
  753. (complete 100)
  754.  
  755. (exit)
  756.  
  757.  
  758.