home *** CD-ROM | disk | FTP | other *** search
- ;
- ; PowerGuide 1.21 - Install Script
- ;
- ; (c) 1996 by Matthias Scheler
- ;
-
- (set ProductName "PowerGuide")
- (set ProductVers "1.21")
-
- (set @default-dest "SYS:Tools")
-
- (transcript #install ProductName " " ProductVers " ...")
-
- (complete 0)
-
- ; Extract "spatch"
-
- (working "Extracting spatch...")
- (run ("C:MakeDir T:PowerGuide"))
- (run ("AMINET14:Tools/LhA -a -m -x x AMINET14:Aminet/comm/term/term_46a_pch.lha T:PowerGuide/"))
- (complete 25)
-
- ; Use "spatch"
-
- (working "Applying patch...")
- (run ("T:PowerGuide/spatch -oT:PowerGuide/PowerGuide -pPowerGuide.pch AMINET14:Tools/PowerGuide"))
- (run ("C:Copy PowerGuide.noinfo T:PowerGuide/PowerGuide.info CLONE QUIET"))
- (complete 50)
-
- ; Copy files
-
- (copyfiles
- (prompt "Installing " ProductName "...")
- (source "T:PowerGuide")
- (pattern "PowerGuide#?")
- (help @copyfiles-help)
- (confirm)
- (set @default-dest
- (askdir
- (prompt ("Please select a directory for \"%s\"." ProductName))
- (help @askdir-help)
- (default @default-dest)
- )
- )
- (dest @default-dest)
- )
- (complete 75)
-
- ; Clean up
-
- (working "Cleaning up...")
- (run ("C:Delete T:PowerGuide ALL QUIET"))
- (complete 100)
-
- ; All Done
-
- (exit)
-