home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / MAXONNOG2NOGURU.DMS / in.adf / Install_NOG2 / install_NOG2 < prev    next >
Encoding:
Text File  |  1993-01-21  |  5.9 KB  |  330 lines

  1. ;=============================================================================
  2. ;
  3. ; NOG2 installation script for AmigaDOS 2.0 or higher.
  4. ;
  5. ; NOG2 v2.94
  6. ;
  7. ; (german and english)
  8. ;
  9. ;=============================================================================
  10.  
  11.  
  12.  
  13.  
  14. (complete 0)
  15.  
  16. ;=============================================================================
  17. ; German strings
  18. ;
  19. ;(if (=@language "deutsch")
  20. ;(
  21.  
  22. (set #introduction
  23. (cat "\n\nDieses Programm installiert Ihnen NOG2."
  24.      "Es kann verwendet werden um eine aeltere NOG2 Version zu updaten oder"
  25.      "fuer eine Neuinstalation.")
  26. )
  27.  
  28. (set #dest_dir
  29. (cat "In welchem Ordner oder Diskette wollen Sie NOG2 installiert haben?")
  30. )
  31.  
  32. (set #where_dir
  33. (cat "Wo kann ich die zu installierende NOG2 Version finden?")
  34. )
  35.  
  36. (set #copy_nog2
  37. (cat "Kopiere NOG2...")
  38. )
  39.  
  40. (set #copy_iff
  41. (cat "Soll ich die 'iff.library' ebenfalls kopieren?")
  42. )
  43.  
  44. (set #iff_note
  45. (cat "NOG2 braucht die iff.library nur fuer die 'GrabView' Funktion.")
  46. )
  47.  
  48. (set #script_copy
  49. (cat "Soll ich das 'NOG2.script' ebenfalls kopieren?")
  50. )
  51.  
  52. (set #script_note
  53. (cat "NOG2 braucht das Scriptfile nur fuer die 'Script' Funktion"
  54.      " des Traphandlers. Sie koennen aber selbst einsolches erzeugen"
  55.      " mit Hilfe eines Texteditors."
  56.      "\n(Sehen Sie im Handbuch nach fuer weiter Informationen)")
  57. )
  58.  
  59. (set #guru_copy
  60. (cat "Soll ich die 'guru' Files, guru1 - guru8, ebenfalls kopieren?")
  61. )
  62.  
  63. (set #guru_note
  64. (cat "Sie koennen die 'guru' Files verwenden um den Umgang mit NOG2"
  65.      " zu ueben. Doch sie werden von NOG2 sonst nicht gebraucht."
  66.      "\nBevor sie die Files anwenden, nehmen Sie bitte das Handbuch"
  67.      " zu rate!")
  68. )
  69.  
  70. (set #copying_guru
  71. (cat "Kopiere die 'guru' Files...")
  72. )
  73.  
  74. (set #copy_sim
  75. (cat "Wollen Sie den S.I.M. auch noch kopiert haben?")
  76. )
  77.  
  78. (set #copying_sim
  79. (cat "Kopiere SIM...")
  80. )
  81.  
  82. (set #sim_note
  83. (cat "S.I.M. - System Independend Monitor\n"
  84.      "Hierbei handelt es sich um ein Monitor System, das von NOG2 aktiv"
  85.      " unterstuetzt wird.\n"
  86.      "Fuer weitere Informationen schauen Sie im Handbuch nach.")
  87. )
  88.  
  89. (set #copy_docs
  90. (cat "Welche Dokumentationen zum S.I.M. soll ich kopieren?")
  91. )
  92.  
  93. (set #doc_note
  94. (cat "SIM.doc\n"
  95.      "Das Handbuch zum S.I.M., sollte umbedingt gelesen werden bevor Sie"
  96.      " den S.I.M benutzen.\n\n\n"
  97.      "SIM.specialdoc\n"
  98.      "Ist eine Zusammenstellung/Liste aller S.I.M. Befehle.")
  99. )
  100.  
  101. (set #yes
  102. (cat "Ja")
  103. )
  104.  
  105. (set #no
  106. (cat "Nein")
  107. )
  108.  
  109.  
  110. ;))
  111.  
  112. ;=============================================================================
  113. ; English strings
  114. ;
  115. (if (= @language "english")
  116. (
  117.  
  118. (set #introduction
  119. (cat "\n\nThis program lets you install NOG2 on a hard drive or disk."
  120.      " It can be used to upgrade an older release or to intsall from scratch.")
  121. )
  122.  
  123. (set #dest_dir
  124. (cat "In which disk or drawer should NOG2 be installed?")
  125. )
  126.  
  127. (set #where_dir
  128. (cat "Where can I find the uninstalled NOG2?")
  129. )
  130.  
  131. (set #copy_nog2
  132. (cat "Copying NOG2...")
  133. )
  134.  
  135. (set #copy_iff
  136. (cat "Should I copy the iff.library?")
  137. )
  138.  
  139. (set #iff_note
  140. (cat "Note that NOG2 needs this library only for the 'GrabView' function.")
  141. )
  142.  
  143. (set #script_copy
  144. (cat "Should the 'NOG2.script' also be copied?")
  145. )
  146.  
  147. (set #script_note
  148. (cat "Note that NOG2 needs the script file for the traphandler 'Script' function."
  149.      " You may generate another new script using a texteditor and put the script"
  150.      " into the 's:' directory."
  151.      "\n(Refer to the manual for more information)")
  152. )
  153.  
  154. (set #guru_copy
  155. (cat "Should I also copy the guru files (guru1 - guru8)?")
  156. )
  157.  
  158. (set #guru_note
  159. (cat "You may use this guru files to generate system crashes to practise"
  160.      " the use of NOG2."
  161.      "\nPlease refer to the manual before using them.")
  162. )
  163.  
  164. (set #copying_guru
  165. (cat "Copying 'guru' files...")
  166. )
  167.  
  168. (set #copy_sim
  169. (cat "Do you want to have the SIM copied to the disk/drawer?")
  170. )
  171.  
  172. (set #copying_sim
  173. (cat "Copying SIM...")
  174. )
  175.  
  176. (set #sim_note
  177. (cat "S.I.M. - System Independend Monitor\n"
  178.      "It's a monitor system which is supported by NOG2.\n"
  179.      "Refer to the manual for more information.")
  180. )
  181.  
  182. (set #copy_docs
  183. (cat "Select the documentation to be copied:")
  184. )
  185.  
  186. (set #doc_note
  187. (cat "SIM.doc\n"
  188.      "The manual for S.I.M., please read it before using S.I.M.\n\n\n"
  189.      "SIM.specialdoc\n"
  190.      "It's a short command overview for S.I.M.")
  191. )
  192.  
  193. (set #yes
  194. (cat "Yes")
  195. )
  196.  
  197. (set #no
  198. (cat "No")
  199. )
  200.  
  201. ))
  202.  
  203. ;=============================================================================
  204.  
  205. (message #introduction)
  206. (welcome)
  207.  
  208.  
  209. (set NOG2Name
  210.     (tackon
  211.         (askdir
  212.             (prompt #dest_dir)
  213.             (help @askdir-help)
  214.             (default @default-dest)
  215.         )
  216.         ""
  217.     )
  218. )
  219.  
  220. (set SourceName "NOG2:" )
  221.  
  222.  
  223.  
  224. (complete 30)
  225. (set @default-dest NOG2Name)
  226.  
  227. (copyfiles
  228.     (prompt #copy_nog2)
  229.     (help @copyfiles-help)
  230.     (source (tackon SourceName ""))
  231.     (dest (tackon NOG2Name ""))
  232.     (choices "NOG2")
  233.     (infos)
  234. )
  235.  
  236.  
  237.  
  238. (complete 50)
  239. (copylib
  240.     (prompt #copy_iff)
  241.     (help #iff_note)
  242.     (source    (tackon SourceName "libs/iff.library"))
  243.     (dest "libs:")
  244.     (confirm)
  245. )    
  246.  
  247.  
  248.  
  249. (complete 57)
  250. (copyfiles
  251.     (prompt #script_copy)
  252.     (help #script_note)
  253.     (source    (tackon SourceName "s/nog2.script"))
  254.     (dest "s:" )
  255.     (confirm)
  256. )    
  257.  
  258.  
  259.  
  260. (complete 65)
  261. (set guru_answer
  262.     (askbool
  263.         (prompt #guru_copy)
  264.         (help #guru_note)
  265.         (default 0)
  266.     )
  267. )
  268.  
  269.  
  270.  
  271. (complete 70)
  272. (if guru_answer
  273. (    
  274.         (copyfiles
  275.             (prompt #copying_guru)
  276.             (help @copyfiles-help)
  277.             (source (tackon SourceName "Gurus"))
  278.             (dest (tackon NOG2Name "Gurus"))
  279.             (choices "LIES_MICH" "guru1" "guru2" "guru3" "guru4" "guru5" "guru6" "guru7" "guru8")
  280.             (infos)
  281.         )
  282.     
  283. ))
  284.  
  285.  
  286.  
  287. (complete 80)
  288.  
  289. (set answer_sim
  290.     (askchoice
  291.         (prompt #copy_sim)
  292.         (help #sim_note)
  293.         (choices #yes #no)
  294.         (default 1)
  295.     )
  296. )
  297.  
  298.  
  299.  
  300. (complete 85)
  301. (if (not answer_sim)
  302. (
  303.     (copyfiles
  304.         (prompt #copying_sim)
  305.         (help #sim_note)
  306.         (source (tackon SourceName "SIM"))
  307.         (dest "c:" )
  308.         (confirm)
  309.     )
  310.  
  311.  
  312.     (complete 90)
  313.     (copyfiles
  314.         (prompt #copy_docs)
  315.         (help #doc_note)
  316.         (source (tackon SourceName ""))
  317.         (dest (tackon NOG2Name ""))
  318.         (choices "SIM.doc" "SIM.specialdoc")
  319.         (confirm)
  320.         (infos)
  321.     )
  322. ))
  323.  
  324.  
  325. (complete 100)
  326. (exit)
  327.  
  328. ;=============================================================================
  329.  
  330.