; Script file to install reqtools.library and Startup-Menu
FailAt 21
Echo ""
Ask "This script will install the Startup-Menu package.*nIt will ask you if you wish to copy each file after giving details of current*nversions installed, if any.*n*nDo you wish to continue [Y/N]?"
IF NOT WARN
Echo "*nInstallation terminated*n"
EndCLI >NIL:
EndIf
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
ask "Install Reqtools.library V38.1210 [Y/N]?"
If 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
ask "Install SMPrefs v1.5 to your prefs drawer [Y/N]?"
If WARN
Copy SMPrefs SYS:Prefs/
Copy SMPrefs.info SYS:Prefs/
Echo "*nSMPrefs copied to SYS:Prefs"
EndIf
Echo ""
Echo ""
Version >NIL: C:Startup-Menu
If NOT ERROR
Echo "Version of Startup-Menu already installed:"
Version C:Startup-Menu
Echo ""
EndIf
ask "Install Startup-Menu v1.5 to C: [Y/N]?"
If WARN
Copy Startup-Menu C:
Echo "*nStartup-Menu copied to C:"
EndIf
Echo ""
Echo ""
ask "Install phrase files [Y/N]?"
IF WARN
MakeDir >NIL: S:SM
Copy S/SM/#?.WIT S:SM
Echo "*nPhrases copied"
EndIf
Echo ""
Echo ""
ask "Install sample prefs and rename startup-sequence (see docs) [Y/N]?"