home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d9xx / d997 / mtool.lha / MTool / Install < prev    next >
Text File  |  1994-04-05  |  29KB  |  1,122 lines

  1. (set ver (/ (getversion) 65536))
  2.  
  3. (set locale
  4.  (askchoice
  5.   (prompt  "Select the prefered language.")
  6.   (help    "")
  7.   (choices "Dansk" "Deutsch" "English" "Español" "Français" "Svenska")
  8.   (default 2)
  9.  )
  10. )
  11.  
  12. (if (= locale 0)
  13.  (
  14.  (message "\n IMPORTANT NOTE:\n\n"
  15.           "This program installs MTool and MI on your Amiga.  If you don't understand one of the questions that show up during installation, please select the 'help...' button.  You will be instructed then about the next step and what it's for."
  16.  )
  17.  
  18.  (set progdest
  19.      (askdir
  20.          (prompt "Please select a drawer for MTool.")
  21.          (help "MTool and MI will be copied to this drawer.")
  22.          (default "SYS:Tools")
  23.          (newpath)
  24.      )
  25.  )
  26.  
  27.  (set @default-dest progdest)
  28.  
  29.  (copyfiles
  30.      (prompt "Copying MTool...")
  31.      (source "MTool")
  32.      (infos)
  33.      (dest progdest)
  34.  )
  35.  
  36.  (complete 20)
  37.  
  38.  (copyfiles
  39.      (prompt "Copying MTPrefs...")
  40.      (source "Prefs/MTool")
  41.      (infos)
  42.      (dest "SYS:Prefs")
  43.  )
  44.  
  45.  (complete 30)
  46.  
  47.  (copyfiles
  48.      (prompt "Copying MI...")
  49.      (source "MI")
  50.      (infos)
  51.      (dest progdest)
  52.  )
  53.  
  54.  (complete 45)
  55.  
  56.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  57.  (
  58.      (makedir "ENVARC:MTool")
  59.      (makedir "ENV:MTool")
  60.  
  61.      (copyfiles
  62.          (prompt "Copying example prefs file...")
  63.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  64.          (dest "ENVARC:MTool")
  65.      )
  66.      (copyfiles
  67.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  68.          (dest "ENV:MTool")
  69.      )
  70.  )
  71.  )
  72.  
  73.  (complete 60)
  74.  
  75.  (if (> ver 37)
  76.      (if (exists "Locale:Catalogs/dansk")
  77.      (
  78.          (if (askbool (help "If you selected dansk as default language and install the files, MTool and MI will show up with a dansk user interface.") (prompt "Do you want to install the dansk locale files?"))
  79.          (
  80.              (copyfiles
  81.                  (prompt "Installing Dansk Catalogs")
  82.                  (source "Catalogs/dansk")
  83.                  (pattern "#?")
  84.                  (dest "Locale:Catalogs/dansk")
  85.              )
  86.          )        
  87.          )
  88.      )
  89.      )
  90.  )
  91.  
  92.  (if (askbool (help "The helpfile offers a help function while running MI.") (prompt "Do you want to install the helpfile for MI?"))
  93.  (
  94.      (copyfiles
  95.          (prompt  "Copying helpfile:...")
  96.          (source  "MI_GB.help")
  97.          (dest    "ENVARC:")
  98.          (newname "MI.help")
  99.      )
  100.  )
  101.  )
  102.  
  103.  (complete 70)
  104.  
  105.  (if (askbool (help "The icons will be used in MTool to create icons for files according to their type. This feature is disabled in the unregistered version.") (prompt "Do you want to install the icons?"))
  106.  (
  107.      (set icondest
  108.          (askdir
  109.               (prompt "Please select a drawer for the icons.")
  110.               (help "The example prefs file expects the icons in the default drawer.")
  111.               (default (tackon progdest "MToolIcons"))
  112.               (newpath)
  113.          )
  114.      )
  115.  
  116.      (if (askbool (help "MagicWB is a collection of background patterns and icons, providing a very nice 8-coloured Workbench.  You can install icons especially designed for MagicWB.") (prompt "Do you use 'MagicWB'?"))
  117.      (
  118.      (copyfiles
  119.          (prompt "Copying icons...")
  120.          (source "MToolIcons/MWB")
  121.          (pattern "(~MT)#?.info")
  122.          (dest icondest)
  123.      )
  124.      (copyfiles
  125.          (source "MToolIcons/MWB/MTool.info")
  126.          (dest progdest)
  127.      )
  128.      (copyfiles
  129.          (source "MToolIcons/MWB/MI.info")
  130.          (dest progdest)
  131.      )
  132.      (copyfiles
  133.          (source "MToolIcons/MWB/MTPrefs.info")
  134.          (dest "SYS:Prefs")
  135.          (newname "MTool.info")
  136.      )
  137.      )
  138.      (
  139.      (copyfiles
  140.          (prompt "Copying icons...")
  141.          (source "MToolIcons")
  142.          (pattern "#?.info")
  143.          (dest icondest)
  144.      )
  145.      )
  146.      )
  147.  )
  148.  )
  149.  
  150.  (complete 80)
  151.  
  152.  (if (askbool (help "The docs include two AmigaGuide documents and a history file.") (prompt "Do you want to install the docs?"))
  153.  (
  154.      (set docdest
  155.          (askdir
  156.               (prompt "Please select a drawer for the docs.")
  157.               (help "It doesn't matter where you put the docs if you want to move them...")
  158.               (default (tackon progdest "Docs"))
  159.               (newpath)
  160.          )
  161.      )
  162.      (copyfiles
  163.          (prompt "Copying Docs...")
  164.          (source "Docs")
  165.          (pattern "#?_GB.#?")
  166.          (infos)
  167.          (dest docdest)
  168.      )
  169.  )
  170.  )
  171.  
  172.  (complete 90)
  173.  
  174.  (if (askbool (help "DatMon is useful in hex mode of MI, Fineline 11 is used in MTools "About" requester.") (prompt "Do you want to install the fonts?"))
  175.  (
  176.      (set fontdest
  177.          (askdir
  178.              (prompt "Please select a drawer for the fonts.")
  179.              (help "If you didn't 'assign add' another font drawer, you shouldn't touch this default setting.")
  180.              (default "Fonts:")
  181.              (newpath)
  182.          )
  183.      )
  184.      (copyfiles
  185.          (prompt "Copying fonts...")
  186.          (source "Fonts")
  187.          (dest fontdest)
  188.          (pattern "#?")
  189.      )
  190.  )
  191.  )
  192.  
  193.  (complete 99)
  194.  )
  195. )
  196.  
  197. (if (= locale 1)
  198.  (
  199.  (message "\n HINWEIS ZUR INSTALLATION VON MTOOL:\n\n"
  200.           "Dieses Programm installiert MTool und MI auf Ihrem System. Sollten Sie eine der während der Installation auftretenden Fragen nicht verstehen, können Sie jederzeit 'Hilfe...' anwählen. Sie erhalten dann genaue Auskunft, was der nächste Arbeitsschritt macht und wozu er gut ist."
  201.  )
  202.  
  203.  (set progdest
  204.      (askdir
  205.          (prompt "Bitte wählen Sie ein Verzeichnis für MTool aus.")
  206.          (help "In das gewählte Verzeichnis werden die Programme MTool und MI kopiert.")
  207.          (default "SYS:Tools")
  208.          (newpath)
  209.      )
  210.  )
  211.  
  212.  (set @default-dest progdest)
  213.  
  214.  (copyfiles
  215.      (prompt "Kopiere Hauptprogramm...")
  216.      (source "MTool")
  217.      (infos)
  218.      (dest progdest)
  219.  )
  220.  
  221.  (complete 20)
  222.  
  223.  (copyfiles
  224.      (prompt "Kopiere den Voreinstellungseditor zu MTool")
  225.      (source "Prefs/MTool")
  226.      (infos)
  227.      (dest "SYS:Prefs")
  228.  )
  229.  
  230.  (complete 30)
  231.  
  232.  (copyfiles
  233.      (prompt "Kopiere den Textanzeiger MI")
  234.      (source "MI")
  235.      (infos)
  236.      (dest progdest)
  237.  )
  238.  
  239.  (complete 45)
  240.  
  241.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  242.  (
  243.      (makedir "ENVARC:MTool")
  244.      (makedir "ENV:MTool")
  245.  
  246.      (copyfiles
  247.          (prompt "Kopiere Prefsdatei zu MTool")
  248.          (source "Prefs/Env-Archive/MTool/MTool_d.Prefs")
  249.          (dest "ENVARC:MTool")
  250.          (newname "MTool.prefs")
  251.      )
  252.      (copyfiles
  253.          (source "Prefs/Env-Archive/MTool/MTool_d.Prefs")
  254.          (dest "ENV:MTool")
  255.          (newname "MTool.prefs")
  256.      )
  257.  )
  258.  )
  259.  
  260.  (complete 60)
  261.  
  262.  (if (> ver 37)
  263.      (if (exists "Locale:Catalogs/deutsch")
  264.      (
  265.          (if (askbool (help "Wenn Sie als Landessprache deutsch gewählt haben und diese Dateien installieren lassen, werden MTool und MI eine deutsche Benutzeroberfläche anzeigen.") (prompt "Soll die deutsche Sprachanpassung installiert werden?"))
  266.          (
  267.              (copyfiles
  268.                  (prompt "Installiere deutsche Catalogs")
  269.                  (source "Catalogs/deutsch")
  270.                  (pattern "#?")
  271.                  (dest "Locale:Catalogs/deutsch")
  272.              )
  273.          )        
  274.          )
  275.      )
  276.      )
  277.  )
  278.  
  279.  (if (askbool (help "Die Hilfsdatei bietet Ihnen eine deutschsprachige Hilfsfunktion in MI.") (prompt "Soll die Hilfsdatei zu MI kopiert werden?"))
  280.  (
  281.      (copyfiles
  282.          (prompt  "Kopiere Hilfsdatei zu MI nach ENVARC:...")
  283.          (source  "MI_D.help")
  284.          (dest    "ENVARC:")
  285.          (newname "MI.help")
  286.      )
  287.  )
  288.  )
  289.  
  290.  (complete 70)
  291.  
  292.  (if (askbool (help "Die Icons werden von MTool benutzt, um Dateien gemäß ihrem Dateityp mit Icons versehen zu können. Diese Fähigkeit ist in der unregistrierten Version gesperrt.") (prompt "Sollen die Icons installiert werden?"))
  293.  (
  294.      (set icondest
  295.          (askdir
  296.               (prompt "Bitte wählen Sie ein Verzeichnis für die Icons aus.")
  297.               (help "Die mitgelieferte Voreinstellungsdatei erwartet die Icons im vorgegebenen Verzeichnis")
  298.               (default (tackon progdest "MToolIcons"))
  299.               (newpath)
  300.          )
  301.      )
  302.  
  303.      (if (askbool (help "MagicWB ist eine Sammlung von Hintergrundgraphiken und Icons, die eine sehr schöne 8-farbige Workbench ergeben. Sie können dazu passende Icons installieren lassen") (prompt "Benutzen Sie 'MagicWB'?"))
  304.      (
  305.      (copyfiles
  306.          (prompt "Kopiere Icons...")
  307.          (source "MToolIcons/MWB")
  308.          (pattern "(~MT)#?.info")
  309.          (dest icondest)
  310.      )
  311.      (copyfiles
  312.          (source "MToolIcons/MWB/MTool.info")
  313.          (dest progdest)
  314.      )
  315.      (copyfiles
  316.          (source "MToolIcons/MWB/MI.info")
  317.          (dest progdest)
  318.      )
  319.      (copyfiles
  320.          (source "MToolIcons/MWB/MTPrefs.info")
  321.          (dest "SYS:Prefs")
  322.          (newname "MTool.info")
  323.      )
  324.      )
  325.      (
  326.      (copyfiles
  327.          (prompt "Kopiere Icons...")
  328.          (source "MToolIcons")
  329.          (pattern "#?.info")
  330.          (dest icondest)
  331.      )
  332.      )
  333.      )
  334.  )
  335.  )
  336.  
  337.  (complete 80)
  338.  
  339.  (if (askbool (help "Die Anleitungen umfassen zwei AmigaGuide-Dokumente und eine Änderungsdatei.") (prompt "Sollen die Anleitungen kopiert werden?"))
  340.  (
  341.      (set docdest
  342.          (askdir
  343.               (prompt "Bitte wählen Sie ein Verzeichnis für die Anleitungen aus.")
  344.               (help "Es ist egal, wo Sie die Anleitungen hinstecken, Sie sollten Sie bloß wiederfinden...")
  345.               (default (tackon progdest "Anleitungen"))
  346.               (newpath)
  347.          )
  348.      )
  349.      (copyfiles
  350.          (prompt "Kopiere Anleitungen...")
  351.          (source "Docs")
  352.          (pattern "#?_D.#?")
  353.          (infos)
  354.          (dest docdest)
  355.      )
  356.  )
  357.  )
  358.  
  359.  (complete 90)
  360.  
  361.  (if (askbool (help "Die Schrift DatMon ist im Hex-Modus von MI recht nützlich, Fineline 11 wird im Aboutrequester von MTool verwendet.") (prompt "Sollen die Schriften kopiert werden?"))
  362.  (
  363.      (set fontdest
  364.          (askdir
  365.              (prompt "Bitte wählen Sie ein Verzeichnis für die Schriften aus.")
  366.              (help "Wenn Sie kein Verzeichnis zum Fonts:-Verzeichnis zuge'add'et haben, sollten Sie die Einstellung bei Fonts: belassen.")
  367.              (default "Fonts:")
  368.              (newpath)
  369.          )
  370.      )
  371.      (copyfiles
  372.          (prompt "Kopiere Zeichensätze...")
  373.          (source "Fonts")
  374.          (dest fontdest)
  375.          (pattern "#?")
  376.      )
  377.  )
  378.  )
  379.  
  380.  (complete 99)
  381.  )
  382. )
  383.  
  384. (if (= locale 2)
  385.  (
  386.  (message "\n IMPORTANT NOTE:\n\n"
  387.           "This programm installs MTool and MI on your Amiga. If you don't understand one of the questions that show up during installation, please select the 'help...' button. You will be instructed then about the next step and what it's good for."
  388.  )
  389.  
  390.  (set progdest
  391.      (askdir
  392.          (prompt "Please select a drawer for MTool.")
  393.          (help "MTool and MI will be copied to this drawer.")
  394.          (default "SYS:Tools")
  395.          (newpath)
  396.      )
  397.  )
  398.  
  399.  (set @default-dest progdest)
  400.  
  401.  (copyfiles
  402.      (prompt "Copying MTool...")
  403.      (source "MTool")
  404.      (infos)
  405.      (dest progdest)
  406.  )
  407.  
  408.  (complete 20)
  409.  
  410.  (copyfiles
  411.      (prompt "Copying MTPrefs...")
  412.      (source "Prefs/MTool")
  413.      (infos)
  414.      (dest "SYS:Prefs")
  415.  )
  416.  
  417.  (complete 30)
  418.  
  419.  (copyfiles
  420.      (prompt "Copying MI...")
  421.      (source "MI")
  422.      (infos)
  423.      (dest progdest)
  424.  )
  425.  
  426.  (complete 45)
  427.  
  428.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  429.  (
  430.      (makedir "ENVARC:MTool")
  431.      (makedir "ENV:MTool")
  432.  
  433.      (copyfiles
  434.          (prompt "Copying example prefs file...")
  435.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  436.          (dest "ENVARC:MTool")
  437.      )
  438.      (copyfiles
  439.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  440.          (dest "ENV:MTool")
  441.      )
  442.  )
  443.  )
  444.  
  445.  (complete 60)
  446.  
  447.  (if (askbool (help "The helpfile offers a help function while running MI.") (prompt "Do you want to install the helpfile for MI?"))
  448.  (
  449.      (copyfiles
  450.          (prompt  "Copying helpfile:...")
  451.          (source  "MI_GB.help")
  452.          (dest    "ENVARC:")
  453.          (newname "MI.help")
  454.      )
  455.  )
  456.  )
  457.  
  458.  (complete 70)
  459.  
  460.  (if (askbool (help "The icons will be used in MTool to create icons for files according to their type. This feature is disabled in the unregistered version.") (prompt "Do you want to install the icons?"))
  461.  (
  462.      (set icondest
  463.          (askdir
  464.               (prompt "Please select a drawer for the icons.")
  465.               (help "The example prefs file expects the icons in the default drawer.")
  466.               (default (tackon progdest "MToolIcons"))
  467.               (newpath)
  468.          )
  469.      )
  470.  
  471.      (if (askbool (help "MagicWB is a collection of background patterns and icons, providing a very nice 8-coloured Workbench. You can install icons especially designed for MagicWB.") (prompt "Do you use 'MagicWB'?"))
  472.      (
  473.      (copyfiles
  474.          (prompt "Copying icons...")
  475.          (source "MToolIcons/MWB")
  476.          (pattern "(~MT)#?.info")
  477.          (dest icondest)
  478.      )
  479.      (copyfiles
  480.          (source "MToolIcons/MWB/MTool.info")
  481.          (dest progdest)
  482.      )
  483.      (copyfiles
  484.          (source "MToolIcons/MWB/MI.info")
  485.          (dest progdest)
  486.      )
  487.      (copyfiles
  488.          (source "MToolIcons/MWB/MTPrefs.info")
  489.          (dest "SYS:Prefs")
  490.          (newname "MTool.info")
  491.      )
  492.      )
  493.      (
  494.      (copyfiles
  495.          (prompt "Copying icons...")
  496.          (source "MToolIcons")
  497.          (pattern "#?.info")
  498.          (dest icondest)
  499.      )
  500.      )
  501.      )
  502.  )
  503.  )
  504.  
  505.  (complete 80)
  506.  
  507.  (if (askbool (help "The docs iclude two AmigaGuide documents and a history file.") (prompt "Do you want to install the docs?"))
  508.  (
  509.      (set docdest
  510.          (askdir
  511.               (prompt "Please select a drawer for the docs.")
  512.               (help "It doesn't matter where you put the docs, if you manage to refind them...")
  513.               (default (tackon progdest "Docs"))
  514.               (newpath)
  515.          )
  516.      )
  517.      (copyfiles
  518.          (prompt "Copying Docs...")
  519.          (source "Docs")
  520.          (pattern "#?_GB.#?")
  521.          (infos)
  522.          (dest docdest)
  523.      )
  524.  )
  525.  )
  526.  
  527.  (complete 90)
  528.  
  529.  (if (askbool (help "DatMon is useful in hex mode of MI, Fineline 11 is used in MTools about requester.") (prompt "Do you want to install the fonts?"))
  530.  (
  531.      (set fontdest
  532.          (askdir
  533.              (prompt "Please select a drawer for the fonts.")
  534.              (help "If you didn't 'assign add' another font drawer, you shouldn't tuch this default setting.")
  535.              (default "Fonts:")
  536.              (newpath)
  537.          )
  538.      )
  539.      (copyfiles
  540.          (prompt "Copying fonts...")
  541.          (source "Fonts")
  542.          (dest fontdest)
  543.          (pattern "#?")
  544.      )
  545.  )
  546.  )
  547.  
  548.  (complete 99)
  549.  )
  550. )
  551.  
  552. (if (= locale 3)
  553.  (
  554.  (message "\n IMPORTANT NOTE:\n\n"
  555.           "This programm installs MTool and MI on your Amiga. If you don't understand one of the questions that show up during installation, please select the 'help...' button. You will be instructed then about the next step and what it's good for."
  556.  )
  557.  
  558.  (set progdest
  559.      (askdir
  560.          (prompt "Please select a drawer for MTool.")
  561.          (help "MTool and MI will be copied to this drawer.")
  562.          (default "SYS:Tools")
  563.          (newpath)
  564.      )
  565.  )
  566.  
  567.  (set @default-dest progdest)
  568.  
  569.  (copyfiles
  570.      (prompt "Copying MTool...")
  571.      (source "MTool")
  572.      (infos)
  573.      (dest progdest)
  574.  )
  575.  
  576.  (complete 20)
  577.  
  578.  (copyfiles
  579.      (prompt "Copying MTPrefs...")
  580.      (source "Prefs/MTool")
  581.      (infos)
  582.      (dest "SYS:Prefs")
  583.  )
  584.  
  585.  (complete 30)
  586.  
  587.  (copyfiles
  588.      (prompt "Copying MI...")
  589.      (source "MI")
  590.      (infos)
  591.      (dest progdest)
  592.  )
  593.  
  594.  (complete 45)
  595.  
  596.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  597.  (
  598.      (makedir "ENVARC:MTool")
  599.      (makedir "ENV:MTool")
  600.  
  601.      (copyfiles
  602.          (prompt "Copying example prefs file...")
  603.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  604.          (dest "ENVARC:MTool")
  605.      )
  606.      (copyfiles
  607.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  608.          (dest "ENV:MTool")
  609.      )
  610.  )
  611.  )
  612.  
  613.  (complete 60)
  614.  
  615.  (if (> ver 37)
  616.      (if (exists "Locale:Catalogs/español")
  617.      (
  618.          (if (askbool (help "If you selected español as default language and install these files, MTool and MI will show up with a spanish user interface.") (prompt "Do you want to install the spanish locale files?"))
  619.          (
  620.              (copyfiles
  621.                  (prompt "Installing Spanish Catalogs")
  622.                  (source "Catalogs/español")
  623.                  (pattern "#?")
  624.                  (dest "Locale:Catalogs/español")
  625.              )
  626.          )        
  627.          )
  628.      )
  629.      )
  630.  )
  631.  
  632.  (if (askbool (help "The helpfile offers a help function while running MI.") (prompt "Do you want to install the helpfile for MI?"))
  633.  (
  634.      (copyfiles
  635.          (prompt  "Copying helpfile:...")
  636.          (source  "MI_GB.help")
  637.          (dest    "ENVARC:")
  638.          (newname "MI.help")
  639.      )
  640.  )
  641.  )
  642.  
  643.  (complete 70)
  644.  
  645.  (if (askbool (help "The icons will be used in MTool to create icons for files according to their type. This feature is disabled in the unregistered version.") (prompt "Do you want to install the icons?"))
  646.  (
  647.      (set icondest
  648.          (askdir
  649.               (prompt "Please select a drawer for the icons.")
  650.               (help "The example prefs file expects the icons in the default drawer.")
  651.               (default (tackon progdest "MToolIcons"))
  652.               (newpath)
  653.          )
  654.      )
  655.  
  656.      (if (askbool (help "MagicWB is a collection of background patterns and icons, providing a very nice 8-coloured Workbench. You can install icons especially designed for MagicWB.") (prompt "Do you use 'MagicWB'?"))
  657.      (
  658.      (copyfiles
  659.          (prompt "Copying icons...")
  660.          (source "MToolIcons/MWB")
  661.          (pattern "(~MT)#?.info")
  662.          (dest icondest)
  663.      )
  664.      (copyfiles
  665.          (source "MToolIcons/MWB/MTool.info")
  666.          (dest progdest)
  667.      )
  668.      (copyfiles
  669.          (source "MToolIcons/MWB/MI.info")
  670.          (dest progdest)
  671.      )
  672.      (copyfiles
  673.          (source "MToolIcons/MWB/MTPrefs.info")
  674.          (dest "SYS:Prefs")
  675.          (newname "MTool.info")
  676.      )
  677.      )
  678.      (
  679.      (copyfiles
  680.          (prompt "Copying icons...")
  681.          (source "MToolIcons")
  682.          (pattern "#?.info")
  683.          (dest icondest)
  684.      )
  685.      )
  686.      )
  687.  )
  688.  )
  689.  
  690.  (complete 80)
  691.  
  692.  (if (askbool (help "The docs iclude two AmigaGuide documents and a history file.") (prompt "Do you want to install the docs?"))
  693.  (
  694.      (set docdest
  695.          (askdir
  696.               (prompt "Please select a drawer for the docs.")
  697.               (help "It doesn't matter where you put the docs, if you manage to refind them...")
  698.               (default (tackon progdest "Docs"))
  699.               (newpath)
  700.          )
  701.      )
  702.      (copyfiles
  703.          (prompt "Copying Docs...")
  704.          (source "Docs")
  705.          (pattern "#?_GB.#?")
  706.          (infos)
  707.          (dest docdest)
  708.      )
  709.      (copyfiles
  710.          (prompt "Copying Docs...")
  711.          (source "Docs")
  712.          (pattern "#?_E.#?")
  713.          (infos)
  714.          (dest docdest)
  715.      )
  716.  )
  717.  )
  718.  
  719.  (complete 90)
  720.  
  721.  (if (askbool (help "DatMon is useful in hex mode of MI, Fineline 11 is used in MTools about requester.") (prompt "Do you want to install the fonts?"))
  722.  (
  723.      (set fontdest
  724.          (askdir
  725.              (prompt "Please select a drawer for the fonts.")
  726.              (help "If you didn't 'assign add' another font drawer, you shouldn't tuch this default setting.")
  727.              (default "Fonts:")
  728.              (newpath)
  729.          )
  730.      )
  731.      (copyfiles
  732.          (prompt "Copying fonts...")
  733.          (source "Fonts")
  734.          (dest fontdest)
  735.          (pattern "#?")
  736.      )
  737.  )
  738.  )
  739.  
  740.  (complete 99)
  741.  )
  742. )
  743.  
  744. (if (= locale 4)
  745.  (
  746.  (message "\n IMPORTANT NOTE:\n\n"
  747.           "This programm installs MTool and MI on your Amiga. If you don't understand one of the questions that show up during installation, please select the 'help...' button. You will be instructed then about the next step and what it's good for."
  748.  )
  749.  
  750.  (set progdest
  751.      (askdir
  752.          (prompt "Please select a drawer for MTool.")
  753.          (help "MTool and MI will be copied to this drawer.")
  754.          (default "SYS:Tools")
  755.          (newpath)
  756.      )
  757.  )
  758.  
  759.  (set @default-dest progdest)
  760.  
  761.  (copyfiles
  762.      (prompt "Copying MTool...")
  763.      (source "MTool")
  764.      (infos)
  765.      (dest progdest)
  766.  )
  767.  
  768.  (complete 20)
  769.  
  770.  (copyfiles
  771.      (prompt "Copying MTPrefs...")
  772.      (source "Prefs/MTool")
  773.      (infos)
  774.      (dest "SYS:Prefs")
  775.  )
  776.  
  777.  (complete 30)
  778.  
  779.  (copyfiles
  780.      (prompt "Copying MI...")
  781.      (source "MI")
  782.      (infos)
  783.      (dest progdest)
  784.  )
  785.  
  786.  (complete 45)
  787.  
  788.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  789.  (
  790.      (makedir "ENVARC:MTool")
  791.      (makedir "ENV:MTool")
  792.  
  793.      (copyfiles
  794.          (prompt "Copying example prefs file...")
  795.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  796.          (dest "ENVARC:MTool")
  797.      )
  798.      (copyfiles
  799.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  800.          (dest "ENV:MTool")
  801.      )
  802.  )
  803.  )
  804.  
  805.  (complete 60)
  806.  
  807.  (if (> ver 37)
  808.      (if (exists "Locale:Catalogs/français")
  809.      (
  810.          (if (askbool (help "If you selected français as default language and install these files, MTool and MI will show up with a French user interface.") (prompt "Do you want to install the French locale files?"))
  811.          (
  812.              (copyfiles
  813.                  (prompt "Installing French Catalogs")
  814.                  (source "Catalogs/français")
  815.                  (pattern "#?")
  816.                  (dest "Locale:Catalogs/français")
  817.              )
  818.          )        
  819.          )
  820.      )
  821.      )
  822.  )
  823.  
  824.  (if (askbool (help "The helpfile offers a help function while running MI.") (prompt "Do you want to install the helpfile for MI?"))
  825.  (
  826.      (copyfiles
  827.          (prompt  "Copying helpfile:...")
  828.          (source  "MI_GB.help")
  829.          (dest    "ENVARC:")
  830.          (newname "MI.help")
  831.      )
  832.  )
  833.  )
  834.  
  835.  (complete 70)
  836.  
  837.  (if (askbool (help "The icons will be used in MTool to create icons for files according to their type. This feature is disabled in the unregistered version.") (prompt "Do you want to install the icons?"))
  838.  (
  839.      (set icondest
  840.          (askdir
  841.               (prompt "Please select a drawer for the icons.")
  842.               (help "The example prefs file expects the icons in the default drawer.")
  843.               (default (tackon progdest "MToolIcons"))
  844.               (newpath)
  845.          )
  846.      )
  847.  
  848.      (if (askbool (help "MagicWB is a collection of background patterns and icons, providing a very nice 8-coloured Workbench. You can install icons especially designed for MagicWB.") (prompt "Do you use 'MagicWB'?"))
  849.      (
  850.      (copyfiles
  851.          (prompt "Copying icons...")
  852.          (source "MToolIcons/MWB")
  853.          (pattern "(~MT)#?.info")
  854.          (dest icondest)
  855.      )
  856.      (copyfiles
  857.          (source "MToolIcons/MWB/MTool.info")
  858.          (dest progdest)
  859.      )
  860.      (copyfiles
  861.          (source "MToolIcons/MWB/MI.info")
  862.          (dest progdest)
  863.      )
  864.      (copyfiles
  865.          (source "MToolIcons/MWB/MTPrefs.info")
  866.          (dest "SYS:Prefs")
  867.          (newname "MTool.info")
  868.      )
  869.      )
  870.      (
  871.      (copyfiles
  872.          (prompt "Copying icons...")
  873.          (source "MToolIcons")
  874.          (pattern "#?.info")
  875.          (dest icondest)
  876.      )
  877.      )
  878.      )
  879.  )
  880.  )
  881.  
  882.  (complete 80)
  883.  
  884.  (if (askbool (help "The docs iclude two AmigaGuide documents and a history file.") (prompt "Do you want to install the docs?"))
  885.  (
  886.      (set docdest
  887.          (askdir
  888.               (prompt "Please select a drawer for the docs.")
  889.               (help "It doesn't matter where you put the docs, if you manage to refind them...")
  890.               (default (tackon progdest "Docs"))
  891.               (newpath)
  892.          )
  893.      )
  894.      (copyfiles
  895.          (prompt "Copying Docs...")
  896.          (source "Docs")
  897.          (pattern "#?_GB.#?")
  898.          (infos)
  899.          (dest docdest)
  900.      )
  901.  )
  902.  )
  903.  
  904.  (complete 90)
  905.  
  906.  (if (askbool (help "DatMon is useful in hex mode of MI, Fineline 11 is used in MTools about requester.") (prompt "Do you want to install the fonts?"))
  907.  (
  908.      (set fontdest
  909.          (askdir
  910.              (prompt "Please select a drawer for the fonts.")
  911.              (help "If you didn't 'assign add' another font drawer, you shouldn't tuch this default setting.")
  912.              (default "Fonts:")
  913.              (newpath)
  914.          )
  915.      )
  916.      (copyfiles
  917.          (prompt "Copying fonts...")
  918.          (source "Fonts")
  919.          (dest fontdest)
  920.          (pattern "#?")
  921.      )
  922.  )
  923.  )
  924.  
  925.  (complete 99)
  926.  )
  927. )
  928.  
  929. (if (= locale 5)
  930.  (
  931.  (message "\n IMPORTANT NOTE:\n\n"
  932.           "This programm installs MTool and MI on your Amiga. If you don't understand one of the questions that show up during installation, please select the 'help...' button. You will be instructed then about the next step and what it's good for."
  933.  )
  934.  
  935.  (set progdest
  936.      (askdir
  937.          (prompt "Please select a drawer for MTool.")
  938.          (help "MTool and MI will be copied to this drawer.")
  939.          (default "SYS:Tools")
  940.          (newpath)
  941.      )
  942.  )
  943.  
  944.  (set @default-dest progdest)
  945.  
  946.  (copyfiles
  947.      (prompt "Copying MTool...")
  948.      (source "MTool")
  949.      (infos)
  950.      (dest progdest)
  951.  )
  952.  
  953.  (complete 20)
  954.  
  955.  (copyfiles
  956.      (prompt "Copying MTPrefs...")
  957.      (source "Prefs/MTool")
  958.      (infos)
  959.      (dest "SYS:Prefs")
  960.  )
  961.  
  962.  (complete 30)
  963.  
  964.  (copyfiles
  965.      (prompt "Copying MI...")
  966.      (source "MI")
  967.      (infos)
  968.      (dest progdest)
  969.  )
  970.  
  971.  (complete 45)
  972.  
  973.  (if (= (exists "ENVARC:MTool/MTool.Prefs") FALSE )
  974.  (
  975.      (makedir "ENVARC:MTool")
  976.      (makedir "ENV:MTool")
  977.  
  978.      (copyfiles
  979.          (prompt "Copying example prefs file...")
  980.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  981.          (dest "ENVARC:MTool")
  982.      )
  983.      (copyfiles
  984.          (source "Prefs/Env-Archive/MTool/MTool.Prefs")
  985.          (dest "ENV:MTool")
  986.      )
  987.  )
  988.  )
  989.  
  990.  (complete 60)
  991.  
  992.  (if (> ver 37)
  993.      (if (exists "Locale:Catalogs/svenska")
  994.      (
  995.          (if (askbool (help "If you selected svenska as default language and install these files, MTool and MI will show up with a Swedish user interface.") (prompt "Do you want to install the Swedish locale files?"))
  996.          (
  997.              (copyfiles
  998.                  (prompt "Installing Swedish Catalogs")
  999.                  (source "Catalogs/svenska")
  1000.                  (pattern "#?")
  1001.                  (dest "Locale:Catalogs/svenska")
  1002.              )
  1003.          )        
  1004.          )
  1005.      )
  1006.      )
  1007.  )
  1008.  
  1009.  (if (askbool (help "The helpfile offers a help function while running MI.") (prompt "Do you want to install the helpfile for MI?"))
  1010.  (
  1011.      (copyfiles
  1012.          (prompt  "Copying helpfile:...")
  1013.          (source  "MI_S.help")
  1014.          (dest    "ENVARC:")
  1015.          (newname "MI.help")
  1016.      )
  1017.  )
  1018.  )
  1019.  
  1020.  (complete 70)
  1021.  
  1022.  (if (askbool (help "The icons will be used in MTool to create icons for files according to their type. This feature is disabled in the unregistered version.") (prompt "Do you want to install the icons?"))
  1023.  (
  1024.      (set icondest
  1025.          (askdir
  1026.               (prompt "Please select a drawer for the icons.")
  1027.               (help "The example prefs file expects the icons in the default drawer.")
  1028.               (default (tackon progdest "MToolIcons"))
  1029.               (newpath)
  1030.          )
  1031.      )
  1032.  
  1033.      (if (askbool (help "MagicWB is a collection of background patterns and icons, providing a very nice 8-coloured Workbench. You can install icons especially designed for MagicWB.") (prompt "Do you use 'MagicWB'?"))
  1034.      (
  1035.      (copyfiles
  1036.          (prompt "Copying icons...")
  1037.          (source "MToolIcons/MWB")
  1038.          (pattern "(~MT)#?.info")
  1039.          (dest icondest)
  1040.      )
  1041.      (copyfiles
  1042.          (source "MToolIcons/MWB/MTool.info")
  1043.          (dest progdest)
  1044.      )
  1045.      (copyfiles
  1046.          (source "MToolIcons/MWB/MI.info")
  1047.          (dest progdest)
  1048.      )
  1049.      (copyfiles
  1050.          (source "MToolIcons/MWB/MTPrefs.info")
  1051.          (dest "SYS:Prefs")
  1052.          (newname "MTool.info")
  1053.      )
  1054.      )
  1055.      (
  1056.      (copyfiles
  1057.          (prompt "Copying icons...")
  1058.          (source "MToolIcons")
  1059.          (pattern "#?.info")
  1060.          (dest icondest)
  1061.      )
  1062.      )
  1063.      )
  1064.  )
  1065.  )
  1066.  
  1067.  (complete 80)
  1068.  
  1069.  (if (askbool (help "The docs iclude two AmigaGuide documents and a history file.") (prompt "Do you want to install the docs?"))
  1070.  (
  1071.      (set docdest
  1072.          (askdir
  1073.               (prompt "Please select a drawer for the docs.")
  1074.               (help "It doesn't matter where you put the docs, if you manage to refind them...")
  1075.               (default (tackon progdest "Docs"))
  1076.               (newpath)
  1077.          )
  1078.      )
  1079.      (copyfiles
  1080.          (prompt "Copying Docs...")
  1081.          (source "Docs")
  1082.          (pattern "#?_S.#?")
  1083.          (infos)
  1084.          (dest docdest)
  1085.      )
  1086.      (copyfiles
  1087.          (prompt "Copying Docs...")
  1088.          (source "Docs")
  1089.          (pattern "#?_GB.#?")
  1090.          (infos)
  1091.          (dest docdest)
  1092.      )
  1093.  )
  1094.  )
  1095.  
  1096.  (complete 90)
  1097.  
  1098.  (if (askbool (help "DatMon is useful in hex mode of MI, Fineline 11 is used in MTools about requester.") (prompt "Do you want to install the fonts?"))
  1099.  (
  1100.      (set fontdest
  1101.          (askdir
  1102.              (prompt "Please select a drawer for the fonts.")
  1103.              (help "If you didn't 'assign add' another font drawer, you shouldn't tuch this default setting.")
  1104.              (default "Fonts:")
  1105.              (newpath)
  1106.          )
  1107.      )
  1108.      (copyfiles
  1109.          (prompt "Copying fonts...")
  1110.          (source "Fonts")
  1111.          (dest fontdest)
  1112.          (pattern "#?")
  1113.      )
  1114.  )
  1115.  )
  1116.  
  1117.  (complete 99)
  1118.  )
  1119. )
  1120.  
  1121. (exit)
  1122.