home *** CD-ROM | disk | FTP | other *** search
- .k drive
- if "<drive>" eq ""
- echo "Type EXECUTE HDINSTALL [drive] e.g. EXECUTE HDINSTALL dh0:"
- quit
- endif
- copy Protext_4.3_CoverDisk:c/ask ram:
- endif
- echo "Protext v4 - Installing on Hard Disk <drive>"
- if exists <drive>protext
- ram:ask "Protext is already installed. Do you want to update files (y/n)? "
- if not warn
- quit
- endif
- echo "Updating Protext files ..."
- copy >nil: Protext_4.3_CoverDisk:#? <drive>protext
- delete >nil: <drive>protext/preferences#?
- copy >nil: Protext_4.3_CoverDisk:drawericon/protext.info <drive>
- echo "All Protext files updated."
- delete ram:ask
- cd <drive>protext
- else
- makedir <drive>protext
- echo "Copying Protext files to <drive>protext"
- copy >nil: Protext_4.3_CoverDisk:#? <drive>protext
- copy >nil: Protext_4.3_CoverDisk:drawericon/protext.info <drive>
- if warn
- echo "Error occurred during installation."
- delete ram:ask
- quit
- else
- echo "All Protext files and icons copied onto hard disk."
- endif
- ram:ask "Press a key to continue with configuration ..."
- delete ram:ask
- cd <drive>protext
- config
- endif
-