rtGetString "Install DOSReqTools Executables" "Please enter the directory where you want\nthe DOSReqTools executables copied.\n\nWe suggest SYS:c but you can place them\nin any directory that is in the path." "OK|Cancel" default "SYS:c" TO ENV:target POS CENTERSCR
SET Result $RC
IF $Result eq 0
SKIP ABORT
ENDIF
IF $Result eq 1
COPY rt#? to $Target clone
COPY DOSExtensions to $target
ENDIF
SET location `CD`
rtEZrequest "Installation Instructions" BODY "You may want to move DOSReqTools to another\nplace on your hard drive.\n\nIs the current location, $location OK\nor would you like to have it moved?" buttontext "Move to New Location|Leave it Here" POS CENTERSCR
set result $RC
IF $result eq 0
SKIP GO
ENDIF
LAB CHANGE
rtGetString "Install DOSReqTools Guide and Demos" "Please enter the directory where you\nwant the DOSReqTools Guide and Demos copied.\nWe suggest SYS:\nDon't change the filename, just the path." "Install|Cancel" default "SYS:DOSReqTools" TO ENV:DOSRTPATH POS CENTERSCR
SET Result $RC
IF $Result eq 0
SKIP ABORT
ENDIF
CD /
COPY DOSReqTools ALL to $DOSRTPATH clone
SETenv rootdir `PathPart $DOSRTPATH`
COPY DOSReqTools.info to $rootdir
IF WARN
rtezrequest "Error Message" "An error has occured\nPlease enter another destination." _Continue" POS CENTERSCR
skip back main
ENDIF
LAB GO
COPY ENV:DOSRTPATH TO SYS:Prefs/Env-Archive; So RTMAN can find the Guide
rtezrequest "Installation Status" "Installation Complete\nThe DOSReqTools executables are in $target\nThe DOSrt.guide and Demo scripts are in $DOSRTPATH\nThe DOS Extensions are in $target" "_Continue" POS CENTERSCR
ENDIF
QUIT
LAB ABORT
rtezrequest "DOSReqTools Information" BODY "The installation has been aborted at your request.\nThank you and have a nice day, dude." BUTTONTEXT "_Quit" POS CENTERSCR