home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 127 / af127sub.adf / SystemPrefs.lzx / SystemPrefs / Install next >
Text File  |  1996-09-17  |  2KB  |  92 lines

  1. ; ************************************************
  2. ; *
  3. ; * SystemPrefs - HD Install Script
  4. ; *
  5. ; * $VER: Install-System 1.30
  6. ; *
  7. ; * Script written by Richard Körber
  8. ; *
  9. ; ************************************************
  10.  
  11.  
  12. (set ToolSource         "System")
  13. (set CLIToolSource      "C/SysPrefs")
  14. (set LangSource         "Catalogs/")
  15. (set LibSource1         "Libs/provision.library")
  16. (set LibSource2         "Libs/reqtools.library")
  17. (set LibSource3         "Libs/identify.library")
  18.  
  19. (set CopyLib1Prompt     "Copy provision.library?")
  20. (set CopyLib2Prompt     "Copy reqtools.library?")
  21. (set CopyLib3Prompt     "Copy identify.library?")
  22. (set ToolDirPrompt      "Copy System to...?")
  23. (set CLIDirPrompt       "Copy SysPrefs to...?")
  24. (set ToolCopyPrompt     "Copying System...")
  25. (set CLICopyPrompt      "Copying SysPrefs...")
  26. (set LangCopyPrompt     "Copying locale files...")
  27.  
  28.  
  29. (set ToolDir (askdir
  30.         (prompt ToolDirPrompt)
  31.         (help   @askdir-help)
  32.         (default "SYS:Prefs/")
  33. ))
  34.  
  35. (set CLIToolDir (askdir
  36.         (prompt CLIDirPrompt)
  37.         (help   @askdir-help)
  38.         (default "SYS:C/")
  39. ))
  40.  
  41. (copyfiles
  42.         (prompt ToolCopyPrompt)
  43.         (help   @copyfiles-help)
  44.         (source ToolSource)
  45.         (dest   ToolDir)
  46.         (infos)
  47. )
  48.  
  49. (copyfiles
  50.         (prompt CLICopyPrompt)
  51.         (help   @copyfiles-help)
  52.         (source CLIToolSource)
  53.         (dest   CLIToolDir)
  54. )
  55.  
  56. (copyfiles
  57.         (prompt LangCopyPrompt)
  58.         (help   @copyfiles-help)
  59.         (source LangSource)
  60.         (dest   "LOCALE:catalogs")
  61.         (choices "Deutsch" "Français" "Italiano" "Svenska")
  62.         (confirm)
  63. )
  64.  
  65. (copylib
  66.         (prompt CopyLib1Prompt)
  67.         (help   @copylib-help)
  68.         (source LibSource1)
  69.         (dest   "LIBS:")
  70.         (confirm)
  71. )
  72.  
  73. (copylib
  74.         (prompt CopyLib2Prompt)
  75.         (help   @copylib-help)
  76.         (source LibSource2)
  77.         (dest   "LIBS:")
  78.         (confirm)
  79. )
  80.  
  81. (copylib
  82.         (prompt CopyLib3Prompt)
  83.         (help   @copylib-help)
  84.         (source LibSource3)
  85.         (dest   "LIBS:")
  86.         (confirm)
  87. )
  88.  
  89. (message "Please add the following line\ninto s:startup-sequence:\n\n"
  90. "  SysPrefs >NIL: \n\n"
  91. "Just before 'IPrefs' is the best place.")
  92.