home *** CD-ROM | disk | FTP | other *** search
- ; Install script for PPShow
-
- (set old_level @user-level)
- (set @default-dest "")
-
- (set reqtoolslib "libs/reqtools.library")
- (set pplib "libs/powerpacker.library")
- (set ppshow "PPShow")
-
- ;=============================================================================
- ; English strings
-
- (set default_lang 4)
-
- (set #bad-kick
- (cat "You must be using Kickstart 2.04 to install using this script!"
- ))
-
- (set #copying-reqtools "Copying reqtools.library to Libs:...")
- (set #copying-powerpacker "Copying powerpacker.library to Libs:...")
-
- (set #where-ppshow "In which drawer should PPShow be installed ?")
-
- (set #install-msg
- (cat "\n\nPPShow installation script.\n"
- "This script installs PPShow on your Amiga.\n\n"
- "Read the documentation for more information\n"
- "on the distribution of PPShow.\n\n"
- "PPShow © 1991-1994 Nico François\n"
- "All rights reserved."
- ))
-
- ;=============================================================================
- ; make sure we are running under a 2.04 ROM
-
- (if (< (/ (getversion) 65536) 37)
- (
- (abort #bad-kick)
- ))
-
- ;=============================================================================
-
- (message #install-msg)
-
- (copylib
- (prompt "\n" #copying-reqtools)
- (help @copylib-help)
- (source reqtoolslib)
- (dest "Libs:")
- (confirm)
- )
-
- (copylib
- (prompt "\n" #copying-powerpacker)
- (help @copylib-help)
- (source pplib)
- (dest "Libs:")
- (confirm)
- )
-
- (set ppshowdir
- (askdir
- (prompt #where-ppshow)
- (help @askdir-help)
- (default "C:")
- )
- )
-
- (copyfiles
- (source ppshow)
- (dest ppshowdir)
- (infos)
- (noposition)
- )
-