home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d09xx / d0913.lha / VirusChecker / InstallVC < prev    next >
Text File  |  1993-10-03  |  2KB  |  96 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. (set lib1
  54.     (exists "Bootblock.library" (noreq))
  55. )
  56. (if lib1
  57.     (copylib
  58.         (prompt "")
  59.         (help @copylib-help)
  60.         (source "Bootblock.library")
  61.         (dest "libs:")
  62.     )
  63.     (copylib
  64.         (prompt "")
  65.         (help @copylib-help)
  66.         (source "libs/Bootblock.library")
  67.         (dest "libs:")
  68.     )
  69. )
  70. (set lnam
  71.     (exists "Bootblock.brainfile" (noreq))
  72. )
  73. (if lnam
  74.     (copyfiles
  75.         (prompt "")
  76.         (help @copyfiles-help)
  77.         (source "Bootblock.brainfile")
  78.         (dest "L:")
  79.     )
  80.     (copyfiles
  81.         (prompt "")
  82.         (help @copyfiles-help)
  83.         (source "l/Bootblock.brainfile")
  84.         (dest "L:")
  85.     )
  86. )
  87.  
  88. (startup @app-name
  89.     (prompt "Shall I add Virus_Checker to your s:startup-sequence"
  90.         "/s:user-startup so that it will be run each time"
  91.         " you turn your Amiga on")
  92.     (help @startup-help)
  93.     (command "Virus_Checker")
  94. )
  95. (exit)
  96.