home *** CD-ROM | disk | FTP | other *** search
- ; $VER: Install Virus_Checker V1.0 (4 June 1993)
- ; This script can be distributed with Virus_Checker Program by
- ; John Veldthuis
-
- ; ask where to install virus_checker
- (set @default-dest
- (askdir
- (prompt "Please select the Directory where you would like to install"
- " Virus_Checker. ")
- (help @askdir-help)
- (default "SYS:")
- )
- )
-
- (
- (working "Installing Virus_Checker Program")
- (copyfiles
- (prompt "")
- (help @copyfiles-help)
- (source "Virus_Checker")
- (dest @default-dest)
- (infos)
- )
-
- (set brain
- (exists "VirusChecker.brain" (noreq))
- )
- (if brain
- (copylib
- (prompt "")
- (help @copylib-help)
- (source "VirusChecker.brain")
- (dest "L:")
- )
- (copylib
- (prompt "")
- (help @copylib-help)
- (source "L/VirusChecker.brain")
- (dest "L:")
- )
- )
-
- (copyfiles
- (prompt "Would you like to install the documentation for Virus_Checker"
- "which is in amigaguide standard.")
- (help @copyfiles-help)
- (source "Virus_Checker.guide")
- (dest @default-dest)
- (confirm)
- (infos)
- )
- )
-
- (working "Installing Needed Libraries")
- (set lib
- (exists "decrunch.library" (noreq))
- )
- (if lib
- (copylib
- (prompt "")
- (help @copylib-help)
- (source "decrunch.library")
- (dest "libs:")
- )
- (copylib
- (prompt "")
- (help @copylib-help)
- (source "libs/decrunch.library")
- (dest "libs")
- )
- )
- (set lib1
- (exists "Bootblock.library" (noreq))
- )
- (if lib1
- (copylib
- (prompt "")
- (help @copylib-help)
- (source "Bootblock.library")
- (dest "libs:")
- )
- (copylib
- (prompt "")
- (help @copylib-help)
- (source "libs/Bootblock.library")
- (dest "libs:")
- )
- )
- (set lnam
- (exists "Bootblock.brainfile" (noreq))
- )
- (if lnam
- (copyfiles
- (prompt "")
- (help @copyfiles-help)
- (source "Bootblock.brainfile")
- (dest "L:")
- )
- (copyfiles
- (prompt "")
- (help @copyfiles-help)
- (source "l/Bootblock.brainfile")
- (dest "L:")
- )
- )
-
- (startup @app-name
- (prompt "Shall I add Virus_Checker to your s:startup-sequence"
- "/s:user-startup so that it will be run each time"
- " you turn your Amiga on")
- (help @startup-help)
- (command "Virus_Checker")
- )
- (exit)
-