@DefineProject 
   @Name               = "BIG D" 
   @Version            = "6.0.7" 
   @Subdir             = "\\BIGD6" 
   @OutDrive           = Z 
@EndProject 

@DefineVars
        @Integer        @AllFiles       = 5500000
        @Integer        @ExeSupport     = 4200000
        @Integer        @ACADSupport    =  700000
        @Integer        @MatTextures    =  600000
@EndVars

@Display
    This program will install @Name version @Version
    on your computer system 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 give you the option of installing only
    selected parts of @Name.

    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

@Display
    @Cls

    @If (@CPU < 386)
        Your computer is running on a 80@CPU CPU.
        @Name requires an 80386 or 80486 CPU.  

        @Abort
    @Endif

    @If (@NDP == 0)
        An Intel math coprocessor is required to run @NAME
        and no math coprocessor was found.  You must install one 
        before @NAME can be run.

        @Abort
    @Endif

    @If ((@OSMajor * 100 + @OSMinor) < 330)
        @NAME requires DOS version 3.30 or higher.

        @Abort
    @Endif
@EndDisplay

@GetOutDrive
    @Suppress A      /* don't display A: */
    @Suppress B      /* or B:            */
    @Cls
    On which disk drive do you wish to install @Name?












    Use the up and down cursor keys to scroll through the
    list of disk drives.  Press the RETURN key when you have 
    selected a drive.

@EndOutDrive

@GetSubdir
    @Cls
    Now you need to specify the disk destination subdirectory.  The
    subdirectory is the location on your disk where the @Name system
    will be installed.  If you don't know what a "subdirectory" is, you
    probably need not worry about it, and should press the RETURN key
    for the next prompt.

    If you are using a subdirectory system, and the DOS PATH command,
    and you install @Name in the @Subdir subdirectory, you will
    probably want to modify the PATH so that it includes the
    subdirectory @Subdir in addition to the current subdirectories.


    @Prompt = "Which subdirectory ([Enter] = @Subdir) ?"
@EndSubdir


@If (@Exists "@OutDrive:@SubDir")
    @GetOption
    CAUTION: A directory named @OutDrive:@SubDir already exists.
    Do you want to continue installing @NAME in this directory?





    If you continue installing @NAME, critical files in this directory
    and any of its subdirectories may be destroyed. You might especially
    want to abort the installation now and make copies of any existing
    material libraries before installing @NAME.

        @Option 1 = "Yes"
        @Option 2 = "No"
    @EndOption
@Endif

@Display
    @If(2 [= @Option)
        Aborting installation.
        @Abort
    @Endif
@EndDisplay

@Getgroups
    @CLS
    Here you select the parts of @NAME you want to install.








    This program creates a subdirectory to hold the files for 
    each category.  The Executable/Support files are the only 
    ones required to run @NAME.

    @SET A = "Install all files"
    @SET E = "The @NAME Executable and Support files only"
    @SET S = "The AutoCAD Support files only"
    @SET M = "The Material Libraries and Texture Maps only"

    Use the up and down cursor keys to scroll through the list.
    Use the SPACE_BAR key to toggle the YES/NO state of the
    current selection.
    Press the RETURN key to accept the selection(s).
    Press the ESC key to abort.
@EndGroups

@If (('A' [= @Group) || ('E' [= @Group))
    @GetOption
    Do you want to install the Intel 80387 or the Weitek 1167/3167
    version of @NAME?





    You must have a Weitek 1167/3167 math coprocessor installed
    in your computer to use the Weitek 1167/3167 version of @NAME.

    Even if you choose to use the Weitek 1167/3167 version,
    @NAME still requires an Intel 80387 math coprocessor to be
    present.

        @Option 10 = "Intel"
        @Option 11 = "Weitek"
    @EndOption
@EndIf

@If (('A' [= @Group) && (@DiskFree  @OutDrive < @AllFiles))
    @GetOption
    The selected output disk drive only has @DiskFree @OutDrive bytes free.
    To install all files, @AllFiles bytes are required.

        @Abort 
    @EndOption
@EndIf

@If (('E' [= @Group) && (@DiskFree  @OutDrive < @ExeSupport))
    @GetOption
    The selected output disk drive only has @DiskFree @OutDrive bytes free.
    To install the Executable and Support files, @ExeSupport bytes
    are required.
         
        @Abort 
    @EndOption
@EndIf

@If (('S' [= @Group) && (@DiskFree  @OutDrive < @ACADSupport))
    @GetOption
    The selected output disk drive only has @DiskFree @OutDrive bytes free.
    To install the AutoCAD Support files, @ACADSupport bytes are required.
         
        @Abort 
@EndIf

@If (('M' [= @Group) && (@DiskFree  @OutDrive < @MatTextures))
    @GetOption
    The selected output disk drive only has @DiskFree @OutDrive bytes free.
    To install the Materials Libraries and Texture Maps, @AllFiles bytes
    are required.
         
        @Abort 
    @EndOption
@EndIf

@DefineDisk
    @Label = "Disk 1"

    @BeginLib EXEC1.LIF
        @File    BD.EXE           @Out *.*            @Group AE
        @File    BD0.EXE          @Out *.*            @Group AE
        @File    BD1.EXE          @Out *.*            @Group AE
        @File    BDCONVRT.EXE     @Out *.*            @Group AE
        @File    BDSETUP.EXE      @Out *.*            @Group AE
    @EndLib
@EndDisk

@DefineDisk
    @Label = "Disk 2"

    @BeginLib EXEC2.LIF
        @File    BD4I.EXE         @Out BD4.EXE        @Group AE    @Option 10
        @File    BD4W.EXE         @Out BD4.EXE        @Group AE    @Option 11
        @File    SHOWATV.EXE      @Out *.*            @Group AE
        @File    SHOWGEN.EXE      @Out *.*            @Group AE
        @File    SHOWTGAP.EXE     @Out *.*            @Group AE
        @File    GENERIC.DRV      @Out DRIVER\*.*     @Group AE
        @File    TARGAP.DRV       @Out DRIVER\*.*     @Group AE
        @File    ATVISTA.DRV      @Out DRIVER\*.*     @Group AE
    @EndLib
@EndDisk

@DefineDisk
    @Label = "Disk 3"

    @BeginLib ACADSUP.LIF
        @File BDRSURF.LSP         @Out ACADSUP\*.*    @Group AS
        @File GQ-MAN.DWG          @Out ACADSUP\*.*    @Group AS
        @File PAINTING.DWG        @Out ACADSUP\*.*    @Group AS
        @File PEPSI.DWG           @Out ACADSUP\*.*    @Group AS
        @File SKY.DWG             @Out ACADSUP\*.*    @Group AS
        @File TREE.DWG            @Out ACADSUP\*.*    @Group AS
        @File AACAD.MNU           @Out ACADSUP\*.*    @Group AS
        @File AFBUTTON.LSP        @Out ACADSUP\*.*    @Group AS
        @File ASHADE.MNU          @Out ACADSUP\*.*    @Group AS
        @File ATK.DOC             @Out ACADSUP\*.*    @Group AS
        @File ATKDOC.DWG          @Out ACADSUP\*.*    @Group AS
        @File ATKSETUP.DWG        @Out ACADSUP\*.*    @Group AS
        @File BLOCKIT.LSP         @Out ACADSUP\*.*    @Group AS
        @File KINETIC.LSP         @Out ACADSUP\*.*    @Group AS
        @File PATH.LSP            @Out ACADSUP\*.*    @Group AS
        @File PTOOLS.LSP          @Out ACADSUP\*.*    @Group AS
    @EndLib

    @BeginLib BIGDSUP.LIF
        @File BIGD.BDS            @Out *.*            @Group AE
        @File HOUSE.BDE           @Out *.*            @Group AE
        @File HOUSE.BDS           @Out *.*            @Group AE
        @File HOUSE.DWG           @Out *.*            @Group AE
        @File HOUSE.DXF           @Out *.*            @Group AE
        @File LOGO.BDE            @Out *.*            @Group AE
        @File LOGO.BDS            @Out *.*            @Group AE
        @File LOGO.DWG            @Out *.*            @Group AE
        @File LOGO.DXF            @Out *.*            @Group AE
        @File SHOWMAT.BDE         @Out SHOWMAT\*.*    @Group AE
        @File SHOWMAT.BDS         @Out SHOWMAT\*.*    @Group AE
    @EndLib

    @BeginLib DRIVER.LIF
        @File GBISVGA.HDI         @Out DRIVER\*.*     @Group AE
        @File GSERVER.DRV         @Out DRIVER\*.*     @Group AE
        @File MSGRAPH.HDI         @Out DRIVER\*.*     @Group AE
        @File TIGA.HDI            @Out DRIVER\*.*     @Group AE
    @EndLib

    @BeginLib FONT.LIF
        @File HELVR108.HFF        @Out FONT\*.*       @Group AE
        @File HELVR111.HFF        @Out FONT\*.*       @Group AE
        @File HELVR112.HFF        @Out FONT\*.*       @Group AE
        @File HELVR114.HFF        @Out FONT\*.*       @Group AE
        @File HELVR119.HFF        @Out FONT\*.*       @Group AE
        @File HELVR125.HFF        @Out FONT\*.*       @Group AE
        @File HELVR706.HFF        @Out FONT\*.*       @Group AE
        @File HELVR708.HFF        @Out FONT\*.*       @Group AE
        @File HELVR709.HFF        @Out FONT\*.*       @Group AE
        @File HELVR711.HFF        @Out FONT\*.*       @Group AE
        @File HELVR714.HFF        @Out FONT\*.*       @Group AE
        @File HELVR719.HFF        @Out FONT\*.*       @Group AE
    @EndLib

    @BeginLib HELP.LIF
        @File    BIGD.HDX         @Out *.*
        @File    BIGD.HLP         @Out *.*
    @EndLib

    @BeginLib LIB.LIF
        @File BIGD.BDM            @Out LIB\*.*        @Group AM
        @File BRIGHT.BDM          @Out LIB\*.*        @Group AM
        @File DARK.BDM            @Out LIB\*.*        @Group AM
        @File MATTE.BDM           @Out LIB\*.*        @Group AM
        @File REFLECT.BDM         @Out LIB\*.*        @Group AM
        @File REFLTRAN.BDM        @Out LIB\*.*        @Group AM
        @File SHINY.BDM           @Out LIB\*.*        @Group AM
        @File TRANSPAR.BDM        @Out LIB\*.*        @Group AM
    @EndLib

    @BeginLib MAP.LIF
        @File BEECH.GIF           @Out MAP\*.*        @Group AM
        @File BRCKBEIG.GIF        @Out MAP\*.*        @Group AM
        @File BRCKPAVR.GIF        @Out MAP\*.*        @Group AM
        @File BRCKRED.GIF         @Out MAP\*.*        @Group AM
        @File CEDAR.GIF           @Out MAP\*.*        @Group AM
        @File CEDRPLNK.GIF        @Out MAP\*.*        @Group AM
        @File CHECKER.GIF         @Out MAP\*.*        @Group AM
        @File CONCRBLK.GIF        @Out MAP\*.*        @Group AM
        @File GLASSBLK.GIF        @Out MAP\*.*        @Group AM
        @File GQMAN.GIF           @Out MAP\*.*        @Group AM
        @File GRASS.GIF           @Out MAP\*.*        @Group AM
        @File MARBLTAN.GIF        @Out MAP\*.*        @Group AM
        @File PAINTING.GIF        @Out MAP\*.*        @Group AM
        @File PEPSI.GIF           @Out MAP\*.*        @Group AM
        @File PINE.GIF            @Out MAP\*.*        @Group AM
        @File ROCKWHIT.GIF        @Out MAP\*.*        @Group AM
        @File SHNGCOMP.GIF        @Out MAP\*.*        @Group AM
        @File SHNGWOOD.GIF        @Out MAP\*.*        @Group AM
        @File SKY.GIF             @Out MAP\*.*        @Group AM
        @File STONETAN.GIF        @Out MAP\*.*        @Group AM
        @File STUCWHIT.GIF        @Out MAP\*.*        @Group AM
        @File TILEBEIG.GIF        @Out MAP\*.*        @Group AM
        @File TREE.GIF            @Out MAP\*.*        @Group AM
    @EndLib
@EndDisk

@Finish
    @ChDrive            @OutDrive
    @ChDir "@SubDir"

    Installation of @Name is now finished.

    @Pause
    @ChDrive                      @OutDrive
    @ChDir                        "@Subdir"
    @System                       "mkdir temp"
    @Execute                      "BDSETUP.EXE", ""
@EndFinish

/* end-of-file */
