Echo "You don't have AmigaDOS Release 2 (V37) or higher in ROM."
Echo "Therefore this install script will be somewhat primitive."
Echo "It will install ReqChange, SignalRC, Upd and a 1.3"
Echo "version of reqtools.library*n"
Ask "Copy ReqChange to C:?"
If WARN
Copy ReqChange C: QUIET
Echo "ReqChange copied to your C: directory"
EndIf
Echo ""
Ask "Copy SignalRC to C:?"
If WARN
Copy Extra/SignalRC C: QUIET
Echo "SignalRC copied to your C: directory"
EndIf
Echo ""
Ask "Copy Upd to C:?"
If WARN
Copy Upd/Upd C: QUIET
Echo "Upd copied to your C: directory"
EndIf
Echo ""
Version >NIL: LIBS:reqtools.library
If NOT ERROR
Echo "Version of reqtools.library already installed:"
Version LIBS:reqtools.library
Echo ""
EndIf
Ask "Copy reqtools.library V38.810 to LIBS:?"
If WARN
Copy libs13/reqtools.library LIBS: QUIET
Echo "reqtools.library copied to your LIBS: directory"
EndIf
Echo "*nInstallation complete."
Echo "*nEnd of installation script."
Wait 5
EndCLI >NIL:
EndIf
Echo "This script will install ReqChange, Upd, GetFile, ReqAsk,"
Echo "SignalRC and reqtools.library for you. You may select if"
Echo "and where to install the files.*n"
ReqAsk "Should I install ReqChange?" TITLE "Installation Request"
If $ReqAskResult EQ 1
GetFile SYS:WBStartup TITLE "Please select destination" NOFILES
If NOT WARN
Copy ReqChange TO $GetFileResult QUIET
Copy ReqChange.info TO $GetFileResult QUIET
Echo "*nReqChange + icon copied to $GetFileResult"
EndIf
EndIf
ReqAsk "Should I install SignalRC?" TITLE "Installation Request"
If $ReqAskResult EQ 1
GetFile C: TITLE "Please select destination" NOFILES
If NOT WARN
Copy Extra/SignalRC TO $GetFileResult QUIET
Copy Extra/SignalRC.info TO $GetFileResult QUIET
Echo "*nSignalRC + icon copied to $GetFileResult"
EndIf
EndIf
ReqAsk "Should I install Upd*nby Jonas Petersson?" TITLE "Installation Request"
If $ReqAskResult EQ 1
GetFile C: TITLE "Please select destination" NOFILES
If NOT WARN
Copy Upd/Upd TO $GetFileResult QUIET
Copy Upd/Upd.info TO $GetFileResult QUIET
Echo "*nUpd + icon copied to $GetFileResult"
EndIf
EndIf
Version >NIL: LIBS:reqtools.library
If NOT ERROR
Echo "Version of reqtools.library already installed:"
Version LIBS:reqtools.library
Echo ""
EndIf
ReqAsk "Install OS 2.0 version or OS 1.3 version of reqtools.library V38.810?*nThe 1.3 version works on both OS,*nwhile the 2.0 version only works on OS 2.0.*nThe file will be placed in LIBS:" TITLE "Installation Request" GADFMT "2.0|1.3|Don't install"
If $ReqAskResult EQ 1
Copy Libs20/reqtools.library LIBS:
Echo "reqtools.library for 2.0 copied to your LIBS: directory"
Avail >NIL: FLUSH
EndIf
If $ReqAskResult EQ 2
Copy Libs13/reqtools.library LIBS:
Echo "reqtools.library for 1.3 copied to your LIBS: directory"
Avail >NIL: FLUSH
EndIf
ReqAsk "Should I install ReqAsk and GetFile?*n(These programs brings up the requesters*nyou have been using all the time.*nThey don't need ReqTools to work.*nBut they do need OS 2.04.)" TITLE "Installation Request"
If $ReqAskResult EQ 1
GetFile C: TITLE "Please select destination" NOFILES
If NOT WARN
Copy ReqAsk $GetFileResult
Copy GetFile $GetFileResult
Echo "*nReqAsk and GetFile copied to $GetFileResult"
EndIf
EndIf
Echo "*nInstallation complete.*n"
Echo "Use the close gadget to get rid of the window"