@ECHO OFF
CLS
ECHO  
ECHO .............................................................................
ECHO .           Installation Program for Master Tracks Pro Demo
ECHO .                             Version: 3.7
ECHO .
ECHO .               This Demo Requires Microsoft (R) Windows
ECHO .............................................................................
ECHO  
IF NOT EXIST YN.COM GOTO ERROR
ECHO This program will install the Master Tracks Pro Demo and sample files in the
ECHO drive and directory that you specify. We suggest that you simply choose the
ECHO directory where Windows is already installed or some other directory that
ECHO exists in your PATH statememt. If you specify a directory that does not exist
ECHO we will create it for you. In that case you should add the new directory to
ECHO your PATH statement or change to that directory before running the demo.
ECHO  
YN   Do you want to install the Master Tracks Pro Demo now?
IF NOT ERRORLEVEL 1 GOTO EXIT
ECHO  
ECHO Enter the drive and directory where you want the demo installed.
ECHO DO NOT include the "\" character at the end.  i.e. C:\WINDOWS
ANSWER   Enter drive and directory: 
MD %ANSWER%
CLS 
ECHO  
ECHO Copying the demo files, please wait.....
ECHO  
COPY MTPDEMO.EXE %ANSWER%
IF ERRORLEVEL 1 GOTO ERROR2
IF NOT EXIST %ANSWER%\WIN87EM.EXE COPY WIN87EM.EXE %ANSWER%
COPY *.M?? %ANSWER%
CLS  
ECHO  
ECHO The demo has been installed in %ANSWER% 
ECHO  
ECHO To run the demo with Windows version 2 type...  WIN MTPDEMO
ECHO To run the demo with Windows version 3 type...  WIN /r MTPDEMO
ECHO  
GOTO EXIT
:ERROR
ECHO ERROR: You must make the source floppy drive the default drive in order to
ECHO run the install program.  i.e. Type....
ECHO                                        A:           (or B:)
ECHO                                        INSTALL
GOTO EXIT
:ERROR2
ECHO ERROR: An error occured while copying files. The demo was not installed. 
ECHO  
:EXIT
ECHO  
