home *** CD-ROM | disk | FTP | other *** search
/ Amiga Computing 56 / ac056a.adf / hdinstall < prev    next >
Text File  |  1992-10-20  |  1KB  |  38 lines

  1. .k drive
  2. if "<drive>" eq ""
  3.   echo "Type EXECUTE HDINSTALL [drive]    e.g.   EXECUTE HDINSTALL dh0:"
  4.   quit
  5. endif
  6. copy Protext_4.3_CoverDisk:c/ask ram:
  7. endif
  8. echo "Protext v4 - Installing on Hard Disk <drive>"
  9. if exists <drive>protext
  10.   ram:ask "Protext is already installed. Do you want to update files (y/n)? "
  11.   if not warn
  12.     quit
  13.   endif
  14.   echo "Updating Protext files ..."
  15.   copy >nil: Protext_4.3_CoverDisk:#? <drive>protext
  16.   delete >nil: <drive>protext/preferences#?
  17.   copy >nil: Protext_4.3_CoverDisk:drawericon/protext.info <drive>
  18.   echo "All Protext files updated."
  19.   delete ram:ask
  20.   cd <drive>protext
  21. else
  22.   makedir <drive>protext
  23.   echo "Copying Protext files to <drive>protext"
  24.   copy >nil: Protext_4.3_CoverDisk:#? <drive>protext
  25.   copy >nil: Protext_4.3_CoverDisk:drawericon/protext.info <drive>
  26.   if warn
  27.     echo "Error occurred during installation."
  28.     delete ram:ask
  29.     quit
  30.   else
  31.     echo "All Protext files and icons copied onto hard disk."
  32.   endif
  33.   ram:ask "Press a key to continue with configuration ..."
  34.   delete ram:ask
  35.   cd <drive>protext
  36.   config
  37. endif
  38.