home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / new / util / virus / viruschecker / installvc < prev    next >
Text File  |  1995-01-22  |  2KB  |  121 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.  
  25. (set brain
  26.     (exists "VirusChecker.brain" (noreq))
  27. )
  28. (if brain
  29.     (copyfiles
  30.         (prompt "")
  31.         (help @copyfiles-help)
  32.         (source "VirusChecker.brain")
  33.         (dest "L:")
  34.     )
  35.     (copylib
  36.         (prompt "")
  37.         (help @copyfiles-help)
  38.         (source "L/VirusChecker.brain")
  39.         (dest "L:")
  40.     )
  41. )
  42.  
  43. (copyfiles
  44.     (prompt "Would you like to install the documentation for Virus_Checker"
  45.             "which is in amigaguide standard.")
  46.     (help @copyfiles-help)
  47.     (source "Virus_Checker.guide")
  48.     (dest @default-dest)
  49.     (confirm)
  50.     (infos)
  51. )
  52. )
  53.  
  54. (working "Installing Needed Libraries")
  55.  
  56. (set lib1
  57.     (exists "Bootblock.library" (noreq))
  58. )
  59. (if lib1
  60.     (copylib
  61.         (prompt "")
  62.         (help @copylib-help)
  63.         (source "Bootblock.library")
  64.         (dest "libs:")
  65.         (confirm)
  66.     )
  67.     (copylib
  68.         (prompt "")
  69.         (help @copylib-help)
  70.         (source "libs/Bootblock.library")
  71.         (dest "libs:")
  72.         (confirm)
  73.     )
  74. )
  75. (set lnam
  76.     (exists "Bootblock.brainfile" (noreq))
  77. )
  78. (if lnam
  79.     (copyfiles
  80.         (prompt "")
  81.         (help @copyfiles-help)
  82.         (source "Bootblock.brainfile")
  83.         (dest "L:")
  84.     )
  85.     (copyfiles
  86.         (prompt "")
  87.         (help @copyfiles-help)
  88.         (source "l/Bootblock.brainfile")
  89.         (dest "L:")
  90.     )
  91. )
  92. (set lib3
  93.     (exists "unpack.library" (noreq))
  94. )
  95. (if lib3
  96.     (copylib
  97.         (prompt "")
  98.         (help @copylib-help)
  99.         (source "unpack.library")
  100.         (dest "libs:")
  101.         (confirm)
  102.     )
  103.     (copylib
  104.         (prompt "")
  105.         (help @copylib-help)
  106.         (source "libs/unpack.library")
  107.         (dest "libs")
  108.         (confirm)
  109.     )
  110. )
  111.  
  112.  
  113. (startup @app-name
  114.     (prompt "Shall I add Virus_Checker to your s:startup-sequence"
  115.         "/s:user-startup so that it will be run each time"
  116.         " you turn your Amiga on")
  117.     (help @startup-help)
  118.     (command "Virus_Checker")
  119. )
  120. (exit)
  121.