home *** CD-ROM | disk | FTP | other *** search
/ World of A1200 / World_Of_A1200.iso / programs / compress / misc / compressdisk / cdinstall next >
Text File  |  1995-02-27  |  1KB  |  51 lines

  1. ; CompressDisk installation program
  2. ; By Raffaele Dell'Aversana (12-Oct-92)
  3. FailAt 20
  4.  
  5. Echo "*nCompressDisk.device installation script*n"
  6.  
  7. Version >NIL: exec.library 37
  8. If WARN
  9.     Echo "You don't have AmigaDOS Release 2 (V37) or higher in ROM."
  10.     Echo "Sorry, you cannot use CompressDisk.device."
  11.     Quit
  12. EndIf
  13.  
  14. Echo "This script will install CompressDisk for you."
  15. Echo "You may select if and where to install the files.*n"
  16.  
  17. If EXISTS DEVS:CompressDisk.device
  18.     Echo "Version of CompressDisk.device already installed:"
  19.     Version DEVS:CompressDisk.device
  20.     Echo ""
  21. EndIf
  22.  
  23. Ask "Install CompressDisk.device 37.14 ?*nThe file will be placed in DEVS:"
  24.  
  25. If WARN
  26.     Copy CompressDisk.device DEVS:
  27.     Echo "CompressDisk.device copied to your DEVS: directory"
  28. EndIf
  29.  
  30. If EXISTS  SYS:Prefs/CDPrefs
  31.     Echo "*nVersion of CDPrefs already installed:"
  32.     Version SYS:Prefs/CDPrefs
  33.     Echo ""
  34. EndIf
  35.  
  36. Ask "Install CDPrefs 37.5?"
  37.  
  38. If WARN
  39.     Copy CDPrefs SYS:Prefs
  40.     Copy CDPrefs.info SYS:Prefs
  41.     Echo "*nCDPrefs + icon copied to SYS:Prefs"
  42. EndIf
  43.  
  44. Echo "*n*nThe device needs to know where to put the compressed tracks"
  45. Echo "Please modify your s:user-startup file, adding the following line"
  46. Echo "*n   Assign CDisk: <path>*n"
  47. Echo "soon after the command *"SetPatch*""
  48. Echo "( <path> is the path of the work directory you have chosen)."
  49. Echo "*nInstallation complete.*n"
  50.  
  51.