echo -text "Installing ArcWare ..."

invoke -entry awinst_init

text -filename $BOOTPATH/awinst.$LANG -package 0
text -filename $BOOTPATH/aw_elog.$LANG -package 0
text -filename $BOOTPATH/awdata.eng -package 0
text -filename $BOOTPATH/rlaw.eng -package 0
text -filename $BOOTPATH/awmmc.$LANG -package 0

config -filename $BOOTPATH/aw_sys.cfg -domain SYS  -internal
config -filename $BOOTPATH/aw.cfg -domain PROC
config -filename $BOOTPATH/awinst.cfg -domain MMC -internal
config -filename $BOOTPATH/rlaw.cfg -domain MMC -internal
config -filename $BOOTPATH/awmmc.cfg -domain MMC

append -from $BOOTPATH/startup.aw -to option.cmd

invoke -entry awinst_new
