home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Database / GBROUTE1,03PLUS.DMS / in.adf / Plus2HD < prev    next >
Encoding:
AmigaDOS Script File  |  1991-09-12  |  1.3 KB  |  50 lines

  1. .key drive
  2. .bra {
  3. .ket }
  4. .def drive DH0:       ;Edit here if you don't have DH0:
  5.  
  6.  
  7. ;+----------------------------------------------------------+
  8. ;| Complex Computers 1991 - Installation Script. 07-Sept-91 |
  9. ;+----------------------------------------------------------+
  10.  
  11.  
  12. echo "*n*E[32mGBRoutePlus*E[0m Installation Utility*n"
  13. assign >NIL: {drive} exists
  14. if warn
  15.  echo "*nSorry,device {drive} cannot be found."
  16.  echo "Installation terminated."
  17.  wait 5
  18.  endcli
  19. endif
  20.  
  21. echo "The GBRPlus directory and files will be copied to {drive} this"
  22. echo "will require approximately 2OOK bytes free."
  23.  
  24. ask "*nAre you absolutely sure you want to do this? (Y/N) "
  25.  
  26. if warn
  27.   if exists {drive}GBRPlus
  28.    echo "*nSorry {drive}GBRPlus directory already exists,GBRoutePlus may"
  29.    echo "already be installed."
  30.    echo "*nInstallation terminated."
  31.    wait 5
  32.    endcli
  33.   endif
  34.  
  35.   makedir {drive}GBRPlus
  36.   
  37.   copy GBRoutePlus:GBR1+.dat to {drive}GBRPlus/         ;Data file
  38.   copy GBRoutePlus:GBR2+.dat to {drive}GBRPlus/         ;Data file
  39.   copy GBRoutePlus:GBRoutePlus to {drive}GBRPlus/       ;Main Program
  40.   copy GBRoutePlus:GBRoutePlus.info to {drive}GBRPlus/  ;Main Program Icon
  41.   copy GBRoutePlus:Icon/GBRPlus.info to {drive}         ;Directory Icon
  42.   
  43.   echo "*nGBRoutePlus has been installed sucessfully on {drive}"
  44.   wait 5
  45.  else
  46.  
  47.   echo "*nInstallation terminated."
  48.  
  49. endif
  50.