home *** CD-ROM | disk | FTP | other *** search
- ;*****************************************************************************************************************************
- ;* *
- ;* *
- ;* HTMLGrad 1.0 Install Script *
- ;* *
- ;* Written by Alvaro Thompson *
- ;* *
- ;* *
- ;* *
- ;*****************************************************************************************************************************
-
-
- (set #info
- (cat "\nWelcome to the HTMLGrad 1.0 Installing Script"
- "\n\nThis program is written by Gareth Williams and"
- "\nAlvaro Thompson ⌐1997 All Rights Reserved"
- )
- )
-
- (set #asl
- (cat "I am now going to install the asl.library")
- )
-
- (set #reqtools
- (cat "I am now going to install the reqtools.library")
- )
-
- (set #where
- (cat "Where would you like HTMLGrad to be installed?\n(A drawer will be created)")
- )
-
- (set #shareware
- (cat "\nHTMLGrad 1.0 is *SHAREWARE*"
- "\n\nThis means that the program is partly disabled and"
- "\nhas loads of very annoying pop-up requesters"
- "\n\nPlease consider registering"
- )
- )
-
- ;******************************************* Start the installing sequence **************************************************
-
- (message #info)
-
-
- (set destination
- (askdir
- (prompt #where)
- (help @askdir-help)
- (default "Sys:")
- )
- )
-
- (set trgt (tackon destination "HTMLGrad"))
-
- (makedir (tackon destination "HTMLGrad"))
- (makedir (tackon trgt "Examples"))
- (makedir (tackon trgt "Docs"))
-
- (copyfiles
- (source "Icons/")
- (dest destination)
- (all)
- )
-
- (copylib
- (prompt #asl)
- (source "Libs/asl.library")
- (dest "LIBS:")
- (help @copylibs-help)
- )
-
- (copylib
- (prompt #reqtools)
- (source "Libs/reqtools.library")
- (dest "LIBS:")
- (help @copylibs-help)
- )
-
- (copyfiles
- (source "Fonts/")
- (dest "FONTS:")
- (help @copyfiles-help)
- (all)
- )
-
- (copyfiles
- (source "Docs/")
- (dest (tackon trgt "Docs/"))
- (all)
- )
-
- (copyfiles
- (source "Examples/")
- (dest (tackon trgt "Examples/"))
- (all)
- )
-
- (copyfiles
- (source "bin/")
- (dest trgt)
- (all)
- )
-
- (textfile
- (dest "ENVARC:HTMLGrad")
- (append trgt)
- )
-
- (copyfiles
- (source "ENVARC:HTMLGrad")
- (dest "ENV:")
- )
-
- (set @default-dest trgt)
-
- (message #shareware)
-