home *** CD-ROM | disk | FTP | other *** search
/ World of A1200 / World_Of_A1200.iso / programs / system / bootscreen / upgrade < prev    next >
Text File  |  1995-02-27  |  2KB  |  96 lines

  1. ; Upgrade script for BootScreen
  2. ; Copyright ©1994 by Joseph Luk, all rights reserved.
  3. ; $VER: BootScreen 2.2, BootScreenClose 2.00, BootScreen Prefs 2.1
  4.  
  5. (set #PRGVersion 
  6.    ("2.2")
  7. )
  8.  
  9.  
  10. (welcome 
  11.    ("This procedure is for users of older BootScreen versions.  It will automatically remove old files and prepare you for BootScreen ")
  12.    (#PRGVersion)
  13.    ("!\n\nThe recommended user level is \"Intermediate\".")
  14. )
  15.  
  16. (set @default-dest "SYS:")
  17.  
  18. (set #choice
  19.    (askchoice
  20.       (prompt "Please select which version you are upgrading from:")
  21.       (help @askchoice-help)
  22.       (choices
  23.          ("BootScreen 2.1    (11-Feb-94) ")
  24.          ("BootScreen 2.00   (04-Feb-94) ")
  25.          ("BootScreen 1.x (1.00, 1.01) ")
  26.          ("BootScreen37 1.x");
  27.       )
  28.    )
  29. )
  30.  
  31. (select #choice
  32.    (
  33.       (copyfiles
  34.          (prompt "Upgrading BootScreen program")
  35.          (help @copyfiles-help)
  36.          (source "bin/c/BootScreen")
  37.          (dest "C:")
  38.       )
  39.       (message
  40.          "All done!\n\n"
  41.          "BootScreen "
  42.          #PRGVersion
  43.          " has now been installed.  You do not need to run the Install script.\n\n"
  44.          "Documentation on changes can be found in the \"Release History\" section of the BootScreen.readme file."
  45.       )
  46.       (exit)
  47.    )
  48.       
  49.       
  50.    (
  51.       (copyfiles
  52.          (prompt "Upgrading BootScreen Preferences")
  53.          (help @copyfiles-help)
  54.          (source "bin/Prefs/BootScreen")
  55.          (dest "SYS:Prefs")
  56.       )
  57.       (copyfiles
  58.          (prompt "Upgrading BootScreen program")
  59.          (help @copyfiles-help)
  60.          (source "bin/c/BootScreen")
  61.          (dest "C:")
  62.       )
  63.       (message
  64.          "All done!\n\n"
  65.          "BootScreen "
  66.          #PRGVersion
  67.          " has now been installed.  You do not need to run the Install script.\n\n"
  68.          "Documentation on changes can be found in the \"Release History\" section of the BootScreen.readme file."
  69.       )
  70.       (exit)
  71.    )
  72.    
  73.    
  74.    (
  75.       (delete "C:BootScreen")
  76.       (run "bin/c/Update1.x")
  77.    )
  78.    
  79.    
  80.    (
  81.       (delete "C:BootScreen37")
  82.       (run "bin/c/Update37")
  83.    )
  84. )
  85.  
  86.  
  87. ; that's it!
  88.  
  89. (set @default-dest "SYS:")
  90.  
  91. (message
  92.    "All done!\n\n"
  93.    "You are now ready to run the main installation procedure.  If you have documentation on your hard disk, make sure to update it too."
  94. )
  95.  
  96. (exit)