home *** CD-ROM | disk | FTP | other *** search
/ Merciful 3 / Merciful_Release_3.bin / software / n / new_icons / newiconsv2.0.lha / NewIconsV2 / Install / Update_NewIcons_ita < prev    next >
Text File  |  1996-02-02  |  4KB  |  179 lines

  1. ; NewIcons Installer Script
  2. ; $Ver: 38.3 (8-Jan-95)
  3. ; Written by Philip A. Vedovatti
  4. ; for Program Author Nicola Salmoria,
  5. ; with many thanks for his fine programming work.
  6. ; Italian translation by Giacomo Magnini
  7.  
  8. (set @default-dest "SYS:C")
  9.  
  10. (set #bad-kick
  11.    (cat "\n\nSpiacente! Devi avere il Workbench 2.0"
  12.         "o superiore per usare questo pacchetto."))
  13.  
  14. (set #hello-message
  15.    (cat "\n\nBENVENUTO UTENTE NEWICONS!"
  16.         "\n\nSe non hai una precedente versione di NewIcons"
  17.         "\nE di Deficons installata, annulla questo script"
  18.         "\ned esegui invece lo script Install_NewIcons."
  19.         "\n\nQuesta installazione è per aggiornare tutti i"
  20.         "\npatch NewIcons/Deficons e le utility relative."
  21.         "\n\nSE ATTUALMENTE HAI GIA' INSTALLATI NEWICONS E"
  22.         "\nDEFICONS SUL TUO SISTEMA, PROCEDI OLTRE."))
  23.  
  24. (set #install-which
  25.    (cat "\nQuali parti del sistema NewIcons vuoi aggiornare?\n"))
  26.  
  27. (set #install-library
  28.    (cat "\n\nInstallo la newicon.library in LIBS:."))
  29.  
  30. (set #install-library-help
  31.    (cat "\n\nQuesta libraria è necessaria per usare"
  32.         "\nNewIcons."))
  33.  
  34. (set #install-newicons
  35.    (cat "\n\nCopio i principali file NewIcons in C:"))
  36.  
  37. (set #install-newicons-help
  38.    (cat "\n\nQuesta parte installa NewIcons, Injectbrush"
  39.         "\ne PatchOpenWB nella tua directory C:."))
  40.  
  41. (set #tools-dest
  42.    (cat "\nIn quale cassetto vuoi installare le"
  43.         "\nutility di manipolazione NewIcons?\n"))
  44.  
  45. (set #install-deficons
  46.    (cat "\n\nInstallo il demone DefIcons nella tua"
  47.         "\ndirectory C:, e copio il brainfile DefIcons"
  48.         "\nnella tua directory ENVARC:Sys."))
  49.  
  50. (set #install-deficons-help
  51.    (cat "\nQuesta parte installa il programma Deficons"
  52.         "\ne copia il necessario def_icons.prefs nella"
  53.         "\ntua directory ENVARC:."))
  54.  
  55. (set #exit-message
  56.    (cat "Per favore riavvia il sistema per attivare\n"
  57.         "del tutto i sistemi NewIcons e Deficons."
  58.         "\n\n\nSperiamo che questo aggiornamento ti piaccia!"))
  59.  
  60. (set #docs-dest
  61.    (cat "Dove vuoi che la documentazione Guida di"
  62.         "\nNewIcons venga installata?"))
  63.  
  64. ; ------------------------------
  65. ; Check Kickstart Version
  66. ; ------------------------------
  67.  
  68.  (if (< (getversion "LIBS:version.library") (* 37 65536))
  69.         (abort #bad-kick)
  70.  )
  71.  
  72. (message #hello-message)
  73.  
  74. ; ------------------------------
  75. ; Install NewIcon.library
  76. ; ------------------------------
  77.  
  78. (copylib
  79.       (source "/libs/newicon.library")
  80.       (dest "libs:")
  81.       (prompt #install-library)
  82.       (help #install-library-help)
  83.       (confirm)
  84. )
  85.  
  86. ;-------------------------------------------------------
  87. ;Install icon images, NewIcons, and icon support files
  88. ;-------------------------------------------------------
  89.  
  90.  
  91.  
  92.    (copylib
  93.       (prompt #install-newicons)
  94.       (source "/C/NewIcons")
  95.       (dest "c:")
  96.       (help #install-newicons-help)
  97.    )
  98.  
  99.    (copylib
  100.       (source "/C/InjectBrush")
  101.       (dest "c:")
  102.    )
  103.  
  104.    (copylib
  105.       (source "/C/PatchOpenWB")
  106.       (dest "c:")
  107.    )
  108.  
  109.  
  110.    (set destdir
  111.       (askdir
  112.             (prompt #tools-dest)
  113.             (help @askdir-help)
  114.             (default "Sys:Utilities")
  115.       )
  116.    )
  117.  
  118.    (copyfiles
  119.       (source "/Utilities/CopyNewIcon")
  120.       (dest destdir)
  121.       (infos)
  122.    )
  123.  
  124.    (copyfiles
  125.       (source "/Utilities/CreateDefaultIcon")
  126.       (dest destdir)
  127.       (infos)
  128.    )
  129.  
  130.    (copyfiles
  131.       (source "/Utilities/KillNewIcon")
  132.       (dest destdir)
  133.       (infos)
  134.    )
  135.  
  136.  
  137.  
  138.  
  139.  
  140. ;------------------------------
  141. ;Install Deficons
  142. ;------------------------------
  143.  
  144.  
  145.    (copylib
  146.       (prompt #install-deficons)
  147.       (source "/C/DefIcons")
  148.       (dest "C:")
  149.       (help #install-deficons-help)
  150.       (confirm)
  151.    )
  152.  
  153.    (copyfiles
  154.       (source "/envarc/deficons.prefs")
  155.       (dest "ENVARC:")
  156.    )
  157.  
  158.  
  159. ;------------------------------
  160. ;Install Documentation
  161. ;------------------------------
  162.  
  163.  
  164.    ((set destdir
  165.       (askdir
  166.             (prompt #docs-dest)
  167.             (help @askdir-help)
  168.             (default "Help:")
  169.       )
  170.     )
  171.     (copyfiles
  172.       (source "/NewIcons.guide")
  173.       (dest destdir)
  174.       (infos)
  175.     )
  176.    )
  177.  
  178.  
  179. (exit #exit-message)