home *** CD-ROM | disk | FTP | other *** search
- ; ButtonMenu Installer script (for the Aminet archive)
- ; $VER: 2.00 (17.11.94)
- ; written by Oliver Roberts
-
- (if (< (/ (getversion) 65536) 36)
- (abort "ButtonMenu requires Kickstart 2.0 or above - aborting...")
- )
-
- (welcome
- ("This utility will attempt to, either, install ButtonMenu for the first time ")
- ("or update an existing version, as best it can on your system. \n\n")
- ("This program will update libraries if older versions exist, ")
- ("and copy all files needed.\n")
- )
-
- (if(set destdir
- (askdir
- (prompt "Select a drawer in which ButtonMenu should be installed/updated?\n(a separate drawer will not be created!)")
- (help @askdir-help)
- (default @default-dest)
- )
- )
- (
- (set @default-dest destdir)
- )
- )
-
- (set libdir
- (askdir
- (prompt "Where are the system libraries?")
- (help "Select the drawer where your system libraries are stored. This can usually be accessed by the LIBS: assign and is therefore the default.")
- (default "LIBS:")
- )
- )
-
- (complete 20)
-
- (copylib
- (prompt "Installing newer version of reqtools.library")
- (source "Libs/reqtools.library")
- (dest libdir)
- (help @copylib-help)
- (newname "reqtools.library")
- (confirm)
- )
-
- (complete 40)
-
- (copylib
- (prompt "Copying ButtonMenu Creator...")
- (source "ButtonMenu")
- (dest @default-dest)
- (help @copylib-help)
- (infos)
- (confirm)
- )
-
- (copylib
- (prompt "Copying ButtonMenu Executor...")
- (source "BMX")
- (dest @default-dest)
- (help @copylib-help)
- (infos)
- (confirm)
- )
-
- (complete 70)
-
- (copyfiles
- (prompt "Copying ButtonMenu Documentation...")
- (source "ButtonMenu.guide")
- (dest @default-dest)
- (help @copyfiles-help)
- (infos)
- )
-
- (complete 100)
-
- (exit
- ("Files installed. Enjoy using ButtonMenu!\n")
- ("Please email any bugs or suggestions to the author at ")
- ("Oliver@POBoxes.com (see documentation).")
- )
-