
@If (@OptionIsSet(104))

    @SetOption(3001)

@Endif


//  @Debug("In ELOQ.INC, JFWDrive = @JFWDrive, JFWDir   = @JFWDir", 0)

    @ChDrive(@JFWDrive)
    @ChDir("@JFWDir")

    @Copy("@JFWDrive:\\@JFWDir\\InstTmp\\CW3220MT.DLL", "@JFWDrive:\\@JFWDir\\CW3220MT.DLL")
    @Copy("@JFWDrive:\\@JFWDir\\InstTmp\\REGSVR32.EXE", "@JFWDrive:\\@JFWDir\\REGSVR32.EXE")
    @Copy("@JFWDrive:\\@JFWDir\\InstTmp\\ENU.SYN", "@JFWDrive:\\@JFWDir\\ENU.SYN")

//    @If(3001 [= @Option)
//    @Display @Cls 3001 @Pause @EndDisplay
//      @WEResult = @WinExec("regsvr32 /s enu.syn", 2, (-1) )
//    @Endif

    @If(3002 [= @Option)
    //@Display @Cls 3002 @Pause @EndDisplay
      @Copy("@JFWDrive:\\@JFWDir\\InstTmp\\ENG.SYN", "@JFWDrive:\\@JFWDir\\ENG.SYN")
//      @WEResult = @WinExec("regsvr32 /s eng.syn", 2, (-1) )
    @Endif

    @If(3003 [= @Option)
//    @Display @Cls 3003 @Pause @EndDisplay
      @Copy("@JFWDrive:\\@JFWDir\\InstTmp\\ESP.SYN", "@JFWDrive:\\@JFWDir\\ESP.SYN")
      //@WEResult = @WinExec("regsvr32 /s esp.syn", 2, (-1) )
    @Endif

    @If(3004 [= @Option)
//    @Display @Cls 3004 @Pause @EndDisplay
      @Copy("@JFWDrive:\\@JFWDir\\InstTmp\\ESM.SYN", "@JFWDrive:\\@JFWDir\\ESM.SYN")
//      @WEResult = @WinExec("regsvr32 /s esm.syn", 2, (-1) )
    @Endif

    @If(3005 [= @Option)
//    @Display @Cls 3005 @Pause @EndDisplay
      @Copy("@JFWDrive:\\@JFWDir\\InstTmp\\FRA.SYN", "@JFWDrive:\\@JFWDir\\FRA.SYN")
//      @WEResult = @WinExec("regsvr32 /s fra.syn", 2, (-1) )
    @Endif

    @If(3006 [= @Option)

//    @Display @Cls 3006 @Pause @EndDisplay
      @Copy("@JFWDrive:\\@JFWDir\\InstTmp\\DEU.SYN", "@JFWDrive:\\@JFWDir\\DEU.SYN")
//    @WEResult = @WinExec("regsvr32 /s deu.syn", 2, (-1) )
    @Endif

    @If(3007 [= @Option)
//    @Display @Cls 3007 @Pause @EndDisplay
      @Copy("@JFWDrive:\\@JFWDir\\InstTmp\\ITA.SYN", "@JFWDrive:\\@JFWDir\\ITA.SYN")
//      @WEResult = @WinExec("regsvr32 /s ita.syn", 2, (-1) )
    @Endif




//  @If(3001 [= @Option)
//  @Else
//      @If(3002 [= @Option)
//      @Else
//          @If(3003 [= @Option)
//          @Else
//              @If(3004 [= @Option)
//              @Else
//                  @If(3005 [= @Option)
//                  @Else
//                      @If(3006 [= @Option)
//                      @Else
//                          @If(3007 [= @Option)
//                          @Else
//                              @Copy("@JFWDrive:\\@JFWDir\\InstTmp\\ENU.SYN", "@JFWDrive:\\@JFWDir\\ENU.SYN")
//                                @WEResult = @WinExec("regsvr32 /s enu.syn", 2, (-1) )
//                          @Endif
//                      @Endif
//                  @Endif
//              @Endif
//          @Endif
//      @Endif
//
//  @Endif


  @Copy("@JFWDrive:\\@JFWDir\\InstTmp\\ECI32D.DLL", "@JFWDrive:\\@JFWDir\\ECI32D.DLL")
  @Copy("@JFWDrive:\\@JFWDir\\InstTmp\\ELOQ.CFG", "@JFWDrive:\\@JFWDir\\ELOQ.CFG")

  @Delete("@JFWDrive:\\@JFWDir\\InstTmp\\*.syn")


   @ChDrive(@InDrive)
   @ChDir("@StartupDir")

	@If (@Already("Synthesizers", "eloq") == @False)
        @FindHighestInstalledSynth()

  	    @SetIni( "Synthesizers", "Synth@HighestInstalledSynth@!Name", "eloq", "@OutDrive:\\@JFWDir\\JFW.INI" )
	    @SetIni( "Synthesizers", "Synth@HighestInstalledSynth@!LongName", "Eloquence Software", "@OutDrive:\\@JFWDir\\JFW.INI" )
	    @SetIni( "Synthesizers", "Synth@HighestInstalledSynth@!Port", "UNKNOWNUNKNOWN", "@OutDrive:\\@JFWDir\\JFW.INI" )
	    @SetIni( "Synthesizers", "Synth@HighestInstalledSynth@!Driver", "eloq", "@OutDrive:\\@JFWDir\\JFW.INI" )
    @Endif

    @Delete("@JFWDrive:\\@JFWDir\\DTLKTTSE.DLL")
    @Delete("@JFWDrive:\\@JFWDir\\SPEECH.DLL")
    @Delete("@JFWDrive:\\@JFWDir\\VCAUTO.TLB")
    @Delete("@JFWDrive:\\@JFWDir\\VCMD.EXE")
    @Delete("@JFWDrive:\\@JFWDir\\VCMSHL.DLL")
    @Delete("@JFWDrive:\\@JFWDir\\VTXTAUTO.TLB")

