.key ""
echo "[0 p[32t[81u[4x[11y[40;31m"
echo ""
echo "          [43m                                          [40m"
echo "          [43m            [32mMaus Installation             [41m  [40m"
echo "          [43m                                          [41m  [40m"
echo "            [41m                                          [40m"
echo "[31m[1 p"

failat 25
echo "    Die vollstndige Installation vom Maus-Demo bentigt"
echo "        ca. 170.000 freie Bytes auf der System-Disk!"
ask "                 Soll ich weitermachen? (y/N)"

if warn
   echo "M                                                        M"
   if not exists s:maus.bootblocks
      echo "MM            Kopiere `s:maus.bootblocks' ...             "
      echo "                                                        "
      c:copy s/maus.bootblocks s:
   else
      echo "M                                                        "
      echo "MM         Die Datei `s:maus.bootblocks' existiert schon! "
      ask  "         Soll sie berschrieben werden? (y/N)"
      if warn
         echo "MM            Kopiere `s:maus.bootblocks' ....            "
         echo "                                                        "
         c:copy s/maus.bootblocks s:
      endif
   endif
   
   if not exists s:maus.brain
      echo "MM            Kopiere `s:maus.brain' ...                  "
      echo "                                                        "
      c:copy s/maus.brain s:
   else
      echo "M                                                        "
      echo "MM          Die Datei `s:maus.brain' ist schon vorhanden! "
      ask  "          Soll ich sie berschreiben? (y/N)"
      if warn
         echo "MM            Kopiere `s:maus.brain' ...                  "
         echo "                                                        "
         c:copy s/maus.brain s:
      endif
   endif
   
   if not exists s:maus.marks
      echo "MM            Kopiere `s:maus.marks' ...                  "
      echo "                                                        "
      c:copy s/maus.marks s:
   else
      echo "M                                                        "
      echo "MM          Eine Datei namens `s:maus.marks' gibt's schon!"
      ask  "          Soll sie berschrieben werden? (y/N)"
      if warn
         echo "MM            Kopiere `s:maus.marks' ...                  "
         echo "                                                        "
         c:copy s/maus.marks s:
      endif
   endif
   
   if not exists libs:req.library
      echo "MM            Kopiere `libs:req.library' ...              "
      echo "                                                        "
      c:copy libs/req.library libs:
   else
      echo "M                                                        "
      echo "MM          Das File `libs:req.library' existiert schon!  "
      ask  "          Soll ich es berschreiben? (y/N)"
      if warn
         echo "MM            Kopiere `libs:req.library' ...              "
         echo "                                                        "
         c:copy libs/req.library libs:
      endif
   endif

   if not exists sys:maus_demo
      echo "MM            Kopiere `sys:maus_demo' ...                 "
      echo "                                                        "
      c:copy maus_demo sys:
      if not warn
         c:copy maus_demo.info sys:
      endif
   else
      echo "M                                                        "
      echo "MM       Das Programm `sys:maus_demo' ist schon vorhanden!"
      ask  "          Soll ich es berschreiben? (y/N)"
      if warn
         echo "MM            Kopiere `sys:maus_demo' ...                 "
         echo "                                                        "
         c:copy maus_demo sys:
         if not warn
            c:copy maus_demo.info sys:
         endif
      endif
   endif

   echo "MM        Falls Sie das Hauptprogramm nicht im Verzeichnis"
   echo "        'SYS:' haben mchten, ziehen Sie es bitte mit   "
   echo "        der Maus in ein Verzeichnis Ihrer Wahl!         "
   echo "                       Das war's!   =:^)                "
else
   echo "M                                                        M"
   echo "MM                                                        "
endif

echo "          Dieses Fenster kann nun geschlossen werden!   "
echo "[0 p[40;30m"
endcli
