;; Installer script for Clipper v1.01, 1995/6/7 Roch Gadsdon of Vivid Software.

;; First thing to do is find out where the main program should be installed.

(set ProgDir "SYS:WBStartup")	; Default directory for NOVICE etc.
(set ProgDir
	(askdir
		(prompt  "Select program drawer")
		(help    "Use the file requester to select the drawer to place the "
				 "main Clipper program in. It is reconded that you use the default "
				 "drawer 'SYS:WBStartup' so that Clipper will be run whenever the "
				 "Amiga is booted. However, if you are only going to use Clipper "
				 "occaisonally and don't want it automatically run, you will "
				 "probably want to place it in the 'SYS:Commodities' drawer.")
		(default "SYS:WBStartup")
		(newpath)(disk)
	)
)
(set @default-dest ProgDir)

;; Now copy the program file accross

(copyfiles
	(source "Clipper")
	(dest   ProgDir)
	(infos)
)

;; Now find out where to install the guide file

(set GuideDir "SYS:")
(set GuideDir
	(askdir
		(prompt  "Select drawer for guide file")
		(help    "Use the file requester to select the drawer to place the "
				 "Clipper documentation/instructions in.")
		(default "SYS:")
		(newpath)(disk)
	)
)

;; Now copy the guide

(copyfiles
	(source "Clipper.Guide")
	(dest   GuideDir)
	(infos)
)
(copyfiles
	(source "ClipViewWindow.ilbm")
	(dest   GuideDir)
)
