home *** CD-ROM | disk | FTP | other *** search
/ YPA: Your Privacy Assured / YPA.ISO / other_goodies / utilities / cmprdisk.lha / cdisk19b / CDInstall next >
Text File  |  1995-03-17  |  1KB  |  66 lines

  1. ; CompressDisk installation program
  2. ; By Raffaele Dell'Aversana (12-Oct-92)
  3. FailAt 21
  4.  
  5. Echo "*nCompressDisk.device installation script"
  6. Echo "Version 37.36 (Release 1.9B) Registered*n"
  7.  
  8. Version >NIL: exec.library 37
  9. If WARN
  10.     Echo "You don't have AmigaDOS Release 2 (V37) or higher in ROM."
  11.     Echo "Sorry, you cannot use CompressDisk.device."
  12.     Quit
  13. EndIf
  14.  
  15. Echo "This script will install CompressDisk for you."
  16. Echo "You may select if and where to install the files.*n"
  17.  
  18. Set conv 0
  19.  
  20. If EXISTS DEVS:CompressDisk.device
  21.     Echo "Version of CompressDisk.device already installed:"
  22.     Version DEVS:CompressDisk.device 37 33
  23.     If WARN
  24.         set conv 1
  25.     EndIf
  26.     Echo ""
  27. EndIf
  28.  
  29. Ask "Install CompressDisk.device 37.36 ?*nThe file will be placed in DEVS:"
  30.  
  31. If WARN
  32.     Copy CompressDisk.device DEVS:
  33.     Echo "CompressDisk.device copied to your DEVS: directory"
  34. EndIf
  35.  
  36. If EXISTS  SYS:Prefs/CDPrefs
  37.     Echo "*nVersion of CDPrefs already installed:"
  38.     Version SYS:Prefs/CDPrefs
  39.     Echo ""
  40. EndIf
  41.  
  42. Ask "Install CDPrefs 37.13?"
  43.  
  44. If WARN
  45.     Copy CDPrefs SYS:Prefs
  46.  
  47.     If NOT EXISTS SYS:Prefs/CDPrefs.info
  48.         Copy CDPrefs.info SYS:Prefs
  49.     EndIf
  50.  
  51.     Echo "*nCDPrefs + icon copied to SYS:Prefs"
  52. EndIf
  53.  
  54. If $conv GT 0
  55.     Convert
  56. EndIf
  57.  
  58. Echo "*nInstallation complete.*n"
  59.  
  60. If $conv GT 0
  61.     Echo "*nWarning - track reorganization has been performed."
  62.     Echo "Reset your Amiga as soon as possible"
  63.     Echo "Do not access virtual partitions until next system reboot"
  64. EndIf
  65.  
  66.