home *** CD-ROM | disk | FTP | other *** search
- ; $VER: Viewfonts 2 installer 2/2/97
- (set @default-dest "Workbench:Tools")
-
- (if (exists "reqtools.library")
- (copylib
- (prompt "Copying reqtools.library v38.1210")
- (help @copylib-help)
- (source "reqtools.library")
- (dest "LIBS:")
- (confirm)
- ))
-
- (set @default-dest
- (askdir
- (prompt "Select a directory for program")
- (help @askdir-help)
- (default @default-dest)
- (newpath)
- )
- )
-
- (if (NOT (exists (tackon @default-dest "Viewfonts2")))
- (
- (copyfiles
- (prompt "Copying program and icon")
- (help @copyfile-help)
- (source "Viewfonts2")
- (dest @default-dest)
- (files)
- (infos)
- (confirm)
- )
-
- (copyfiles
- (prompt "Copying Install program")
- (help @copyfile-help)
- (source "Install_VF2")
- (dest @default-dest)
- (files)
- (infos)
- (confirm)
- )
- )
- )
-
-
- (set helpdir
- (askdir
- (prompt "Select a directory for the online help")
- (help @askdir-help)
- (default "HELP:")
- (newpath)
- )
- )
-
- (if (NOT(exists(tackon helpdir "Viewfonts2.guide")))
- (copyfiles
- (prompt "Copying online help")
- (help @copyfile-help)
- (source "Viewfonts2.guide")
- (dest helpdir)
- (files)
- (infos)
- (confirm)
- ))
-
- (tooltype
- (prompt "Setting HELPPATH in tooltypes")
- (help "Sets the path to the online help, in the program icon's tooltypes")
- (dest (tackon @default-dest "Viewfonts2"))
- (settooltype "HELPPATH" helpdir)
- (confirm)
- )
-
-