home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / cdrom / stuscdxlgui / install < prev    next >
Text File  |  1995-12-08  |  2KB  |  60 lines

  1. echo ""
  2. echo "This script installs all the proper files into the right dirs"
  3. echo "for Stu's CDXL GUI (libraries, commands, etc)."
  4. echo ""
  5. Alias Clear "Echo *"*E[0;0H*E[J*" "
  6. ask "Continue? "
  7.  
  8. if warn
  9.  clear
  10.  protect Install +S
  11.  protect StusCDXLGUI +S
  12.  protect StusCDXLGUI.dosbit +S
  13.  if exists libs:rexxreqtools.library
  14.   version libs:rexxreqtools.library
  15.   version rexxreqtools.library
  16.   echo "Type N if they are both the same or the higher number is bigger, if the"
  17.   ask  "lower version number is bigger, type Y: "
  18.    if warn
  19.     copy rexxreqtools.library libs:
  20.    endif
  21.   else
  22.    copy rexxreqtools.library libs:
  23.   endif
  24.  copy cdgsxl.new c:
  25. echo ""
  26. assign AmiTCP: exists >NIL:
  27. if warn not
  28. if exists AmiTCP:bin/sendmail
  29.   clear
  30.   echo "I've found AmiTCP installed on your system. Can I please send the mail saying you"
  31.   echo "have tried this program? You will not recieve anything from me from this mail,"
  32.   echo "any comments etc. should be send manually."
  33.   ask  "I'd just like to know how many people use this. Please? "
  34.   if warn
  35.    echo ""
  36.    echo "Thank you! :)"
  37.    echo "To: cdxlgui@tomonet.demon.co.uk" >RAM:CDXLMail
  38.    echo "Subject: (Auto) I used Stu's CDXL GUI v1.3! :)" >>RAM:CDXLMail
  39.    echo "" >>RAM:CDXLMail
  40.    echo "My name is" >>RAM:CDXLMail
  41. if exists ENV:REALNAME
  42.    type ENV:REALNAME >>RAM:CDXLMail
  43. else
  44.    echo "REALNAME ENV variable not found." >>RAM:CDXLMail
  45. endif
  46.    echo "The date and time are" >>RAM:CDXLMail
  47.    date >>RAM:CDXLMail
  48.    echo "and I've just install Stu's CDXL GUI 1.3! :)" >>RAM:CDXLMail
  49.   sendmail <RAM:CDXLMail
  50.   delete ram:CDXLMail quiet
  51.   endif
  52.  endif
  53. endif   
  54.  
  55. echo "Complete"
  56. else
  57. echo "Okay, bye bye..."
  58. endif
  59.   
  60.