home *** CD-ROM | disk | FTP | other *** search
-
- ; Script file to install reqtools.library and Startup-Menu
-
- FailAt 21
-
- Version >NIL: exec.library 37
- If WARN
- Echo "Your Amiga does not have AmigaDOS Release 2 (V37) or higher in ROM.*n"
- Echo "Startup-Menu requires a least Release 2 - aborting."
- Endcli >NIL:
- EndIf
-
- ;********* INSTALLATION OF REQTOOLS.LIBRARY *********
-
- Echo ""
- Echo ""
- Version >NIL: LIBS:reqtools.library
- If NOT ERROR
- Echo "Version of reqtools.library already installed:"
- Version LIBS:reqtools.library
- Echo ""
- EndIf
-
- GetOption/Getoption "OK go ahead" "No don't bother with it" "Install reqtools.library (v38.961) ?"
- If NOT WARN
- Copy reqtools.library LIBS:reqtools.library
- Echo "*nreqtools.library (2.0 version) copied to your Libs: directory."
- Avail >NIL: FLUSH
- EndIf
-
- ;********* INSTALLATION OF STARTUP-MENU *********
-
- Echo ""
- Echo ""
-
- Version >NIL: SYS:Prefs/SMPrefs
- If NOT ERROR
- Echo "Version of SMPrefs already installed"
- Version SYS:Prefs/SMprefs
- Echo ""
- EndIf
-
- GetOption/GetOption "OK go ahead" "No don't bother with it" "Install SMPrefs (v1.00) to SYS:Prefs?"
- If NOT WARN
- Copy SMPrefs SYS:Prefs/
- Copy SMPrefs.info SYS:Prefs/
- Echo "*nSMPrefs copied to SYS:Prefs"
- EndIf
-
- Version >NIL: C:Startup-Menu
- If NOT ERROR
- Echo "Version of Startup-Menu already installed:"
- Version C:Startup-Menu
- Echo ""
- EndIf
-
- GetOption/GetOption "OK go ahead" "No don't bother with it" "Install Startup-Menu to C:?"
- If NOT WARN
- Copy Startup-Menu C:
- Echo "*nStartup-Menu copied to C:"
- EndIf
-
- GetOption/GetOption "OK go ahead" "No don't bother with it" "Install sample prefs files to S:?"
- If NOT WARN
- Copy S/#? S: ALL
- Echo "*nsample files copied to S:"
- EndIf
-
-
-
- Echo "Installation complete.*n"
-
- Wait 5
- EndCLI >NIL:
-
-
-