home *** CD-ROM | disk | FTP | other *** search
- ; *** ds.library installation scipt ***
-
-
- ; *** Set some useful messages ***
-
- (set #install-msg (cat "\n\nds.library installation script.\n"
- "This script installs ds.library on your Amiga.\n\n"
- "Read the documentation for\n"
- "more information on the distribution\n"
- "and commercial usage.\n\n"
- "ds.library © 1997 by Markus Hillenbrand\n"
- "All rights reserved."))
- (set #welcome-msg "Welcome to the ds.library installation!")
- (set #bad-kick "You must be using Kickstart 37 to use this program!")
- (set #bad-installer "You must be using Installer 43.x to install GUICreator!")
- (set #ask-lib-dir "Where shall I install the library ?\n(A drawer will NOT be created)")
- (set #copyfiles "Copying files to harddisk ...")
-
- ; *** Welcome the user to the installation
-
- (message #install-msg)
-
- ; *** Check for Kickstart version ***
-
- (if (< (/ (getversion) 65536) 37)
- ((abort #bad-kick))
- )
-
- ; *** Check for Installer-Version ***
-
- (if (< (/ @installer-version 65536) 43)
- ((abort #bad-installer))
- )
-
-
- ; *** Ask the user for the default-destinations ***
-
- (set #lib-dest (askdir (prompt #ask-lib-dir)
- (help @askdir-help)
- (default "libs:")
- )
- )
-
- ; *** Copy the library ***
-
- (copyfiles (prompt "Copying ds.library to" #lib-dest)
- (help @copylib-help)
- (source "libs/ds.library")
- (dest #lib-dest)
- )
-
-