home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 68 / af068a.adf / InstallVC < prev    next >
Text File  |  1994-12-03  |  2KB  |  133 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.     (copylib
  30.         (prompt "")
  31.         (help @copylib-help)
  32.         (source "VirusChecker.brain")
  33.         (dest "L:")
  34.     )
  35.     (copylib
  36.         (prompt "")
  37.         (help @copylib-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. (set lib
  56.     (exists "decrunch.library" (noreq))
  57. )
  58. (if lib
  59.     (copylib
  60.         (prompt "")
  61.         (help @copylib-help)
  62.         (source "decrunch.library")
  63.         (dest "libs:")
  64.     )
  65.     (copylib
  66.         (prompt "")
  67.         (help @copylib-help)
  68.         (source "libs/decrunch.library")
  69.         (dest "libs")
  70.     )
  71. )
  72. (set lib1
  73.     (exists "Bootblock.library" (noreq))
  74. )
  75. (if lib1
  76.     (copylib
  77.         (prompt "")
  78.         (help @copylib-help)
  79.         (source "Bootblock.library")
  80.         (dest "libs:")
  81.     )
  82.     (copylib
  83.         (prompt "")
  84.         (help @copylib-help)
  85.         (source "libs/Bootblock.library")
  86.         (dest "libs:")
  87.     )
  88. )
  89. (set lnam
  90.     (exists "Bootblock.brainfile" (noreq))
  91. )
  92. (if lnam
  93.     (copyfiles
  94.         (prompt "")
  95.         (help @copyfiles-help)
  96.         (source "Bootblock.brainfile")
  97.         (dest "L:")
  98.     )
  99.     (copyfiles
  100.         (prompt "")
  101.         (help @copyfiles-help)
  102.         (source "l/Bootblock.brainfile")
  103.         (dest "L:")
  104.     )
  105. )
  106. (set lib3
  107.     (exists "unpack.library" (noreq))
  108. )
  109. (if lib3
  110.     (copylib
  111.         (prompt "")
  112.         (help @copylib-help)
  113.         (source "unpack.library")
  114.         (dest "libs:")
  115.     )
  116.     (copylib
  117.         (prompt "")
  118.         (help @copylib-help)
  119.         (source "libs/unpack.library")
  120.         (dest "libs")
  121.     )
  122. )
  123.  
  124.  
  125. (startup @app-name
  126.     (prompt "Shall I add Virus_Checker to your s:startup-sequence"
  127.         "/s:user-startup so that it will be run each time"
  128.         " you turn your Amiga on")
  129.     (help @startup-help)
  130.     (command "Virus_Checker")
  131. )
  132. (exit)
  133.