L S D P R E S E N T HD INSTALL - VERSION 1.0A 31/12/92 Coded by Shagratt/LSD There are a few hard drive install programmes available in the Public Domain. The best of these is the Official Commadore one, however this has some major drawbacks; Its over 120k in length! It requires some libraries to run It will only run from workbench My re-written version is; under 3k in length uses only ReqTools.Library, which most people have on there HD anyway Works from WB or CLI THE SCRIPT LANGUAGE ; this is a comment - Comment for the programmer alert "Grapevine Install" - Creates an alert box with a message. alert "Grapevine%cInstall" - %c causes a hard return in the alert box which must be OKed to continue select "dh0:gv13" - Displays a file requester with the default directory as "dh0:gv13" %s becomes this directory space "2500" - Ensures you have 2500k free on the selected drive message "Installing Grapevine %s/" - Displays a message, installs into %s (see select) closemessage "" - Removes message, it says open until Closemessage command or script ends MUST END WITH "" mkdir "%s" - creates the directory %s (as above) copyifno "a" "b" - Copy file a if file b is not present If b is present a requester is displayed copy "GV13a:#?" "%s/" - Copies all files from GV13a to %s end "" - end the script MUST END WITH "" I sometimes found a need to create an assign list to make the installed programme work correctly from HD. The following 3 commands do this; openfile "%s/go" - Opens a file called %s/ (see above) go writetofile "assign gv13a: %s/" - writes the necessary text to the file closefile "" - Closes file For grapevine 13 we use the following script; openfile "%s/go" writetofile "assign gv13a: %s/" writetofile "assign gv13b: %s/" writetofile "assign gv13c: %s/" writetofile "gv13a:gv13" closefile "" which creates the following text file called go; assign gv13a: dh0:gv13/ assign gv13b: dh0:gv13/ assign gv13c: dh0:gv13/ gv13a:gv13 to run grapevine from HD I just "execute dh0:GV13/go" Included with this text file is a full install script for Grapevine issue 13, you can use this as a tutorial everything should seem stright foward after reading it. All command must have quotation marks (") before and after the prameters . HD Install also requires COPY in the C: directory and REQTOOLS.LIBRARY in the LIBS: directory If using a 1.2/1.3 machine you also require RUN in the C: directory You can also use this program to install to floppies etc. DISTRIBUTION HD Install is Public Domain. It may be distributed by PD Libraries on utility collections or part of a PD/Shareware package providing no more than £2.00 UK Sterling is charged (or your countries equivelant) this includes the costs of Media, P&P and all other overheads. If you wish to include this in a Licenseware or commercial package or wish to charge more than £2.00 (as described above) or include it on a magazine coverdisk or include it as part of a utility disk magazine, YOU MUST contact me first, please include return postage. This is to ensure you get the latest version with COMPLETE support files. DISCLAIMER Any loss or damage of data though use of HD Install is the responsibilty of the user. The programmer takes no liability for use or misuse of this program. BUG REPORTS If you find any problem with HD Install please write to me at the address below explaning the problem and your configuration in as much detail as possible. Its no good writing to me saying "It doesn't work on my A6000". Make sure you tell me which version you are using and ensure this is the latest version. Do not send bug reports to PD Libraries, Computer magazines or Farther Chirstmas as they can do SOD ALL ABOUT IT. Bug reports to me please! Enclose return postage and a disk if possible. Concact me at; Shagratt c/o Pazza, 2 South Parade, Gainsborough, Lincs. DN21 1UQ PLEASE NOTE: I AM NOT A SWAPPER! end.