home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 113 / EnigmaAmiga113CD.iso / software / utilities / mcxprefs / install_mcxprefs next >
Text File  |  2000-05-31  |  2KB  |  87 lines

  1. ; $VER: 2.0 (29.05.2000)
  2. ; Daniel Pimley
  3.  
  4. (trace)
  5. (complete 0)
  6. (set #mcxprefs(askdir(prompt "Select the location for MCXPrefs")
  7.   (help "The preference program will be installed to this location.")
  8.   (default "SYS:Prefs/")
  9.   (back (retrace))
  10. ))
  11.  
  12. (trace)
  13. (complete 10)
  14. (set #online_language
  15.   (askoptions
  16.   (prompt ("Install which amigaguide sets?"))
  17.   (help "Installation of the amigaguide set is recommended. The destination is the HELP assign, which is normally SYS:Locale/Help.")
  18.   (choices "English guide" "Deutsch guide")
  19.   (default 1)
  20.   (back (retrace))
  21. ))
  22.  
  23. (trace)
  24. (complete 20)
  25. (set #catalog_language
  26.   (askbool
  27.   (prompt ("Install German catalog?"))
  28.   (help "Installation of catalogs is optional. The destination is LOCALE:")
  29.   (back (retrace))
  30. ))
  31.  
  32. (trace)
  33. (complete 30)
  34. (set #mcx(askfile(prompt "Select MultiCX")
  35.   (help "MCXPrefs will be configured to use the file you select.")
  36.   (default "SYS:WBStartup/MultiCX")
  37.   (back (retrace))
  38. ))
  39.  
  40. (trace)
  41. (complete 40)
  42. (set #basever "44")
  43. (set #wbverrev (getversion "Libs:workbench.library"))
  44. (set #wbver (/ #wbverrev 65536))
  45. (set #wbrev (- #wbverrev (* #wbver 65536)))
  46.  
  47. (complete 50)
  48.  
  49. (if (< #wbver #basever)
  50. (copylib
  51.   (prompt ("Install WBStart-Handler?"))
  52.   (help "WBStart-Handler must be installed on Amigas not using workbench.library 44 or higher.")
  53.   (source ("L/WBStart-Handler"))
  54.   (dest "L:")
  55.   (confirm)
  56.   (back (retrace))
  57. ))
  58.  
  59. (complete 60)
  60.  
  61. (copyfiles (source "MCXPrefs") (dest #mcxprefs) (infos) (nogauge))
  62.  
  63. (complete 70)
  64.  
  65. (tooltype (settooltype "MCX_LOCATION" #mcx) (dest (tackon #mcxprefs "MCXPrefs")))
  66.  
  67. (complete 80)
  68.  
  69. (if #catalog_language
  70. ((copyfiles (source "Locale/Catalogs/Deutsch/mcxprefs.catalog")
  71.  (dest "LOCALE:Catalogs/Deutsch/") (nogauge))
  72. ))
  73.  
  74. (if (IN #online_language 0)
  75. ((copyfiles (source "Locale/Help/English/mcxprefs.guide")
  76.  (dest "HELP:English/") (infos) (nogauge))
  77. ))
  78.  
  79. (if (IN #online_language 1)
  80. ((copyfiles (source "Locale/Help/Deutsch/mcxprefs.guide")
  81.  (dest "HELP:deutsch/") (infos) (nogauge))
  82. ))
  83.  
  84. (complete 100)
  85.  
  86. (exit 'Installation complete!\n\nMCXPrefs Copyright © 1998-2000 Richard West and Daniel Pimley.\nAn application by Micro Design\n\nThis is a MUI application\nMUI Copyright © 1993-1997 Stefan Stuntz\n\nThe software is supplied "as is" and comes with absolutely no warranty either expressed or implied.' (quiet))
  87.