home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / PROTEXT4.2.DMS / in.adf / HDINSTALL < prev    next >
Encoding:
Text File  |  1989-05-03  |  1.3 KB  |  41 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-program-disc:c/ask ram:
  7. endif
  8. echo "Protext v4 - Installing on Hard Disc <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-program-disc:#? <drive>protext
  16.   copy >nil: protext-program-disc:drawericon/protext.info <drive>
  17.   echo "Please insert disc 2 (dictionary/utilities) in any drive ..."
  18.   copy >nil: protext-dict-util-disc:#? <drive>protext
  19.   echo "All Protext files updated."
  20.   delete ram:ask
  21.   cd <drive>protext
  22. else
  23.   makedir <drive>protext
  24.   echo "Copying Protext files to <drive>protext"
  25.   copy >nil: protext-program-disc:#? <drive>protext
  26.   copy >nil: protext-program-disc:drawericon/protext.info <drive>
  27.   echo "Please insert disc 2 (dictionary/utilities) in any drive ..."
  28.   copy >nil: protext-dict-util-disc:#? <drive>protext
  29.   if warn
  30.     echo "Error occurred during installation."
  31.     delete ram:ask
  32.     quit
  33.   else
  34.     echo "All Protext files and icons copied onto hard disc."
  35.   endif
  36.   ram:ask "Press a key to continue with configuration ..."
  37.   delete ram:ask
  38.   cd <drive>protext
  39.   config
  40. endif
  41.