.K ""
; Install file for ImageLab V2.4
; Modified by fnf for use with Xicon, to install in ram:

echo "=============*E[33mImageLab V2.4*E[31m=============="
echo "=============*E[33m Installation*E[31m =============*N"
failat 30


;---------------------------------------------------------------------------
; First, create the directory and move the main files in.

echo "  ImageLab Installation..."

if not exists ram:ImageLab
	makedir ram:ImageLab
	copy /ImageLab.info ram:ImageLab.info
endif

assign ImageLab: ram:ImageLab

copy ImageLab ImageLab: CLONE
copy ImageLab.Help ImageLab: CLONE
copy ImageLab.Doc ImageLab: CLONE
filenote ImageLab:ImageLab "ImageLab V2.4 ©1991, by Gary W. Milliorn."


;---------------------------------------------------------------------------
; Next, install the 1.3 or 2.0 icons.

echo "*N  Icon Installation..."
echo "    Due to the way 2.0 changes the default WorkBench colors,"
echo "    ImageLab has two different icons: one for 1.3 and another"
echo "    for 2.0.*N"

echo "    *E[33mAre you running on a 2.0 system ? *E[31m"
Ask  "    Enter 'y' or 'n'"
if warn
	copy ImageLab.IInfo20 ImageLab:ImageLab.info
	copy ImageLab.TInfo20 ImageLab:ImageLab.Doc.info
	copy ImageLab.HInfo20 ImageLab:ImageLab.Help.info
	copy ImageLab.DInfo20 ImageLab:.info
else
	copy ImageLab.IInfo13 ImageLab:ImageLab.info
	copy ImageLab.TInfo13 ImageLab:ImageLab.Doc.info
	copy ImageLab.HInfo13 ImageLab:ImageLab.Help.info
	copy ImageLab.DInfo13 ImageLab:.info
endif

;---------------------------------------------------------------------------
; Next, try to install the optional font.

if not exists FONTS:ceres.font
  echo "*N  Font Installation..."
  echo "    ImageLab handles proportional fonts in its menus and requesters."
  echo "    The font included in this distribution, `Ceres', is a sans-serif,"
  echo "    9-point, bold, proportional font that looks rather well."
  echo "    Installing it is completely optional.*N"

  echo "    *E[33mDo you want to install the Ceres/9 font ? *E[31m"
  Ask  "    Enter 'y' or 'n'"
  if warn
    copy ceres.font FONTS:ceres.font
    if not exists FONTS:ceres
        makedir FONTS:ceres
    endif
    copy 9b FONTS:ceres/9b
  endif
endif


;---------------------------------------------------------------------------
; All done!

echo "*N===============*E[33m Complete*E[31m ==============="
echo
