//*****************************************************************************
// Name         : INSTALL.DAT
// Project      : Installation miro CAD-BASIC-DISK
// Function     : Scriptfile for KDC-INSTALL
// Author       : UD / miro Computer Products AG, 
//                Carl-Miele-Str. 4, D-38112 Braunschweig
// created      : 16.08.93
// changed      : KF 24.01.95
// revision......when...................who.....->.where.and.what..............
// $Log:$
//*****************************************************************************

//*** project header block ****************************************************

@DefineProject
  @Name       = "miroωwin - High speed drivers for CAD"
  @Version    = "2.10"
  @Subdir     = "\\"
  @OutDrive   = @BootDrive
  @InDiskBell = 1
@EndProject


//*** define variables ********************************************************

@DefineVars
  @QString @mName     = "CAD basic disk"
  @Integer @UnInstall = @False
  @Integer @OldLang   = 0
@EndVars


//*** input language by user **************************************************

@SetGroup (E)
@OldLang = 1
@SetLang (0)

INPUTLANG:
@GetGroups
@LocalWindow (11,39)
@Cls 
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (18,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")

@If ('D' [= @Group)
@MoveCStr (1,1,63, " miroωwin Installation - High speed drivers for CAD")
@MoveCStr (4,1,31, "Willkommen bei der miroωwin Installation Version @Version")
//@MoveCStr (5,1,31, "")
@MoveCStr (7,1,31, "Sprachauswahl:")
@Set D = "Deutsch"
@Set E = "English"
@MoveCStr (19,2,63, "<\x18\x19>     : Auswahlmarke bewegen")
@MoveCStr (20,2,63, "<\x11\xD9>     : Sprache akzeptieren und fortfahren")
@MoveCStr (21,2,63, "<ESC>    : Installation abbrechen")
@Else
@MoveCStr (1,1,63, " miroωwin installation - High speed drivers for CAD")
@MoveCStr (4,1,31, "Welcome to the miroωwin installation version @Version") 
//@MoveCStr (5,1,31, "")
@MoveCStr (7,1,31, "Language selection:")
@Set E = "English"
@Set D = "Deutsch"
@MoveCStr (19,2,63, "<\x18\x19>     : move selection bar")
@MoveCStr (20,2,63, "<\x11\xD9>     : take selected language and continue")
@MoveCStr (21,2,63, "<ESC>    : abort installation")
@EndIf
@EndGroups

@If ('D' [= @Group && @OldLang != 0)
  @FlushGroups ()
  @SetGroup (D)
  @OldLang = 0
  @SetLang (1)
//@Goto INPUTLANG
@ElseIf ('E' [= @Group && @OldLang != 1)
  @FlushGroups ()
  @SetGroup (E)
  @OldLang = 1
  @SetLang (0)
//@Goto INPUTLANG
@EndIf  


//*** define language dependant strings ***************************************

@DefineVars
@If ('D' [= @Group)

@QString @M00 = " miroωwin Installation - High speed drivers for CAD"

@QString @M10 = "<\x18\x19>        : Auswahlmarke bewegen"
@QString @M11 = "<ESC        : Installation abbrechen"
@QString @M12 = "<Leertaste> : Punkt auswhlen / deaktivieren"
@QString @M13 = "<\x11\xD9>        : Board akzeptieren und fortfahren"
@QString @M14 = "<\x11\xD9>        : alle ausgewhlten Punkte akzeptieren und fortfahren"
@QString @M15 = "<\x11\xD9>        : Laufwerk akzeptieren und fortfahren"

@QString @M20 = "<\x1B\x1A>     : Cursor bewegen"
@QString @M21 = "<Einfg>  : Einfge- und berschreibmodus wechseln"
@QString @M22 = "<Entf>   : Zeichen unter Cursor lschen "
@QString @M23 = "<\x11\xC4>     : Zeichen links vom Cursor lschen"
@QString @M24 = "<\x11\xD9>     : Verzeichnis akzeptieren und fortfahren"
@QString @M25 = "<ESC>    : Installation abbrechen"

@QString @M30 = "Whlen Sie das Board aus, welches Sie installieren wollen:" 
@QString @M31 = "Whlen Sie die Treiber aus, die Sie installieren wollen:" 
@QString @M32 = "Installierte Software komplett entfernen"

@QString @M40 = "fr AutoCAD Rel. 12 (miroGTI 12)"
@QString @M41 = "fr AutoCAD Rel. 9 - 10 (miroADI)"
@QString @M42 = "fr Autodesk 3D Studio"
@QString @M43 = "fr Autodesk Animator Pro"
@QString @M44 = "fr MicroStation PC"
@QString @M45 = "fr AutoCAD fr Windows Rel. 12 (miroGTI 12 Win)"
@QString @M46 = "fr AutoCAD Rel. 11 (miroGTI 12)"
@QString @M47 = "fr AutoCAD Rel. 13 (miroGTI 12)"
@QString @M48 = "fr AutoCAD fr Windows Rel. 13 (miroGTI 13 Win)"

@QString @M50 = "Software entfernen:"
@QString @M140 = "nur System-Software"

@QString @M190 = "Whlen Sie Ihre Boardkonfiguration aus: "
@QString @M191 = "EIN Board "
@QString @M192 = "EIN HIRES Board zusammen mit einer miroCRYSTAL 8S "
@QString @M193 = "ZWEI IDENTISCHE Boards "
@QString @M194 = "miroMAGIC S4 zusammen mit einer miroVGA "
@QString @M195 = "Whlen Sie das HIRES Board aus, "
@QString @M196 = "welches Sie zusammen mit einer miroCRYSTAL 8S installieren wollen:" 
@QString @M197 = "Whlen Sie die ZWEI IDENTISCHEN Boards, welche Sie installieren wollen:" 

@QString @M60 = "Geben Sie das Verzeichnis fr alle System-Software an:"
@QString @M61 = "Geben Sie das Verzeichnis Ihrer AutoCAD Rel. 12 Installation an:"
@QString @M62 = "Geben Sie das Verzeichnis Ihrer Autodesk Animator pro Installation an:"
@QString @M63 = "Geben Sie das Verzeichnis Ihrer MicroStation PC Installation an:"
@QString @M64 = "Geben Sie das Verzeichnis Ihrer Windows 3.1 Installation an:"
@QString @M65 = "Geben Sie das Verzeichnis Ihrer AutoCAD fr Windows Rel. 12 Installation an:"
@QString @M66 = "Geben Sie das Verzeichnis Ihrer AutoCAD Rel. 13 Installation an:"

@QString @M70 = "Geben Sie das Laufwerk fr"
@QString @M71 = "alle System-Software an:"
@QString @M72 = ""
@QString @M73 = "Geben Sie das Laufwerk"
@QString @M74 = "Ihrer AutoCAD Rel. 12"
@QString @M75 = "Installation an:"
@QString @M76 = "Geben Sie das Laufwerk"
@QString @M77 = "Ihrer Autodesk Animator pro"
@QString @M78 = "Installation an:"
@QString @M80 = "Geben Sie das Laufwerk Ihrer"
@QString @M81 = "MicroStation PC Installation"
@QString @M82 = "an:"
@QString @M83 = "Geben Sie das Laufwerk Ihrer"
@QString @M84 = "Windows 3.1 Installation an:"
@QString @M85 = ""
@QString @M86 = "Geben Sie das Laufwerk Ihrer"
@QString @M87 = "AutoCAD fr Windows Rel. 12"
@QString @M88 = "Installation an:"
@QString @M89 = "Geben Sie das Laufwerk"
@QString @M90 = "Ihrer AutoCAD Rel. 13"
@QString @M91 = "Installation an:"
@QString @M100 = "Die Installation ist hiermit beendet."

@Else

@QString @M00 = " miroωwin installation - High speed drivers for CAD"

@QString @M10 = "<\x18\x19>     : move selection bar"
@QString @M11 = "<ESC>    : abort installation"
@QString @M12 = "<Space>  : toggle item"
@QString @M13 = "<\x11\xD9>     : take selected board and continue"
@QString @M14 = "<\x11\xD9>     : take all selected items and continue"
@QString @M15 = "<\x11\xD9>     : take selected drive and continue"

@QString @M20 = "<\x1B\x1A>     : move cursor"
@QString @M21 = "<Insert> : toggle insert / overwrite mode"
@QString @M22 = "<Delete> : delete char"
@QString @M23 = "<\x11\xC4>     : delete char left"
@QString @M24 = "<\x11\xD9>     : take selected directory and continue"
@QString @M25 = "<ESC>    : abort installation"

@QString @M30 = "Select the board you want to install:"
@QString @M31 = "Select the miro drivers you want to install:"
@QString @M32 = "Completely remove installed software"

@QString @M40 = "for AutoCAD Rel. 12 (miroGTI 12)"
@QString @M41 = "for AutoCAD 9 - 10 (miroADI)"
@QString @M42 = "for Autodesk 3D Studio"
@QString @M43 = "for Autodesk Animator Pro"
@QString @M44 = "for MicroStation PC"
@QString @M45 = "for AutoCAD for Windows Rel. 12 (miroGTI 12 Win)"
@QString @M46 = "for AutoCAD Rel. 11 (miroGTI 12)"
@QString @M47 = "for AutoCAD Rel. 13 (miroGTI 12)"
@QString @M48 = "for AutoCAD for Windows Rel. 13 (miroGTI 13 Win)"

@QString @M50 = "Uninstall software:"
@QString @M140 = "only system software"

@QString @M190 = "Select your board configuration: "
@QString @M191 = "ONE board "
@QString @M192 = "ONE HIRES board together with miroCRYSTAL 8S"
@QString @M193 = "TWO IDENTICAL boards"
@QString @M194 = "miroMAGIC S4 together with miroVGA "
@QString @M195 = "Select the HIRES board you"
@QString @M196 = "want to install together with a miroCRYSTAL 8S:"
@QString @M197 = "Select the TWO IDENTICAL boards you want to install:"

@QString @M60 = "Enter the directory for all system software:"
@QString @M61 = "Enter the directory of your AutoCAD Rel. 11 installation:"
@QString @M62 = "Enter the directory of your Autodesk Animator pro installation:"
@QString @M63 = "Enter the directory of your MicroStation PC installation:"
@QString @M64 = "Enter the directory of your Windows 3.1 installation:"
@QString @M65 = "Enter the directory of your AutoCAD for Windows Rel. 12 installation:"
@QString @M66 = "Enter the directory of your AutoCAD Rel. 13 installation:"

@QString @M70 = "Enter the drive for"
@QString @M71 = "all system software:"
@QString @M72 = ""
@QString @M73 = "Enter the drive of"
@QString @M74 = "your AutoCAD Rel. 12"
@QString @M75 = "installation:"
@QString @M76 = "Enter the drive of your"
@QString @M77 = "Autodesk Animator pro"
@QString @M78 = "installation:"
@QString @M80 = "Enter the drive of your"
@QString @M81 = "MicroStation PC installation:"
@QString @M82 = ""
@QString @M83 = "Enter the drive of your"
@QString @M84 = "Windows 3.1 installation:"
@QString @M85 = ""
@QString @M86 = "Enter the drive of your"
@QString @M87 = "AutoCAD for Windows Rel. 12"
@QString @M88 = "installation:"
@QString @M89 = "Enter the drive of"
@QString @M90 = "your AutoCAD Rel. 13"
@QString @M91 = "installation:"
@QString @M100 = "This installation program will now exit."

@EndIf
@EndVars

  
//*** input board configuration by user ************************************************

@GetOption
@LocalWindow (11,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@MoveCStr (4,1,31, "@M190")
  @Option 160 = "@M191"
  @Option 155 = "@M192"
  @Option 161 = "@M194"
  @Option 150 = "@M193" 
@MoveCStr (18,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (19,2,63, "@M10")
@MoveCStr (20,2,63, "@M13")
@MoveCStr (21,2,63, "@M11")
@EndOption

//*** input board type by user ************************************************

@If (161 [! @Option)
@GetOption
@LocalWindow (11,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@If (160 [= @Option)
  @MoveCStr (4,1,31, "@M30")
@ElseIf (155 [= @Option)
  @MoveCStr (4,1,31, "@M195")
  @MoveCStr (5,1,31, "@M196")
@ElseIf (150 [= @Option)
  @MoveCStr (4,1,31, "@M197")
@EndIf
  @Option 100 = "miroMAGIC S4"
  @Option 101 = "miroRAINBOW Win"
  @Option 102 = "miroCRYSTAL 32S" 
  @Option 103 = "miroCRYSTAL 24S" 
  @Option 104 = "miroCRYSTAL 16S" 
  @Option 107 = "miroCRYSTAL 16Si" 
  @If (160 [= @Option)
    @Option 105 = "miroCRYSTAL 8S" 
  @EndIf
@MoveCStr (18,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (19,2,63, "@M10")
@MoveCStr (20,2,63, "@M13")
@MoveCStr (21,2,63, "@M11")
@EndOption
@EndIf


@If (150 [= @Option && 101 [= @Option)
  @SetOption (151)
  @ClearOption (150)
@ElseIf (150 [= @Option && 102 [= @Option)
  @SetOption (152)
  @ClearOption (150)
@ElseIf (150 [= @Option && 103 [= @Option)
  @SetOption (153)
  @ClearOption (150)
@ElseIf (150 [= @Option && 104 [= @Option)
  @SetOption (154)
  @ClearOption (150)
@ElseIf (150 [= @Option && 107 [= @Option)
  @SetOption (157)
  @ClearOption (150)
//miroMAGIC S4 + miroVGA
@ElseIf (161 [= @Option)
  @SetOption (100)
@EndIf 


//*** input items to install by user ******************************************

ITEMSELECT:

@GetOption
@CheckBox
@LocalWindow (11,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@MoveCStr (3,1,31, "@M31")
  @Option 207 = "@M47"
  @Option 200 = "@M40"
  @Option 206 = "@M46"
  @Option 201 = "@M41"
  @Option 202 = "@M42"
  @Option 203 = "@M43"
  @Option 204 = "@M44"
  @Option 208 = "@M48"
  @Option 205 = "@M45"
  @Option 220 = "@M140"
  @Option 210 = "@M32"
@MoveCStr (17,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (18,0,63, "Ί                                                                            Ί")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (18,2,63, "@M10")
@MoveCStr (19,2,63, "@M12")
@MoveCStr (20,2,63, "@M14")
@MoveCStr (21,2,63, "@M11")
@EndOption


//*** SECOND WINDOW :input items to install by user *******************************
//@If ((200 [! @Option) && (201 [! @Option) && (202 [! @Option) 
//        && (203 [! @Option) && (204 [! @Option) && (205 [! @Option)
//        && (206 [! @Option) && (208 [! @Option)
//        && (210 [! @Option)
//    )
//
//@If (221 [= @Option)
//  @ClearOption (220)
//@EndIf
//
//@GetOption
//@CheckBox
//@LocalWindow (10,39)
//@Cls
//@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
//@MoveCStr (1,0,63, "Ί                                                                            Ί")
//@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
//@MoveCStr (1,1,63, "@M00")
//@MoveCStr (4,1,31, "@M31")
//  @Option 220 = "@M140"
//@If (105 [! @Option)
//  @Option 221 = "@M141"
//@EndIf
//@MoveCStr (17,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
//@MoveCStr (18,0,63, "Ί                                                                            Ί")
//@MoveCStr (19,0,63, "Ί                                                                            Ί")
//@MoveCStr (20,0,63, "Ί                                                                            Ί")
//@MoveCStr (21,0,63, "Ί                                                                            Ί")
//@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
//@MoveCStr (18,2,63, "@M10")
//@MoveCStr (19,2,63, "@M12")
//@MoveCStr (20,2,63, "@M14")
//@MoveCStr (21,2,63, "@M11")
//@EndOption
//
//@If (221 [= @Option)
//  @SetOption (220)
//@EndIf
//
//@EndIf

//*** no selection ************************************************************
@If ((200 [! @Option) && (201 [! @Option) && (202 [! @Option) 
        && (203 [! @Option) && (204 [! @Option) && (205 [! @Option)
        && (206 [! @Option) 
        && (207 [! @Option)
        && (208 [! @Option)
        && (220 [! @Option) && (221 [! @Option)
        && (210 [! @Option)
    )
  @Goto ITEMSELECT
@EndIf


//*** input second board by user **********************************************

//@If ((206 [= @Option || 208 [= @Option || 221 [= @Option) && !@UnInstall)
//@If ((206 [= @Option || 221 [= @Option) && !@UnInstall)
//@GetOption
//@LocalWindow (11,39)
//@Cls
//@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
//@MoveCStr (1,0,63, "Ί                                                                            Ί")
//@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
//@MoveCStr (1,1,63, "@M00")
//@MoveCStr (4,1,31, "@M55")
//  @Option 150 = "@M56"
//  @Option 155 = "@M57"
//@MoveCStr (18,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
//@MoveCStr (19,0,63, "Ί                                                                            Ί")
//@MoveCStr (20,0,63, "Ί                                                                            Ί")
//@MoveCStr (21,0,63, "Ί                                                                            Ί")
//@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
//@MoveCStr (19,2,63, "@M10")
//@MoveCStr (20,2,63, "@M13")
//@MoveCStr (21,2,63, "@M11")
//@EndOption
//
//  @If (150 [= @Option && 101 [= @Option)
//    @SetOption (151)
//    @ClearOption (150)
//  @ElseIf (150 [= @Option && 102 [= @Option)
//    @SetOption (152)
//    @ClearOption (150)
//  @ElseIf (150 [= @Option && 103 [= @Option)
//    @SetOption (153)
//    @ClearOption (150)
//  @ElseIf (150 [= @Option && 104 [= @Option)
//    @SetOption (154)
//    @ClearOption (150)
//  @ElseIf (150 [= @Option && 107 [= @Option)
//    @SetOption (157)
//    @ClearOption (150)
//  @EndIf 
//@EndIf


//*** define default directories **********************************************

@If (!@UnInstall)
  @DefineVars
    @If (100 [= @Option)
      @Dir @SysDir      = "\\MAGIC_S4"
    @ElseIf (101 [= @Option)
      @Dir @SysDir      = "\\RAIN_WIN"
    @ElseIf (102 [= @Option)
      @Dir @SysDir      = "\\CRYS_32S"
    @ElseIf (103 [= @Option)
      @Dir @SysDir      = "\\CRYS_24S"
    @ElseIf (104 [= @Option)
      @Dir @SysDir      = "\\CRYS_16S"
    @ElseIf (105 [= @Option)
      @Dir @SysDir      = "\\CRYS_8S"
    @ElseIf (107 [= @Option)
      @Dir @SysDir      = "\\CR_16SI"
    @EndIf

    @Drive @GtiDrv      = C
    @Dir @GtiDir        = "\\ACAD"
    @Drive @Gti13Drv    = C
    @Dir @Gti13Dir      = "\\ACAD"
    @Drive @AniproDrv   = C
    @Dir @AniproDir     = "\\ANI"
    @Drive @MstDrv      = C
    @Dir @MstDir        = "\\USTATION"
    @Drive @MwinDrv     = C
    @Dir @MwinDir       = "\\WINDOWS"
    @Drive @WinGtiDrv   = C
    @Dir @WinGtiDir     = "\\ACADWIN"
  @EndVars
@EndIf


//*** input SYSTEM directory by user ******************************************

@If ((200 [= @Option || 201 [= @Option || 202 [= @Option 
    || 203 [= @Option || 204 [= @Option || 206 [= @Option || 220 [= @Option
    || 207 [= @Option || 210 [= @Option) && !@UnInstall)
@GetOutDrive
@LocalWindow (11,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@MoveCStr (5,1,31, "@M70")
@MoveCStr (6,1,31, "@M71")
@MoveCStr (7,1,31, "@M72")
@Suppress A
@Suppress B
@MoveCStr (18,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (19,2,63, "@M10")
@MoveCStr (20,2,63, "@M15")
@MoveCStr (21,2,63, "@M11")
@EndOutDrive

@GetSubDir @SysDir
@LocalWindow (6,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@Prompt = "@M60"
@MoveCStr (15,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (16,0,63, "Ί                                                                            Ί")
@MoveCStr (17,0,63, "Ί                                                                            Ί")
@MoveCStr (18,0,63, "Ί                                                                            Ί")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (16,2,63, "@M20")
@MoveCStr (17,2,63, "@M21")
@MoveCStr (18,2,63, "@M22")
@MoveCStr (19,2,63, "@M23")
@MoveCStr (20,2,63, "@M24")
@MoveCStr (21,2,63, "@M25")
@EndSubDir
@EndIf


//*** input ACAD 12 directory by user *****************************************

@If ((200 [= @Option || 210 [= @Option) && !@UnInstall)
@GetOutDrive @GtiDrv
@LocalWindow (11,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@MoveCStr (5,1,31, "@M73")
@MoveCStr (6,1,31, "@M74")
@MoveCStr (7,1,31, "@M75")
@Suppress A
@Suppress B
@MoveCStr (18,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (19,2,63, "@M10")
@MoveCStr (20,2,63, "@M15")
@MoveCStr (21,2,63, "@M11")
@EndOutDrive

@GetSubDir @GtiDir
@LocalWindow (6,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@Prompt = "@M61"
@MoveCStr (15,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (16,0,63, "Ί                                                                            Ί")
@MoveCStr (17,0,63, "Ί                                                                            Ί")
@MoveCStr (18,0,63, "Ί                                                                            Ί")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (16,2,63, "@M20")
@MoveCStr (17,2,63, "@M21")
@MoveCStr (18,2,63, "@M22")
@MoveCStr (19,2,63, "@M23")
@MoveCStr (20,2,63, "@M24")
@MoveCStr (21,2,63, "@M25")
@EndSubDir
@EndIf


//*** input ACAD 13 directory by user *****************************************

@If ((207 [= @Option || 208 [= @Option || 210 [= @Option) && !@UnInstall)
@GetOutDrive @Gti13Drv
@LocalWindow (11,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@MoveCStr (5,1,31, "@M89")
@MoveCStr (6,1,31, "@M90")
@MoveCStr (7,1,31, "@M91")
@Suppress A
@Suppress B
@MoveCStr (18,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (19,2,63, "@M10")
@MoveCStr (20,2,63, "@M15")
@MoveCStr (21,2,63, "@M11")
@EndOutDrive

@GetSubDir @Gti13Dir
@LocalWindow (6,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@Prompt = "@M66"
@MoveCStr (15,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (16,0,63, "Ί                                                                            Ί")
@MoveCStr (17,0,63, "Ί                                                                            Ί")
@MoveCStr (18,0,63, "Ί                                                                            Ί")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (16,2,63, "@M20")
@MoveCStr (17,2,63, "@M21")
@MoveCStr (18,2,63, "@M22")
@MoveCStr (19,2,63, "@M23")
@MoveCStr (20,2,63, "@M24")
@MoveCStr (21,2,63, "@M25")
@EndSubDir
@EndIf


//*** input ANIMATOR PRO directory by user ************************************

@If ((203 [= @Option || 210 [= @Option) && !@UnInstall)
@GetOutDrive @AniproDrv
@LocalWindow (11,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@MoveCStr (5,1,31, "@M76")
@MoveCStr (6,1,31, "@M77")
@MoveCStr (7,1,31, "@M78")
@Suppress A
@Suppress B
@MoveCStr (18,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (19,2,63, "@M10")
@MoveCStr (20,2,63, "@M15")
@MoveCStr (21,2,63, "@M11")
@EndOutDrive

@GetSubDir @AniproDir
@LocalWindow (6,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@Prompt = "@M62"
@MoveCStr (15,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (16,0,63, "Ί                                                                            Ί")
@MoveCStr (17,0,63, "Ί                                                                            Ί")
@MoveCStr (18,0,63, "Ί                                                                            Ί")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (16,2,63, "@M20")
@MoveCStr (17,2,63, "@M21")
@MoveCStr (18,2,63, "@M22")
@MoveCStr (19,2,63, "@M23")
@MoveCStr (20,2,63, "@M24")
@MoveCStr (21,2,63, "@M25")
@EndSubDir
@EndIf


//*** input MICROSTATION directory by user ************************************

@If ((204 [= @Option || 210 [= @Option) && !@UnInstall)
@GetOutDrive @MstDrv
@LocalWindow (11,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@MoveCStr (5,1,31, "@M80")
@MoveCStr (6,1,31, "@M81")
@MoveCStr (7,1,31, "@M82")
@Suppress A
@Suppress B
@MoveCStr (18,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (19,2,63, "@M10")
@MoveCStr (20,2,63, "@M15")
@MoveCStr (21,2,63, "@M11")
@EndOutDrive

@GetSubDir @MstDir
@LocalWindow (6,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@Prompt = "@M63"
@MoveCStr (15,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (16,0,63, "Ί                                                                            Ί")
@MoveCStr (17,0,63, "Ί                                                                            Ί")
@MoveCStr (18,0,63, "Ί                                                                            Ί")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (16,2,63, "@M20")
@MoveCStr (17,2,63, "@M21")
@MoveCStr (18,2,63, "@M22")
@MoveCStr (19,2,63, "@M23")
@MoveCStr (20,2,63, "@M24")
@MoveCStr (21,2,63, "@M25")
@EndSubDir
@EndIf


//*** input Windows directory by user *****************************************

@If ((205 [= @Option || 210 [= @Option) && !@UnInstall)
@GetOutDrive @MwinDrv
@LocalWindow (11,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@MoveCStr (5,1,31, "@M83")
@MoveCStr (6,1,31, "@M84")
@MoveCStr (7,1,31, "@M85")
@Suppress A
@Suppress B
@MoveCStr (18,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (19,2,63, "@M10")
@MoveCStr (20,2,63, "@M15")
@MoveCStr (21,2,63, "@M11")
@EndOutDrive

@GetSubDir @MwinDir
@LocalWindow (6,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@Prompt = "@M64"
@MoveCStr (15,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (16,0,63, "Ί                                                                            Ί")
@MoveCStr (17,0,63, "Ί                                                                            Ί")
@MoveCStr (18,0,63, "Ί                                                                            Ί")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (16,2,63, "@M20")
@MoveCStr (17,2,63, "@M21")
@MoveCStr (18,2,63, "@M22")
@MoveCStr (19,2,63, "@M23")
@MoveCStr (20,2,63, "@M24")
@MoveCStr (21,2,63, "@M25")
@EndSubDir
@EndIf

//*** input AcadWin directory by user *****************************************

@If ((205 [= @Option || 210 [= @Option) && !@UnInstall)
@GetOutDrive @WinGtiDrv
@LocalWindow (11,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@MoveCStr (5,1,31, "@M86")
@MoveCStr (6,1,31, "@M87")
@MoveCStr (7,1,31, "@M88")
@Suppress A
@Suppress B
@MoveCStr (18,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (19,2,63, "@M10")
@MoveCStr (20,2,63, "@M15")
@MoveCStr (21,2,63, "@M11")
@EndOutDrive

@GetSubDir @WinGtiDir
@LocalWindow (6,39)
@Cls
@MoveCStr (0,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (1,0,63, "Ί                                                                            Ί")
@MoveCStr (2,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (1,1,63, "@M00")
@Prompt = "@M65"
@MoveCStr (15,0,63, "ΙΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ»")
@MoveCStr (16,0,63, "Ί                                                                            Ί")
@MoveCStr (17,0,63, "Ί                                                                            Ί")
@MoveCStr (18,0,63, "Ί                                                                            Ί")
@MoveCStr (19,0,63, "Ί                                                                            Ί")
@MoveCStr (20,0,63, "Ί                                                                            Ί")
@MoveCStr (21,0,63, "Ί                                                                            Ί")
@MoveCStr (22,0,63, "ΘΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΌ")
@MoveCStr (16,2,63, "@M20")
@MoveCStr (17,2,63, "@M21")
@MoveCStr (18,2,63, "@M22")
@MoveCStr (19,2,63, "@M23")
@MoveCStr (20,2,63, "@M24")
@MoveCStr (21,2,63, "@M25")
@EndSubDir
@EndIf


//*** define default directories (2) ******************************************

@If (!@UnInstall)
  @DefineVars
    @Drive @AdiDrv      = @OutDrive
    @Dir @AdiDir        = "@SysDir"
    @Drive @3dsDrv      = @OutDrive
    @Dir @3dsDir        = "@SysDir"
  @EndVars
@EndIf

/*
@Display
  systemdir @OutDrive @SysDir
  gtidir    @GtiDrv @GtiDir
  adidir    @AdiDrv @AdiDir
  3dsdir    @3dsDrv @3dsDir
  aniprodir @AniproDrv @AniproDir
  mstdir    @MstDrv @MstDir
  windir    @MwinDrv @MwinDir
  wingtidir @WinGtiDrv @WinGtiDir
  @Pause
@EndDisplay
*/


//*** Uninstall software ******************************************************

@If (210 [= @Option)
  @Display
@M50

- @OutDrive:@SysDir\*.*  
- @GtiDrv:@GtiDir\DRV\RCGTI12.EXP
- @Gti13Drv:@Gti13Dir\DOS\DRV\RCGTI12.EXP
- @Gti13Drv:@Gti13Dir\WIN\DRV\DSMIRO13.DLL
- @Gti13Drv:@Gti13Dir\WIN\DRV\DSMIRO13.TXT
- @AniproDrv:@AniproDir\RESOURCE\OCTOANI.DRV
- @MwinDrv:@MwinDir\DL_CLIEN.DLL
- @MwinDrv:@MwinDir\DL_SERV.DLL
- @MwinDrv:@MwinDir\DL_SRES.EXE
- @WinGtiDrv:@WinGtiDir\DSMIRO.DLL
- @WinGtiDrv:@WinGtiDir\DSMIRO.HLP
- @MstDrv:@MstDir\DRIVERS\MGL_US5?.EXP
- @MstDrv:@MstDir\DRIVERS\MGL_US5?.MA
- @MstDrv:@MstDir\DRIVERS\MGL_US5?.MGL
- @MstDrv:@MstDir\DRIVERS\MGL_US4?.EXP
- @MstDrv:@MstDir\DRIVERS\MGL_US4?.MA
- @MstDrv:@MstDir\DRIVERS\MGL_US4?.MGL

  @FlushKeyboard ()
  @Pause
  @EndDisplay

  @Delete ("@OutDrive:@SysDir\\*.*")
  @Delete ("@GtiDrv:@GtiDir\\DRV\\RCGTI12.EXP")
  @Delete ("@Gti13Drv:@Gti13Dir\\DOS\\DRV\\RCGTI12.EXP")
  @Delete ("@Gti13Drv:@Gti13Dir\\WIN\\DRV\\DSMIRO13.DLL")
  @Delete ("@Gti13Drv:@Gti13Dir\\WIN\\DRV\\DSMIRO13.TXT")
  @Delete ("@AniproDrv:@AniproDir\\RESOURCE\\OCTOANI.DRV")
  @Delete ("@MwinDrv:@MwinDir\\DL_CLIEN.DLL")
  @Delete ("@MwinDrv:@MwinDir\\DL_SERV.DLL")
  @Delete ("@MwinDrv:@MwinDir\\DL_SRES.EXE")
  @Delete ("@WinGtiDrv:@WinGtiDir\\DSMIRO.DLL") 
  @Delete ("@WinGtiDrv:@WinGtiDir\\DSMIRO.HLP")
  @Delete ("@MstDrv:@MstDir\\DRIVERS\\MGL_US5?.EXP")
  @Delete ("@MstDrv:@MstDir\\DRIVERS\\MGL_US5?.MA")
  @Delete ("@MstDrv:@MstDir\\DRIVERS\\MGL_US5?.MGL")
  @Delete ("@MstDrv:@MstDir\\DRIVERS\\MGL_US4?.EXP")
  @Delete ("@MstDrv:@MstDir\\DRIVERS\\MGL_US4?.MA")
  @Delete ("@MstDrv:@MstDir\\DRIVERS\\MGL_US4?.MGL")
  @Delete ("@MstDrv:@MstDir\\DRIVERS\\MGL_US??.*")

  @ClearOption (210)
  @UnInstall = @True
  @Goto ITEMSELECT
@EndIf


//*** files to be copied ******************************************************

@If (200 [= @Option || 201 [= @Option || 202 [= @Option || 206 [= @Option
    || 203 [= @Option || 204 [= @Option || 205 [= @Option || 207 [= @Option 
    || 208 [= @Option || 220 [= @Option)

@MkDir ("@OutDrive:@SysDir")
@If ('D' [= @Group)
  @Copy ("@InDrive:\\README.DEU","@OutDrive:@SysDir\\README.")
@Else
  @Copy ("@InDrive:\\README.ENG","@OutDrive:@SysDir\\README.")
@EndIf

@DefineDisk
  @Label = "CAD basic disk # 1/1"
  @BeginLib DRIVERS.RED
    @If (200 [= @Option || 206 [= @Option || 207 [= @Option)
      @File RCGTI12.EXP  @Size 300000 @Out @Gti13Drv:@Gti13Dir\\DOS\\DRV\\*.* @Option 207
      @File RCGTI12.EXP  @Size 300000 @Out @GtiDrv:@GtiDir\\DRV\\*.* @Option 200
      @File RCGTI12.EXP  @Size 300000 @Out @OutDrive:@SysDir\\*.* @Option 206
      @File RCGTI.TXT    @Size 2000   @Out @OutDrive:@SysDir\\*.* 
      @File RCGTI.BMP    @Size 70000  @Out @OutDrive:@SysDir\\*.* 
      @If ((150 [= @Option 
         || 151 [= @Option 
         || 152 [= @Option
         || 153 [= @Option
         || 154 [= @Option
         || 155 [= @Option
         || 157 [= @Option) && (200 [= @Option || 207 [= @Option))
        @File OCTOBIRD.EXE @Size 44000  @Out @OutDrive:@SysDir\\*.* 
        @File MIROBIRD.EXE @Size 20000  @Out @OutDrive:@SysDir\\*.* 
        @File RMADI.EXE    @Size 7100   @Out @OutDrive:@SysDir\\*.* 
      @EndIf
      @If (161 [= @Option && (200 [= @Option || 207 [= @Option))
        @File MIROBIRD.EXE @Size 20000  @Out @OutDrive:@SysDir\\*.* 
        @File RMADI.EXE    @Size 7100   @Out @OutDrv:@SysDir\\*.* 
      @EndIf

      @File F8500808.RSC @Size 4000   @Out @OutDrive:@SysDir\\*.* 
      @File F8500814.RSC @Size 5000   @Out @OutDrive:@SysDir\\*.* 
      @File F8500816.RSC @Size 6000   @Out @OutDrive:@SysDir\\*.* 
      @File F8501224.RSC @Size 13000  @Out @OutDrive:@SysDir\\*.* 
      @File F8501632.RSC @Size 17000  @Out @OutDrive:@SysDir\\*.* 
      @File F8520816.RSC @Size 6000   @Out @OutDrive:@SysDir\\*.* 
      @File F8521224.RSC @Size 13000  @Out @OutDrive:@SysDir\\*.* 
      @File F8600816.RSC @Size 6000   @Out @OutDrive:@SysDir\\*.* 
      @File F8601224.RSC @Size 13000  @Out @OutDrive:@SysDir\\*.* 
      @File F8630816.RSC @Size 6000   @Out @OutDrive:@SysDir\\*.* 
      @File F8631224.RSC @Size 13000  @Out @OutDrive:@SysDir\\*.* 
      @File F8650816.RSC @Size 6000   @Out @OutDrive:@SysDir\\*.* 
      @File F8651224.RSC @Size 13000  @Out @OutDrive:@SysDir\\*.* 
      @File F8660816.RSC @Size 6000   @Out @OutDrive:@SysDir\\*.* 
      @File F8661224.RSC @Size 13000  @Out @OutDrive:@SysDir\\*.* 
//      @File F4370808.RSC @Size 6000   @Out @OutDrive:@SysDir\\*.* 
//      @File F4370814.RSC @Size 6000   @Out @OutDrive:@SysDir\\*.* 
//      @File F4370816.RSC @Size 6000   @Out @OutDrive:@SysDir\\*.* 
//      @File F4371224.RSC @Size 14000  @Out @OutDrive:@SysDir\\*.* 
//      @File F4371632.RSC @Size 18000  @Out @OutDrive:@SysDir\\*.* 

      @If (200 [= @Option || 207 [= @Option)
        @File MIROMENU.DCL @Size 70000  @Out @OutDrive:@SysDir\\*.* 
        @File MIROMENU.EXP @Size 200000 @Out @OutDrive:@SysDir\\*.* 
        @File MIROMENU.HLP @Size 60000  @Out @OutDrive:@SysDir\\*.* 
        @File MIROMENU.SLB @Size 75000  @Out @OutDrive:@SysDir\\*.* 
        @File MIROMENU.TXT @Size 11000  @Out @OutDrive:@SysDir\\*.* 
      @EndIf
    @EndIf

    @File OCTOADI.EXE  @Size 40000  @Out @AdiDrv:@AdiDir\\*.*   @Option 201
    @File RMADI.EXE    @Size 7000   @Out @AdiDrv:@AdiDir\\*.*   @Option 201 

    @File OCTOANI.DRV  @Size 25000  @Out @AniproDrv:@AniproDir\\RESOURCE\\*.*   @Option 203 

    @File OCTO3DS.EXP  @Size 160000 @Out @3dsDrv:@3dsDir\\*.*         @Option 202 

    @File MGL_US41.EXP @Size 71000  @Out @MstDrv:@MstDir\\DRIVERS\\*.* @Option 204 
    @File MGL_US41.MA  @Size 3000   @Out @MstDrv:@MstDir\\DRIVERS\\*.* @Option 204 
    @File MGL_US41.MGL @Size 50     @Out @MstDrv:@MstDir\\DRIVERS\\*.* @Option 204 
    @File MGL_US51.DLM @Size 120000 @Out @MstDrv:@MstDir\\DRIVERS\\*.* @Option 204 
    @File MGL_US51.MA  @Size 2000   @Out @MstDrv:@MstDir\\DRIVERS\\*.* @Option 204 
    @File MGL_US51.MGL @Size 50     @Out @MstDrv:@MstDir\\DRIVERS\\*.* @Option 204 
    @If (150 [= @Option || 151 [= @Option || 152 [= @Option || 153 [= @Option || 154 [= @Option
        || 155 [= @Option || 157 [= @Option)
      @File MGL_US42.EXP @Size 71000  @Out @MstDrv:@MstDir\\DRIVERS\\*.* @Option 204 
      @File MGL_US42.MA  @Size 3000   @Out @MstDrv:@MstDir\\DRIVERS\\*.* @Option 204 
      @File MGL_US42.MGL @Size 50     @Out @MstDrv:@MstDir\\DRIVERS\\*.* @Option 204 
      @File MGL_US52.DLM @Size 120000 @Out @MstDrv:@MstDir\\DRIVERS\\*.* @Option 204 
      @File MGL_US52.MA  @Size 2000   @Out @MstDrv:@MstDir\\DRIVERS\\*.* @Option 204 
      @File MGL_US52.MGL @Size 50     @Out @MstDrv:@MstDir\\DRIVERS\\*.* @Option 204 
    @EndIf

    @File DL_CLIEN.DLL @Size 20000  @Out @MwinDrv:@MwinDir\\*.*       @Option 205 
    @File DL_SERV.DLL  @Size 290000 @Out @MwinDrv:@MwinDir\\*.*       @Option 205 
    @File DL_SRES.EXE  @Size 7000   @Out @MwinDrv:@MwinDir\\*.*       @Option 205 
    @File DSMIRO.DLL   @Size 70000  @Out @WinGtiDrv:@WinGtiDir\\*.*   @Option 205 
    @File DSMIRO.DEU   @Size 1500   @Out @WinGtiDrv:@WinGtiDir\\*.INI @Option 205 @Group D
    @File DSMIRO.ENG   @Size 1500   @Out @WinGtiDrv:@WinGtiDir\\*.INI @Option 205 @Group E

    @File DSMIRO13.DLL @Size 155000 @Out @Gti13Drv:@Gti13Dir\\WIN\\DRV\\*.*   @Option 208 
    @File DSMIRO13.DEU @Size 5000   @Out @Gti13Drv:@Gti13Dir\\WIN\\DRV\\*.TXT @Option 208 
    @File DSMIRO13.ENG @Size 5000   @Out @Gti13Drv:@Gti13Dir\\WIN\\DRV\\*.TXT @Option 208 

    @If (200 [= @Option || 201 [= @Option || 206 [= @Option || 207 [= @Option 
        || 202 [= @Option || 203 [= @Option || 204 [= @Option || 220 [= @Option)
      @File SUPPORT.EXE  @Size 15000  @Out @OutDrive:@SysDir\\*.* 
      @File OCTO.RSC     @Size 45000  @Out @OutDrive:@SysDir\\*.* 
      @File OCTO.MON     @Size 65000  @Out @OutDrive:@SysDir\\*.*
      @File TESTPIC.EXE  @Size 120000 @Out @OutDrive:@SysDir\\*.*
      @File TEST_TC.EXE  @Size 60000  @Out @OutDrive:@SysDir\\*.* @Option 105
      @File MONSEL.EXE   @Size 340000 @Out @OutDrive:@SysDir\\*.*
      @File MEWEL.INI    @Size 1500   @Out @OutDrive:@SysDir\\*.*
      @File MWINTOOL.DEU @Size 4000   @Out @OutDrive:@SysDir\\*.INI @Group D
      @File MWINTOOL.ENG @Size 4000   @Out @OutDrive:@SysDir\\*.INI @Group E
      @File SMALLF.FON   @Size 22000  @Out @OutDrive:@SysDir\\*.*
      @File README.EXE   @Size 12000  @Out @OutDrive:@SysDir\\*.*
      @File MIROMODE.EXE @Size 40000  @Out @OutDrive:@SysDir\\*.*
      @File MIROTV.EXE   @Size 8000   @Out @OutDrive:@SysDir\\*.*
      @File MIROPCI.COM  @Size 6000   @Out @OutDrive:@SysDir\\*.*

      @If (100 [= @Option || 101 [= @Option 
          || 102 [= @Option || 103 [= @Option || 104 [= @Option)
        @File VESAPCI.EXE @Size 8000  @Out @OutDrive:@SysDir\\*.*
      @EndIf
    @EndIf
  @EndLib
@EndDisk

@EndIf


//*** old software to be deleted **********************************************

@If (200 [= @Option || 201 [= @Option || 202 [= @Option || 206 [= @Option
    || 203 [= @Option || 204 [= @Option || 205 [= @Option || 207 [= @Option 
    || 208 [= @Option || 220 [= @Option || 210 [= @Option)
  @Delete ("@BootDrive:\\MAGS4.BAT")
  @Delete ("@BootDrive:\\RAIN.BAT")
  @Delete ("@BootDrive:\\CR32S.BAT")
  @Delete ("@BootDrive:\\CR24S.BAT")
  @Delete ("@BootDrive:\\CR16S.BAT")
  @Delete ("@BootDrive:\\CR8S.BAT")
  @Delete ("@BootDrive:\\AUTOEXEC.MIR")
  @Delete ("@OutDrive:@SysDir\\INSTALL.BIN")
  @Delete ("@OutDrive:@SysDir\\INSTALL.EXE")
  @Delete ("@OutDrive:@SysDir\\INSTALL.CFG")
  @Delete ("@OutDrive:@SysDir\\INSTALL.DEU")
  @Delete ("@OutDrive:@SysDir\\INSTALL.ENG")
  @Delete ("@OutDrive:@SysDir\\INFO.TXT")
  @Delete ("@OutDrive:@SysDir\\INFO.DEU")
  @Delete ("@OutDrive:@SysDir\\INFO.ENG")
  @Delete ("@OutDrive:@SysDir\\MIROSMD.EXE")
  @Delete ("@OutDrive:@SysDir\\OEMOCTO.SAV")
  @Delete ("@OutDrive:@SysDir\\OCTOINI.EXE")
  @Delete ("@OutDrive:@SysDir\\CIRKUS.RSC")
  @Delete ("@OutDrive:@SysDir\\DINER.RSC")
  @Delete ("@OutDrive:@SysDir\\HAREM.RSC")
  @Delete ("@OutDrive:@SysDir\\JEWEL.RSC")
  @Delete ("@OutDrive:@SysDir\\WALDORF.RSC")
  @Delete ("@OutDrive:@SysDir\\RCGTI.CFG")
  @Delete ("@GtiDrv:@GtiDir\\DRV\\RCMAGS4.EXP")
  @Delete ("@GtiDrv:@GtiDir\\DRV\\RCRAIN.EXP")
  @Delete ("@GtiDrv:@GtiDir\\DRV\\RCCR32S.EXP")
  @Delete ("@GtiDrv:@GtiDir\\DRV\\RCCR24S.EXP")
  @Delete ("@GtiDrv:@GtiDir\\DRV\\RCCR16S.EXP")
  @Delete ("@GtiDrv:@GtiDir\\DRV\\RCCR8S.EXP")
  @Delete ("@OutDrive:@SysDir\\RCMAGS4.TXT")
  @Delete ("@OutDrive:@SysDir\\MAGS4ADI.EXE")
  @Delete ("@OutDrive:@SysDir\\RMMAGS4.EXE")
  @Delete ("@OutDrive:@SysDir\\MAGS43D.EXP")
  @Delete ("@OutDrive:@SysDir\\RCRAIN.TXT")
  @Delete ("@OutDrive:@SysDir\\RAINADI.EXE")
  @Delete ("@OutDrive:@SysDir\\RMRAIN.EXE")
  @Delete ("@OutDrive:@SysDir\\RAIN3D.EXP")
  @Delete ("@OutDrive:@SysDir\\RCCR32S.TXT")
  @Delete ("@OutDrive:@SysDir\\CR32SADI.EXE")
  @Delete ("@OutDrive:@SysDir\\RMCR32S.EXE")
  @Delete ("@OutDrive:@SysDir\\CR32S3D.EXP")
  @Delete ("@OutDrive:@SysDir\\RCCR24S.TXT")
  @Delete ("@OutDrive:@SysDir\\CR24SADI.EXE")
  @Delete ("@OutDrive:@SysDir\\RMCR24S.EXE")
  @Delete ("@OutDrive:@SysDir\\CR24S3D.EXP")
  @Delete ("@OutDrive:@SysDir\\RCCR16S.TXT")
  @Delete ("@OutDrive:@SysDir\\CR16SADI.EXE")
  @Delete ("@OutDrive:@SysDir\\RMCR16S.EXE")
  @Delete ("@OutDrive:@SysDir\\CR16S3D.EXP")
  @Delete ("@OutDrive:@SysDir\\RCCR8S.TXT")
  @Delete ("@OutDrive:@SysDir\\CR8SADI.EXE")
  @Delete ("@OutDrive:@SysDir\\RMCR8S.EXE")
  @Delete ("@OutDrive:@SysDir\\CR8S3D.EXP")
  @Delete ("@WinGtiDrv:@WinGtiDir\\MIRO3DW.*")
  @If (204 [= @Option)
    @Delete ("@OutDrive:@MstDir\\DRIVERS\\MGLMAGS4.EXP")
    @Delete ("@OutDrive:@MstDir\\DRIVERS\\MGLMAGS4.MA")
    @Delete ("@OutDrive:@MstDir\\DRIVERS\\MGLMAGS4.MGL")
  @EndIf
@EndIf


//*** create a SYSTEM.INI for the monitor select program **********************

@If (200 [= @Option || 201 [= @Option || 206 [= @Option || 207 [= @Option
    || 202 [= @Option || 203 [= @Option || 204 [= @Option || 220 [= @Option)
  @MkDir ("@OutDrive:@SysDir")
  @Write ("@OutDrive:@SysDir\\SYSTEM.INI", "wt", "[mboot.description]\n")

  @If (100 [= @Option)
    @Write (, "at", "displayinf=OEMMAGS4.INF\n")
  @EndIf
  @If (101 [= @Option)
    @Write (, "at", "displayinf=OEMRAIN.INF\n")
  @EndIf
  @If (102 [= @Option)
    @Write (, "at", "displayinf=OEMCR32S.INF\n")
  @EndIf
  @If (103 [= @Option)
    @Write (, "at", "displayinf=OEMCR24S.INF\n")
  @EndIf
  @If (104 [= @Option)
    @Write (, "at", "displayinf=OEMCR16S.INF\n")
  @EndIf
  @If (105 [= @Option)
    @Write (, "at", "displayinf=OEMCR8S.INF\n")
  @EndIf
  @If (107 [= @Option)
    @Write (, "at", "displayinf=OEMC16SI.INF\n")
  @EndIf

  @If (150 [= @Option)
    @Write (, "at", "displayinf2=OEMMAGS4.TWI\n")
  @EndIf
  @If (151 [= @Option)
    @Write (, "at", "displayinf2=OEMRAIN.TWI\n")
  @EndIf
  @If (152 [= @Option)
    @Write (, "at", "displayinf2=OEMCR32S.TWI\n")
  @EndIf
  @If (153 [= @Option)
    @Write (, "at", "displayinf2=OEMCR24S.TWI\n")
  @EndIf
  @If (154 [= @Option)
    @Write (, "at", "displayinf2=OEMCR16S.TWI\n")
  @EndIf
  @If (155 [= @Option)
    @Write (, "at", "displayinf2=OEMCR8S.TWI\n")
  @EndIf
  @If (157 [= @Option)
    @Write (, "at", "displayinf2=OEMC16SI.TWI\n")
  @EndIf
  @Write (, "at", "Mon_Data=@OutDrive:@SysDir\\OCTO.MON\n")
  @Write (, "at", "boardfam=OCTO\n")
@EndIf


//*** create STEP3 batch ******************************************************

@If (200 [= @Option || 201 [= @Option || 206 [= @Option || 207 [= @Option
    || 202 [= @Option || 203 [= @Option || 204 [= @Option 
    || 220 [= @Option)
  @MkDir ("@OutDrive:@SysDir")
  @Write ("@OutDrive:@SysDir\\STEP3.BAT", "wt", "@@ECHO OFF\n")
  @Write (, "at", "SET OCTO=@OutDrive:@SysDir\n")
  @If (200 [= @Option || 206 [= @Option || 207 [= @Option)
    @Write (, "at", "SET GTI=@OutDrive:@SysDir\n")
  @EndIf
  @If (202 [= @Option)
    @Write (, "at", "SET RCPADI=@OutDrive:@SysDir\\OCTO3DS.EXP\n")
  @EndIf
  @If (206 [= @Option)
    @Write (, "at", "SET RDPADI=@OutDrive:@SysDir\\RCGTI12.EXP\n")
    @Write (, "at", "SET DSPADI=@OutDrive:@SysDir\\RCGTI12.EXP\n")
  @EndIf
  @Write (, "at", "@OutDrive:@SysDir\\SUPPORT.EXE @BootDrive:\\AUTOEXEC.BAT")
  @Write (, "at", "\n")
  @Write (, "at", "DEL @OutDrive:@SysDir\\SUPPORT.EXE\n")
  @Write (, "at", "@OutDrive:@SysDir\\MONSEL.EXE\n")
  @Write (, "at", "@OutDrive:@SysDir\\README.EXE @OutDrive:@SysDir\\README.\n") 
  @Write (, "at", "@OutDrive:@SysDir\\STEP4.BAT\n")


//*** create STEP4 batch ******************************************************

  @Write ("@OutDrive:@SysDir\\STEP4.BAT", "wt", "@@ECHO OFF\n")
  @Write (, "at", "DEL @OutDrive:@SysDir\\STEP3.BAT\n")
@EndIf


//*** set OCTO env-variable in AUTOEXEC.BAT ***********************************

@If (200 [= @Option || 201 [= @Option || 206 [= @Option || 207 [= @Option
    || 202 [= @Option || 203 [= @Option || 204 [= @Option 
    || 220 [= @Option)
  @SetAutoExec
    @Overwrite
    @SetReplace ("OCTO", "@OutDrive:@SysDir")
    @If (200 [= @Option || 206 [= @Option || 207 [= @Option)
      @SetReplace ("GTI", "@OutDrive:@SysDir")
    @EndIf
    @If (202 [= @Option)
      @SetReplace ("RCPADI", "@OutDrive:@SysDir\\OCTO3DS.EXP")
    @EndIf
    @If (206 [= @Option)
      @SetReplace ("RDPADI", "@OutDrive:@SysDir\\RCGTI12.EXP")
      @SetReplace ("DSPADI", "@OutDrive:@SysDir\\RCGTI12.EXP")
    @EndIf
  @EndAutoExec
@ElseIf (@UnInstall)
  @SetAutoExec
    @Overwrite
    @SetReplace ("OCTO", "")
    @SetReplace ("GTI", "")
    @SetReplace ("RCPADI", "")
    @SetReplace ("RDPADI", "")
    @SetReplace ("DSPADI", "")
  @EndAutoExec
@EndIf


//*** project trailer block ***************************************************

@Finish
  @If (200 [= @Option || 201 [= @Option || 206 [= @Option || 207 [= @Option 
      || 202 [= @Option || 203 [= @Option || 204 [= @Option 
      || 220 [= @Option)
    @ChDrive (@OutDrive)
    @ChDir ("@SysDir")
    @FlushKeyboard ()
    @ReturnValue (4711)
  @ElseIf (205 [= @Option || 208 [= @Option)
    @ChDrive (@BootDrive)
    @ChDir ("\\")
    @cls
    @M100
    @Pause
  @Else
    @ChDrive (@BootDrive)
    @ChDir ("\\")
  @EndIf
@EndFinish


//*** eof *********************************************************************
