.key ""
; Script file to install reqtools.library, powerpacker.library and xpk.library

FailAt 21

;********* INSTALLATION 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

Version >NIL: exec.library 37
If NOT WARN
	Echo "Your Amiga has AmigaDOS Release 2 (V37) or higher in ROM."
	Ask "Install special Kickstart 2.0 version of reqtools.library (38.810) ?"
	If WARN
		Copy reqtools.library20 LIBS:reqtools.library
		Echo "*nreqtools.library (2.0 version) copied to your Libs: directory."
		Avail >NIL: FLUSH
		Skip RTINSTALLED
	EndIf
EndIf

Ask "Install Kickstart 1.2/1.3 version of reqtools.library (38.810) ?"
If NOT WARN
	Skip RTINSTALLED
EndIf

Copy reqtools.library13 LIBS:reqtools.library
Echo "*nreqtools.library copied to your Libs: directory."

;********* INSTALLATION POWERPACKER.LIBRARY *********

Lab RTINSTALLED
Echo ""
Echo ""
Version >NIL: LIBS:powerpacker.library
If NOT ERROR
	Echo "Version of powerpacker.library already installed:"
	Version LIBS:powerpacker.library
	Echo ""
EndIf

Ask "Install PowerPacker.library (35.274)?"
If NOT WARN
	Skip PPINSTALLED
EndIf

Copy powerpacker.library LIBS:powerpacker.library
Echo "*powerpacker.library copied to your Libs: directory."

Lab PPINSTALLED

Echo "Installation complete.*n"

Wait 1
EndCLI >NIL:


