home *** CD-ROM | disk | FTP | other *** search
/ Aminet 10 / aminetcdnumber101996.iso / Aminet / util / misc / mhsutil3.lha / MultiStartup / Install < prev    next >
Text File  |  1995-08-19  |  1KB  |  50 lines

  1. : Installing 'MultiStartup' startup sequence
  2. .
  3. ?0Y Do you wish use the supplied 'startup-sequence'
  4. @0N
  5. .
  6.  
  7.  
  8. %F1c:MultiStartup
  9. >1Yfindold
  10. . NOTE: 'MultiStartup' is required to use this new startup sequence.
  11. ?1Y Do you wish to install 'MultiStartup' now
  12. @1N
  13. !1Y*Copy "($CD)MultiStartup" c:
  14.  
  15. findold:
  16. %F1s:startup-sequence_original
  17. >1Ncopynew
  18. ?1Y WARNING: Delete current 'startup-sequence_original'
  19. >1Nalldone
  20. *Delete s:startup-sequence_original
  21. %F1s:startup-sequence_original
  22. >1Ncopynew
  23. . ERROR!  I Could not delete 's:startup-sequence_original'.
  24. . The Installation has failed!
  25. %W4
  26. >JPalldone
  27.  
  28. copynew:
  29. *Rename s:startup-sequence s:startup-sequence_original
  30. %F1s:startup-sequence_original
  31. >1Ycopynewpart2
  32. . ERROR!  I Could not RENAME your current 's:startup-sequence' as
  33. . 's:startup-sequence_original'.  The Installation has failed!
  34. %W4
  35. >JPalldone
  36.  
  37. copynewpart2:
  38. *Copy "($CD)startup-sequence" s:
  39. %F1s:startup-sequence
  40. >1Yalldone
  41. . ERROR!  I Could not COPY the supplied 'startup-sequence' as
  42. . 's:startup-sequence'.  The Installation has failed!
  43. *Copy s:startup-sequence_original s:startup-sequence
  44. %W4
  45.  
  46. alldone:
  47. %^0
  48. .
  49. . Installation is complete!
  50.