@DefineProject
        @Name="Sportcheck Basketball Edition"
        @Version="1993"
        @Subdir="\\SPORTC\\"
        @OutDrive       = C
@EndProject

@Display
        @Cls

        This program will install the @Version @Name
        on your computer and verify the integrity of the distribution
        disk(s).  You may press the [Esc] key at any time to abort the
        installation.  INSTALL will ask you several questions about your
        computer hardware and then copy @Name to the
        appropriate disk drive.

        Each question has a default answer.  If the default answer is
        correct, press the ENTER key in response to the question.
        Otherwise, type the answer and then press the ENTER key.

        If you make a mistake while typing, press the BACKSPACE key
        and then retype the answer.

@Pause
@EndDisplay

@GetOutDrive
        @Cls

    On which disk drive do you wish to install @Name?













@EndOutDrive

@If(@DiskSize @OutDrive > 500K)

    @Display
            @Cls


            @IF(@DiskFree @OutDrive < 500K)
                The selected output disk drive only has
                @DiskFree @OutDrive bytes available.  This program
                requires approximately 500000 bytes
                available to install.





                @Pause
                @Abort
            @EndIf

    @EndDisplay


    @GetSubdir
            @Cls
            Now you need to specify the disk destination subdirectory.  The
            subdirectory is the location on your disk where the program
            will be installed.  If the subdirectory that you specify does
            not currently exist, it will be created for you.








            @Prompt = "Which subdirectory ([Enter] = @Subdir) ?"
    @EndSubdir

    @If (@Exists "@OutDrive:\\@Subdir\\BKCARDS.DBF")
      @Display

      ***  WARNING  ***

      A previous version of Sportcheck Basketball Edition appears to be
      already installed in the specified disk subdirectory.  Continuing
      with this installation will overwrite the existing version and
      any card data which had been previously entered will be lost.

      If you do not wish to continue with this installation and overwrite
      the existing version of the Sportcheck program press ESCAPE at this
      time.  Otherwise, press any other key to continue.

        @Pause
      @EndDisplay
    @EndIf

    @DefineDisk
        @Label = "Installation Disk 1"
           @File MANUAL.DOC
           @BeginLib BKFILES.LIB
            @File SPORTC.EXE   @Out "Sportcheck Basketball Edition":SPORTC.EXE
            @File SPORTCK.EXE  @Out "Sportcheck Basketball Edition":SPORTCK.EXE
            @File SPORTC.CFG   @Out "Sportcheck Basketball Edition":SPORTC.CFG
            @File SPORTCK.TOT  @Out "Sportcheck Basketball Edition":SPORTCK.TOT
            @File ORDER.DOC    @Out "Sportcheck Basketball Edition":ORDER.DOC
            @File BKCARDS.DBF  @Out "Sportcheck Basketball Edition":BKCARDS.DBF
            @File BKCARDC.DBF  @Out "Sportcheck Basketball Edition":BKCARDC.DBF
            @File BKVAL1.DBF   @Out "Sportcheck Basketball Edition":BKVAL1.DBF
            @File BKVALC.DBF   @Out "Sportcheck Basketball Edition":BKVAL2.DBF
            @File BKPLAYER.DBF @Out "Sportcheck Basketball Edition":BKPLAYER.DBF
            @File BKSETS.DBF   @Out "Sportcheck Basketball Edition":BKSETS.DBF
          @EndLib
    @EndDisk

@Else
    @Display
        @Cls

        There is not enough free disk space available on drive @OutDrive:
        to install the @Version @Name.  The selected
        output disk drive has @DiskFree @OutDrive bytes available.  This program
        requires approximately 500000 bytes available to install.









    @Pause
    @EndDisplay
    @Abort
@EndIf


@Finish
        @Cls
        @ChDrive @OutDrive
        @ChDir "@Subdir"
@EndFinish