failat 30

echo " This disk contains a MUI 3.0 (Computer 95 Release)."
echo " lease read the 'ReadMe' file!"
echo ""
echo " Diese Diskette enthält MUI 3.0 (Computer 95 Release)."
echo " Bitte lesen Sie die 'LiesMich' Datei!"
echo ""
echo " This script will unpack the MUI archive to some directory of your choice."
echo " After that, you will have to move to this directory, go to the Install-"
echo " Directory and choose the desired language."
echo ""
echo " Note:  · at least 2 MB of free space are required."
echo "        · es werden mindestens 2 MB freier Platz benötigt."
echo ""

echo " Please enter the directory now (e.g. RAM: or SYS:) " noline

set >nil: dest ?

echo ""

if $dest eq ""
	skip abort
endif

if $dest eq "*$dest"
	skip abort
endif

if not exists $dest
	echo "'$dest' does not exist. Shall I create it (y/n)? " noline
	set >nil: yesno ?
	if $yesno eq "ja"
		skip create
	endif
	if $yesno eq "j"
		skip create
	endif
	if $yesno eq "y"
		skip create
	endif
	if $yesno eq "yes"
		skip create
	endif
	skip abort
	lab create
	makedir $dest
	if warn
		echo "Failed to create '$dest'."
		skip abort
	endif
endif

echo ""
echo " Unpacking process running."
echo " This may take a few minutes on slow machines... " noline

set dest `addslash $dest`
mui30c95.run >nil: -i $dest

echo "READY."
quit

lab abort
echo " Installation aborted."
quit
