@DefineVars

@Integer @lpCounter = 0

@EndVars


@DefineProto

//Get Options for Full Installation, gets user input for all options, allows secondary synth/braille device
//Also used in MakeDefaults to get options!
@Void @GetCustomOptions ( @Void )

@EndProto

// Modified on 07/03/97 @ 12:49 - JDB - changed code to increment and decrement NumSynths@.
@DefineFunc @Void @GetCustomOptions ( @Void )
//@GetKeyboardType()

@SetOption(200)
@KeyboardType = "DESKTOP"


@GetDriveAndDirInfo()
//  @Display
//  @Cls
//    JFW Dir : @JFWDir  Jfw Drv : @JfwDrive
//  @Pause
//  @EndDisplay

@WinHomeDrive = @WinDrive
@WinHomeDir = "@WinDir"
@NumSynths = 1


@Display
@Cls
Eloquence is the software synthesizer that
is included with JAWS for Windows. If you
do not choose it the install program will
automatically add it.

If you are installing a DECtalk Express
and wish to continue using your DOS
screen reader, choose the DECtalk PC/Express,
and be certain to use your Digital driver as
supplied with your DECtalk Express.

If you are installing for a Keynote Hardware
synthesizer, be sure to use the Keynote
Hardware/SSIL choice.

Please note that parallel devices can NOT be
used with Windows NT.
@Pause
@EndDisplay


lpCounter:

//    @Display
//    @Cls
//    Before GetPrimarySynth()
//    @Pause
//    @EndDisplay


    @GetPrimarySynth()

//    @Display
//    @Cls
//    After GetPrimarySynth()
//    @Pause
//    @EndDisplay


    @NumSynths = @SynthFileCounter
  @If (@IsEqual(@PrimarySynthType,"NONE"))
    @NumSynths = 0
  @Endif


@If (@InstallFromHard)

    @If ( @Exists("@StartupDrive:\\@StartupDir\\DEFAULT.INI") )

        @If (@SoundCardInstalled)
Again3:


         @If (2001 [= @Option)
               @Goto Done2
         @Endif

        @DlgCtrlSize(0, 8, 5, 17, 30)

        @GetOption
        @Cls
        @If(@FindEloqInInx("@TTempDir\\synth.inx") == @False )The Eloquence synthesizer has been added by default. @Endif
        American English will be installed as the default
        language.  Please select additional languages to
        use with Eloquence, or select "No More" to
        continue the install.
        @Option 2000 = "No More..."
        @Option 2001 = "All Languages"
        @Option 2002 = "British English"
        @Option 2005 = "French"
        @Option 2006 = "German"
        @Option 2007 = "Italian"
        @Option 2003 = "Spanish, Castilian"
        @Option 2004 = "Spanish, Latin American"
        @EndOption
        @DlgCtrlSize (0,-1,-1,0,0)

        @If (2000 [= @Option)
            @Goto Done
        @Else
            @If (2001 [= @Option)
                @SetOption(3001)
                @SetOption(3002)
                @SetOption(3003)
                @SetOption(3004)
                @SetOption(3005)
                @SetOption(3006)
                @SetOption(3007)
//                @Goto Done
            @Endif
            @If (2002 [= @Option)
                @SetOption(3002)
            @Endif
            @If (2003 [= @Option)
                @SetOption(3003)
            @Endif
            @If (2004 [= @Option)
                @SetOption(3004)
            @Endif
            @If (2005 [= @Option)
                @SetOption(3005)
            @Endif
            @If (2006 [= @Option)
                @SetOption(3006)
            @Endif
            @If (2007 [= @Option)
                @SetOption(3007)
            @Endif



            @Goto Again3
        @Endif

      @Endif

    @Endif

@Endif


Done:
Done2:
// @Endif



// @Display
// @Cls
// Please note when selecting braille devices
// that parallel devices can NOT be used
// with Windows NT.  Only serial devices work
// with Windows NT.  Windows 95 can use serial
// or parallel devices.
// @Pause
// @EndDisplay



  @NumBraille = 1
  @GetPrimaryBraille()

  @If (@IsEqual(@PrimaryBrailleType,"NONE"))
    @NumBraille = 0
  @ElseIf (@GetAnother("Braille Device")==@Yes)
    @NumBraille = 2
    @GetSecondaryBraille()
    @If (@IsEqual(@SecondaryBrailleType,"NONE"))
      @NumBraille = 1
    @Endif
  @Endif
  //@AddStartup = @AddToStartup()
  @return()
@EndFunc
