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 prodata-program-disc:c/ask ram:
- endif
- echo "Prodata v1 - Installing on Hard Disc <drive>"
- if exists <drive>prodata
- ram:ask "Prodata is already installed. Do you want to update files (y/n)? "
- if not warn
- quit
- endif
- echo "Updating Prodata files ..."
- copy >nil: prodata-program-disc:#? <drive>prodata
- copy >nil: prodata-program-disc:drawericon/prodata.info <drive>
- echo "All Prodata files updated."
- delete ram:ask
- cd <drive>prodata
- else
- makedir <drive>prodata
- echo "Copying Prodata files to <drive>prodata"
- copy >nil: prodata-program-disc:#? <drive>prodata
- copy >nil: prodata-program-disc:drawericon/prodata.info <drive>
- if warn
- echo "Error occurred during installation."
- delete ram:ask
- quit
- else
- echo "All Prodata files and icons copied onto hard disc."
- endif
- ram:ask "Press a key to continue with configuration ..."
- delete ram:ask
- cd <drive>prodata
- pdconfig
- endif
-