home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 51 / af051sub.adf / Virus_Checker / InstallVC next >
Text File  |  1993-06-05  |  1KB  |  63 lines

  1. ; $VER: Install Virus_Checker V1.0 (4 June 1993)
  2. ; This script can be distributed with Virus_Checker Program by
  3. ; John Veldthuis
  4.  
  5. ; ask where to install virus_checker
  6. (set @default-dest
  7. (askdir
  8.    (prompt "Please select the Directory where you would like to install"
  9.            " Virus_Checker. ")
  10.    (help @askdir-help)
  11.    (default "SYS:")
  12.    )
  13. )
  14.  
  15. (
  16. (working "Installing Virus_Checker Program")
  17. (copyfiles
  18.     (prompt "")
  19.     (help @copyfiles-help)
  20.     (source "Virus_Checker")
  21.     (dest @default-dest)
  22.     (infos)
  23. )
  24. (copyfiles
  25.     (prompt "Would you like to install the documentation for Virus_Checker"
  26.             "which is in amigaguide standard.")
  27.     (help @copyfiles-help)
  28.     (source "Virus_Checker.guide")
  29.     (dest @default-dest)
  30.     (confirm)
  31.     (infos)
  32. )
  33. )
  34.  
  35. (working "Installing Needed Libraries")
  36. (set lib
  37.     (exists "decrunch.library" (noreq))
  38. )
  39. (if lib
  40.     (copylib
  41.         (prompt "")
  42.         (help @copylib-help)
  43.         (source "decrunch.library")
  44.         (dest "libs:")
  45.     )
  46.     (copylib
  47.         (prompt "")
  48.         (help @copylib-help)
  49.         (source "libs/decrunch.library")
  50.         (dest "libs")
  51.     )
  52. )
  53.  
  54. (startup @app-name
  55.     (prompt "Shall I add Virus_Checker to your s:startup-sequence"
  56.         "/s:user-startup so that it will be run each time"
  57.         " you turn your Amiga on")
  58.     (help @startup-help)
  59.     (command "Virus_Checker")
  60. )
  61.  
  62. (exit)
  63.