home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 9
/
FreshFishVol9-CD2.bin
/
bbs
/
util
/
dosk-1.0.lha
/
DosK
/
Installer
< prev
next >
Wrap
Text File
|
1995-01-04
|
2KB
|
90 lines
;DO NOT erase any commands from your C Directory
ALIAS RQ REQUESTCHOICE
rq >env:answer "KCommands Installer" "INSERT DISK IN DF0: WITH TAB OPEN" "READY" "ABORT"
IF EXISTS SYS:UTILITIES/MULTIVIEW
ELSE
ECHO "OPERATION ABORTING. YOU MUST INSTALL"
ECHO " MULTIVIEW IN YOUR WORKBENCH UTILITIES"
ECHO "DIRECTORY. TRY AGAIN WHEN INSTALLED"
WAIT 5 SECS
SKIP BYE2
ENDIF
if $answer EQ "1"
ECHO "INSTALLING DosK V1.0 Release 1.0"
ECHO "January 2, 1995"
IF EXISTS SYS:S
COPY SYS:S/USER-STARTUP TO DF0:ORIGIONAL_US
ENDIF
ELSE
endcli
ENDIF
IF NOT EXISTS SYS:S/USER-STARTUP
ECHO >SYS:S/USER-STARTUP ";USER STARTUP FILE"
ENDIF
;==================================================
;COPY COMMANDS TO SYS:C
COPY COMMANDS/#? TO SYS:C
;==================================================
;==================================================
;COPY COMMANDS HELP TO KHELP
REQUESTCHOICE >ENV:CHO2 "" "COPY ICONS WITH HELP FILES ?" "YES" "NO"
IF NOT EXISTS SYS:KHELP
MAKEDIR SYS:KHELP
COPY DF0:KHELP.INFO TO SYS:KHELP.INFO
ENDIF
WAIT 2 SECS
IF $CHO2 EQ "0"
SKIP IGNORE
ELSE
COPY KHELP/#? TO SYS:KHELP
SKIP IGNORE2
ENDIF
LAB IGNORE
COPY KHELP/#? TO RAM:TEMPDIR QUIET
DELETE RAM:TEMPDIR/#?.INFO QUIET
COPY RAM:TEMPDIR/#? TO SYS:KHELP
DELETE RAM:TEMPDIR/#? QUIET
DELETE RAM:TEMPDIR QUIET
LAB IGNORE2
;==================================================
;==================================================
;COPY PD COMMANDS IF DESIRED
ECHO "FOR THE COMMAND VidK TO WORK YOU NEED THE "
ECHO "THE PD COMMANDS NTSC & PAL INSTALLED"
REQUESTCHOICE >ENV:CHO "DosK Installer" "INSTALL NTSC & PAL" "YES" "NO"
IF $CHO EQ "1"
COPY DF0:PAL-NTSC/NTSC TO SYS:C
COPY DF0:PAL-NTSC/PAL TO SYS:C
UNSETENV CHO
ENDIF
IF $CHO EQ "0"
DELETE SYS:C/VIDK QUIET
IF EXISTS SYS:KHELP/VIDK_HELP
DELETE VIDK_HELP QUIET
IF EXISTS SYS:KHELP/VIDK_HELP.INFO
DELETE VIDK_HELP.INFO QUIET
ENDIF
ENDIF
ENDIF
;==================================================
;ACTIVATE USER FILES
copy df0:USERFILES/adduser1 to ram:
copy sys:s/user-startup to ram:
cd ram:
join user-startup adduser1 as addtest
delete ram:user-startup quiet
delete ram:adduser1 quiet
rename ram:addtest as ram:user-startup
copy ram:user-startup to sys:s
;=================================================
lab ok
echo "INSTALLATION COMPLETE PLEASE REBOOT"
lab pickup
LAB BYE
lab bye2
endcli
LAB DONE