home *** CD-ROM | disk | FTP | other *** search
/ Dream 45 / Amiga_Dream_45.iso / Amiga / Workbench / demarrage / StartupPlus.lha / StartupPlus_1.52 / Setup < prev    next >
AmigaDOS Script File  |  1997-10-06  |  1KB  |  58 lines

  1. .key DUMMY
  2. .bra {
  3. .ket }
  4.  
  5. Failat 21
  6.  
  7. IF Exists sys:WBStartup
  8.   If Exists sys:WBStartup/StartupPlus
  9.     Echo ""
  10.     Echo "StartupPlus Already Installed"
  11.     Echo ""
  12.     Echo "Do you wish to continue installing StartupPlus v1.52?"
  13.     Ask  "[y/n]"
  14.  
  15.     If warn
  16.       Echo ""
  17.       Echo "Your orignal icons will not be affected"
  18.       Copy WBStartup/StartupPlus SYS:WBStartup/StartupPlus ALL
  19.       Copy Prefs/SUPPrefs SYS:Prefs/SUPPrefs ALL
  20.       Copy Docs/#? sys:Locale/English ALL
  21.       Copy Libs/#? Libs:
  22.       Copy Env/ ENV:
  23.       Copy Env/ ENVARC:
  24.     EndIf
  25.   EndIF
  26.  
  27. ELSE
  28.   Echo ""
  29.   Echo "To use StartupPlus as a WBStartup Manager the drawer WBStartupPlus"
  30.   Echo "must be present on your SYS: drive!"
  31.   Echo ""
  32.   Echo "Do you wish to Install StartupPlus as your WBStartup Manager?"
  33.   Ask  "[y/n]"
  34.  
  35.   If warn
  36.     Echo ""
  37.     Echo "Installing StartupPlus v1.52"
  38.     Copy WBStartup/ SYS:WBStartup ALL
  39.     Copy WBStartup.info SYS: ALL
  40.     Copy Prefs/ SYS:Prefs ALL
  41.     Copy Docs/#? sys:Locale/English ALL
  42.     Copy Libs/#? Libs:
  43.     Copy Env/ ENV:
  44.     Copy Env/ ENVARC:
  45.     EndIf
  46.   EndIf
  47.  
  48. Echo ""
  49. Echo "Do you wish to edit you startup?"
  50. Ask  "[y/n]"
  51.  
  52. If warn
  53.   SYS:prefs/SUPPrefs
  54.   EndIf
  55.  
  56. Echo ""
  57. Echo "Please read the docs on how to get StartupPlus to work"
  58. Wait 1