; $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)
)

(copyfiles
	(prompt "Intall Brainfile to L:")
	(help @copyfiles-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 Bootblock.library")

(copylib
	(prompt "")
	(help @copylib-help)
	(source "libs/Bootblock.library")
	(dest "libs:")
	(confirm)
)


(copyfiles
	(prompt "")
	(help @copyfiles-help)
	(source "l/Bootblock.brainfile")
	(dest "L:")
)

(working "Installing  unpack.library")
(copylib
	(prompt "")
	(help @copylib-help)
	(source "libs/unpack.library")
	(dest "libs:")
	(confirm)
)

(working "Installing xfdmaster.library")
(copylib
	(prompt "")
	(help @copylib-help)
	(source "libs/xfdmaster.library")
	(dest "libs:")
	(confirm)
)

(copyfiles
	(prompt "Shall I install the XFD extra crunchers")
	(help @copyfiles-help)
	(source "libs/XFD")
	(dest "LIBS:XFD")
	(all)
	(confirm)
)

(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)
