.bra «
.ket »
;                       $VER: Installation COuntdoWN (12.05.96)
set Defdir "Ram:" ; Set Default directory
set Cdir "COuntdoWN"
;
lab 1keystart
echo "                C O u n t d o W N   shareware version"
echo " "
;
echo "Do you want the installation to proceed - YES / NO : " noline ;
unset query
set >NIL: query ?
if "$query" EQ "yes"
skip 2keystart
endif
if "$query" EQ "no"
endcli
endif
if not
skip back 1keystart
endif
;
;
lab 2keystart
echo ""
echo "Please enter directory for holding the COuntdoWN dir."
echo "*N*E[1m  Insert [:] or [/] after a drive or directory name  "
echo "*N*E[0m "
echo "Default directory is $Defdir (- Press < return > for Ram: )"
echo ""
echo "Directory / Drive : " noline
unset query1
set >NIL: query1 ?
IF "$query1" EQ "*$query1"          
set query1 $Defdir
echo "Copying 'COuntdoWN' in $query1$Cdir directory...."
;if not exists libs:ami.lib
;c:copy countdown:libs/ami.lib libs: all quiet
;endif
IF NOT EXISTS $query1$Cdir
c:makedir $query1$Cdir
ENDIF
c:copy countdown:COuntdoWN $query1$Cdir all quiet
c:copy countdown:COuntdoWN.info $query1$Cdir all quiet
c:copy "countdown:REGISTRATION" $query1$Cdir all quiet
c:copy "countdown:REGISTRATION.info" $query1$Cdir all quiet
c:copy "countdown:HOW TO PLAY" $query1$Cdir all quiet
c:copy "countdown:HOW TO PLAY.info" $query1$Cdir all quiet
c:copy "countdown:ANIMATION/" $query1$Cdir/ANIMATION all quiet
c:copy "countdown:ORGANISER/" $query1$Cdir/ORGANISER all quiet
c:protect $query1$Cdir/ flags RWED all quiet
echo ""
echo ""
echo "Installation Completed - 'COuntdoWN' is in $query1$Cdir dir"
c:wait 2 sec
endcli
endif
;
echo "Copying 'COuntdoWN' in $query1$Cdir directory...."
;if not exists libs:ami.lib
;c:copy countdown:libs/ami.lib libs: all quiet
;endif
IF NOT EXISTS $query1$Cdir
c:makedir $query1$Cdir
ENDIF
c:copy countdown:COuntdoWN $query1$Cdir all quiet
c:copy countdown:COuntdoWN.info $query1$Cdir all quiet
c:copy "countdown:REGISTRATION" $query1$Cdir all quiet
c:copy "countdown:REGISTRATION.info" $query1$Cdir all quiet
c:copy "countdown:HOW TO PLAY" $query1$Cdir all quiet
c:copy "countdown:HOW TO PLAY.info" $query1$Cdir all quiet
c:copy "countdown:ANIMATION/" $query1$Cdir/ANIMATION all quiet
c:copy "countdown:ORGANISER/" $query1$Cdir/ORGANISER all quiet
c:protect $query1$Cdir/ flags RWED all quiet
echo ""
echo ""
echo "Installation Completed - 'COuntdoWN' is in $query1$Cdir dir"
c:wait 2 sec
endcli

