home *** CD-ROM | disk | FTP | other *** search
/ Inside Multimedia 1995 December / IMM1295.ISO / driver / miro / swin_d1 / install.dat < prev    next >
Text File  |  1995-04-10  |  47KB  |  1,075 lines

  1. //*****************************************************************************
  2. // Name         : INSTALL.DAT
  3. // Project      : SAMSON: Installation miro WINDOWS-BASIC-DISK
  4. // Function     : Scriptfile for KDC-wINSTALL
  5. // Author       : KF / miro Computer Products AG,
  6. //                Carl-Miele-Str. 4, D-38112 Braunschweig
  7. // created      : 12.01.95
  8. // changed      : KF 10.04.95
  9. // revision......when...................who.....->.where.and.what..............
  10. // $Log:$
  11. //*****************************************************************************
  12.  
  13. //*** project header block ****************************************************
  14.  
  15. @DefineProject
  16.   @Name       = "miro╖win - High speed drivers for Windows"
  17.   @Version    = "2.00"
  18.   @OutDrive   = @WindowsDrive
  19.   @SubDir     = "@WindowsDir"
  20.   @InDiskBell = 1
  21. @EndProject
  22.  
  23.  
  24. //*** define variables ********************************************************
  25.  
  26. @DefineVars
  27.   @QString @mName     = "Install disk"
  28.   @Integer @Red       = @RGB (255,0,0)
  29.   @Integer @Green     = @RGB (0,255,0)
  30.   @Integer @Blue      = @RGB (0,0,255)
  31.   @Integer @Black     = @RGB (0,0,0)
  32.   @Integer @White     = @RGB (255,255,255)
  33.   @Integer @UnInstall = @False
  34.   @Integer @OldLang   = 0
  35.   @Integer @Delay     = 0
  36.   @Integer @d         = 5
  37.   @Integer @fflag     = 0
  38.   @QString @merke     = ""
  39.   @Dir @miroDir     = "\\MIRO"
  40.   @Drive @miroDrive = C
  41.   @If (@DirExists ("@WindowsDrive:@WindowsDir\\SYSTEM"))
  42.     @Dir @wSysDir     = "@SubDir\\SYSTEM"
  43.   @Else
  44.     @Dir @wSysDir     = "@SubDir"
  45.   @EndIf
  46.   @If (@DriveRemote (@InDrive))
  47.     @Integer @IsFloppy = 0
  48.   @ElseIf (@Removable (@InDrive))
  49.     @Integer @IsFloppy = 1
  50.   @Else
  51.     @Integer @IsFloppy = 0
  52.   @EndIf
  53. @EndVars
  54.  
  55.  
  56. //*** input language from user ************************************************
  57.  
  58. @SetGroup (E)
  59. @OldLang = 1
  60. @SetLang (1)
  61.  
  62. INPUTLANG:
  63. @GetGroups
  64.   @DlgCtrlSize (0,8,20,12,35)
  65.   @BackGroundMode (2,,)
  66.   @Cls
  67.   @If ('D' [= @Group)
  68.  
  69. Willkommen bei der miro╖win Installation Version @Version
  70.  
  71. Sprachauswahl:
  72.  
  73.   @Set D = "Deutsch"
  74.   @Set E = "English"
  75.  
  76.   @Else
  77.  
  78. Welcome to the miro╖win installation version @Version
  79.  
  80. Language selection:
  81.  
  82.   @Set E = "English"
  83.   @Set D = "Deutsch"
  84.  
  85.   @EndIf
  86. @EndGroups
  87.  
  88. @If ('D' [= @Group && @OldLang != 0)
  89.   @FlushGroups ()
  90.   @SetGroup (D)
  91.   @OldLang = 0
  92.   @SetLang (0)
  93. //@Goto INPUTLANG
  94. @ElseIf ('E' [= @Group && @OldLang != 1)
  95.   @FlushGroups ()
  96.   @SetGroup (E)
  97.   @OldLang = 1
  98.   @SetLang (1)
  99. //@Goto INPUTLANG
  100. @EndIf
  101.  
  102.  
  103. //*** define language dependant strings ***************************************
  104.  
  105. @DefineVars
  106.   @If ('D' [= @Group)
  107.     @QString @M00 = "Die Installation unterstⁿtzt keine"
  108.     @QString @M01 = "Version von Windows vor 3.1 !"
  109.     @QString @M10 = "WΣhlen Sie das Board aus, welches Sie installieren wollen:"
  110.     @QString @M12 = "Installierte Software komplett entfernen"
  111.     @QString @M20 = "WΣhlen Sie mit der Maus die Software aus, die Sie installieren wollen:"
  112.     @QString @M22 = "Windows 3.1 Treiber Software"
  113.     @QString @M23 = "zusΣtzliche miroWINTOOLS"
  114.     @QString @M24 = "miro-Hintergrundbild"
  115.     @QString @M30 = "Software entfernen:"
  116.     @QString @M31 = "Die installierte Software ist aktiv und kann nicht gel÷scht werden."
  117.     @QString @M32 = "Drⁿcken Sie OK, um mit der Installation fortzufahren."
  118.     @QString @M40 = "Geben Sie das Laufwerk fⁿr die miro-Software an:"
  119.     @QString @M45 = "Geben Sie das Verzeichnis fⁿr die miro-Software an:"
  120.     @QString @M102 = "miroMAGIC 40SV ergo"
  121.     @QString @M103 = "miroMAGIC 20SV ergo"
  122.   @Else
  123.     @QString @M00 = "The installation does not support"
  124.     @QString @M01 = "any version of Windows prior to 3.1 !"
  125.     @QString @M10 = "Select with your mouse the board you want to install:"
  126.     @QString @M12 = "Completely remove installed software"
  127.     @QString @M20 = "Select with your mouse the software you want to install:"
  128.     @QString @M22 = "Windows 3.1 driver software"
  129.     @QString @M23 = "additional miroWINTOOLS"
  130.     @QString @M24 = "miro wallpaper"
  131.     @QString @M30 = "Uninstall software:"
  132.     @QString @M31 = "The installed software is active and can therfore not be deleted."
  133.     @QString @M32 = "Press OK to proceed with the installation"
  134.     @QString @M40 = "Enter the drive for the miro software:"
  135.     @QString @M45 = "Enter the directory for the miro software:"
  136.     @QString @M102 = "miroCRYSTAL 40SV ergo"
  137.     @QString @M103 = "miroCRYSTAL 20SV ergo"
  138.   @EndIf
  139. @EndVars
  140.  
  141.  
  142. //*** check windows version ***************************************************
  143.  
  144. @If (@WindowsMajor < 3 || @WindowsMajor == 3 && @WindowsMinor < 1)
  145.   @FlushKeyboard
  146.   @Display
  147.   @BackGroundMode (3, @Red, @Red)
  148.   @Cls
  149. @M00
  150. @M01
  151.   @Pause
  152.   @Abort
  153.   @EndDisplay
  154. @Endif
  155.  
  156.  
  157. //*** input board type by user ************************************************
  158.  
  159. BOARDSELECT:
  160. @GetOption
  161.   @DlgCtrlSize (0,4,0,15,50)
  162.   @BackGroundMode (3,@Blue, @Blue)
  163.   @Cls
  164.  
  165. @M10
  166.  
  167.   @Option 100 = "miroCRYSTAL 40SV (4MB)"
  168.   @Option 101 = "miroCRYSTAL 20SV (2MB)"
  169.   @Option 102 = "@M102 (4MB)"
  170.   @Option 103 = "@M103 (2MB)"
  171.   @Option 104 = "miroCRYSTAL 20SD (2MB)"
  172.   @Option 105 = "miroCRYSTAL 20SD (1MB)"
  173.   @Option 210 = "@M12"
  174. @EndOption
  175.  
  176.  
  177. //*** input items to install from user ****************************************
  178.  
  179. @If (210 [! @Option) // uninstall
  180.   @SetOption (200)
  181.   @GetOption
  182.     @CheckBox
  183.     @DlgCtrlSize (0,4,0,8,50)
  184.     @BackGroundMode (3,@Blue, @Blue)
  185.     @Cls
  186.  
  187. @M20
  188.  
  189.     @Option 200 = "@M22"
  190.     @Option 201 = "@M23"
  191.     @Option 202 = "@M24"
  192.   @EndOption
  193. @EndIf
  194.  
  195.  
  196. //*** input SYSTEM directory by user ******************************************
  197.  
  198. @If (200 [= @Option || 201 [= @Option)
  199.  
  200. @GetOutDrive @miroDrive
  201.     @Suppress A
  202.     @Suppress B
  203. @DlgCtrlSize (0,4,0,8,50)
  204. @BackGroundMode (3,@Blue, @Blue)
  205. @Cls
  206. @M40
  207. @EndOutDrive
  208.  
  209. @GetSubDir @miroDir
  210. @DlgCtrlSize (0,4,0,5,50)
  211. @BackGroundMode (3,@Blue, @Blue)
  212. @Cls
  213. @Default = "\\MIRO"
  214. @M45
  215. @EndSubDir
  216.  
  217. @EndIf
  218.  
  219.  
  220.  
  221.  
  222. //*** Uninstall software ******************************************************
  223.  
  224. @If (210 [= @Option) // uninstall
  225. @If (  (@StrFind(@GetINI ("boot", "386grabber", "system.ini"),"octovga") > -1)
  226.     || (@StrFind(@GetINI ("boot", "386grabber", "system.ini"),"mirogrb") > -1)
  227.     )
  228.   @FlushKeyboard
  229.   @Display
  230. @M31
  231. @M32
  232.   @Pause
  233.   @EndDisplay
  234.   @ClearOption (210)
  235.   @UnInstall = @True
  236.   @Goto BOARDSELECT
  237.  
  238. @Else
  239.   @FlushKeyboard
  240.   @Display
  241. @M30
  242.   @Pause
  243.   @EndDisplay
  244.  
  245.   @Delete ("@OutDrive:@wSysDir\\OEMMAG2E.*")
  246.   @Delete ("@OutDrive:@wSysDir\\OEMMAG4E.*")
  247.   @Delete ("@OutDrive:@wSysDir\\OEMV20SV.*")
  248.   @Delete ("@OutDrive:@wSysDir\\OEMV20E.*")
  249.   @Delete ("@OutDrive:@wSysDir\\OEMC20E.*")
  250.   @Delete ("@OutDrive:@wSysDir\\OEMV40SV.*")
  251.   @Delete ("@OutDrive:@wSysDir\\OEMV40E.*")
  252.   @Delete ("@OutDrive:@wSysDir\\OEMC40E.*")
  253.   @Delete ("@OutDrive:@wSysDir\\OEMV20SD.*")
  254.   @Delete ("@OutDrive:@wSysDir\\OEMC10SD.*")
  255.   @Delete ("@OutDrive:@wSysDir\\OEMC20SD.*")
  256.   @Delete ("@OutDrive:@wSysDir\\OEMC20D1.*")
  257.   @Delete ("@OutDrive:@wSysDir\\OEMC20SV.*")
  258.   @Delete ("@OutDrive:@wSysDir\\OEMC40SV.*")
  259.   @Delete ("@OutDrive:@wSysDir\\OEMMAG40.*")
  260.   @Delete ("@OutDrive:@wSysDir\\OEMMAG20.*")
  261.   @Delete ("@OutDrive:@wSysDir\\OEMC20TW.*")
  262.   @Delete ("@OutDrive:@wSysDir\\OEMBIBO?.*")
  263.   @Delete ("@OutDrive:@wSysDir\\OEMMAGS4.*")
  264.   @Delete ("@OutDrive:@wSysDir\\OEMRAIN.*")
  265.   @Delete ("@OutDrive:@wSysDir\\OEMCR8S.*")
  266.   @Delete ("@OutDrive:@wSysDir\\OEMCR16S.*")
  267.   @Delete ("@OutDrive:@wSysDir\\OEMCR24S.*")
  268.   @Delete ("@OutDrive:@wSysDir\\OEMCR32S.*")
  269.   @Delete ("@OutDrive:@wSysDir\\OEMC40PV.*")
  270.   @Delete ("@OutDrive:@wSysDir\\OEMC20PV.*")
  271.  
  272.   @Delete ("@OutDrive:@wSysDir\\VXPMR*.DRV")
  273.   @Delete ("@OutDrive:@wSysDir\\MIRODCI.DRV")
  274.   @Delete ("@OutDrive:@wSysDir\\BITUM.DRV")
  275.   @Delete ("@OutDrive:@SubDir\\BITUM.INI")
  276.   @Delete ("@OutDrive:@wSysDir\\MIROINIT.DLL")
  277.   @Delete ("@OutDrive:@SubDir\\MIROINIT.DLL")
  278.   @Delete ("@OutDrive:@wSysDir\\MIROHW.DLL")
  279.   @Delete ("@OutDrive:@SubDir\\MIROHW.DLL")
  280.  
  281.   @Delete ("@OutDrive:@wSysDir\\1SD*.DRV")
  282.   @Delete ("@OutDrive:@wSysDir\\C20SD*.DRV")
  283.   @Delete ("@OutDrive:@wSysDir\\C20SV*.DRV")
  284.   @Delete ("@OutDrive:@wSysDir\\C40SV*.DRV")
  285.   @Delete ("@OutDrive:@wSysDir\\C40PV*.DRV")
  286.   @Delete ("@OutDrive:@wSysDir\\C20PV*.DRV")
  287.   @Delete ("@OutDrive:@wSysDir\\M20*.DRV")
  288.   @Delete ("@OutDrive:@wSysDir\\M40*.DRV")
  289.   @Delete ("@OutDrive:@wSysDir\\TW10*.DRV")
  290.   @Delete ("@OutDrive:@wSysDir\\TW20*.DRV")
  291.   @Delete ("@OutDrive:@wSysDir\\TWIN.DRV")
  292.   @Delete ("@OutDrive:@wSysDir\\MAGS4*.DRV")
  293.   @Delete ("@OutDrive:@wSysDir\\RAIN*.DRV")
  294.   @Delete ("@OutDrive:@wSysDir\\C8S*.DRV")
  295.   @Delete ("@OutDrive:@wSysDir\\CR16S*.DRV")
  296.   @Delete ("@OutDrive:@wSysDir\\CR24S*.DRV")
  297.   @Delete ("@OutDrive:@wSysDir\\CR32S*.DRV")
  298.   @Delete ("@OutDrive:@wSysDir\\S3VSND24.DRV")
  299.   @Delete ("@OutDrive:@wSysDir\\OCTO.MON")
  300.   @Delete ("@OutDrive:@wSysDir\\OCTOVGA.*")
  301.   @Delete ("@OutDrive:@SubDir\\MINFO.TXT")
  302.   @Delete ("@OutDrive:@SubDir\\MWINTOOL.INI")
  303.   @Delete ("@OutDrive:@SubDir\\MSUP*.*")
  304.   @Delete ("@miroDrive:@miroDir\\COMMON\\MONSEL.EXE")
  305.   @Delete ("@miroDrive:@miroDir\\COMMON\\MONSEL.INI")
  306.   @Delete ("@miroDrive:@miroDir\\COMMON\\MONSEL.HLP")
  307.   @Delete ("@OutDrive:@SubDir\\MONSEL.*")
  308.   @Delete ("@OutDrive:@SubDir\\VIRTDLL.DLL")
  309.   @Delete ("@OutDrive:@SubDir\\MPWRSAVE.SCR")
  310.   @Delete ("@OutDrive:@SubDir\\TWIN*.*")
  311.   @Delete ("@OutDrive:@SubDir\\MTINT*.*")
  312.   @Delete ("@miroDrive:@miroDir\\COMMON\\MTINT.EXE")
  313.   @Delete ("@miroDrive:@miroDir\\COMMON\\MTINT.HLP")
  314.   @Delete ("@miroDrive:@miroDir\\COMMON\\MTINT.INI")
  315.   @Delete ("@OutDrive:@SubDir\\WSIZER.*")
  316.   @Delete ("@miroDrive:@miroDir\\COMMON\\WSIZER.EXE")
  317.   @Delete ("@miroDrive:@miroDir\\COMMON\\WSIZER.INI")
  318.   @Delete ("@miroDrive:@miroDir\\COMMON\\WSIZER.HLP")
  319.   @Delete ("@miroDrive:@miroDir\\COMMON\\MCLASS.DLL")
  320.   @Delete ("@OutDrive:@SubDir\\WADJUST.*")
  321.   @Delete ("@OutDrive:@SubDir\\MFONTCOM.EXE")
  322.   @Delete ("@OutDrive:@SubDir\\MIROSCOP.EXE")
  323.   @Delete ("@miroDrive:@miroDir\\COMMON\\MSCOPE.EXE")
  324.   @Delete ("@miroDrive:@miroDir\\COMMON\\MSCOPE.INI")
  325.   @Delete ("@OutDrive:@SubDir\\MIROHOOK.DLL")
  326.   @Delete ("@OutDrive:@SubDir\\MSCOPE*.HLP")
  327.   @Delete ("@OutDrive:@SubDir\\MSIZE*.*")
  328.   @Delete ("@miroDrive:@miroDir\\COMMON\\DRIVCFG.EXE")
  329.   @Delete ("@miroDrive:@miroDir\\COMMON\\DRIVCFG.INI")
  330.   @Delete ("@miroDrive:@miroDir\\COMMON\\DRIVCFG.HLP")
  331.   @Delete ("@miroDrive:@miroDir\\COMMON\\OEM*.INF")
  332.  
  333.   @Delete ("@OutDrive:@wSysDir\\MIROLOGO.RLE")
  334.   @Delete ("@OutDrive:@SubDir\\*.MIR")
  335.  
  336.   @WinExec ("PROGMAN.EXE", 1)
  337. @Display // ???
  338.   @ProgramManager ("[ShowGroup (miroWINTOOLS, 2)]")
  339.   @Delay = @SystemDate
  340. CLa: @If (@SystemDate - @Delay <= @d) @Goto CLa @EndIf
  341.   @ProgramManager ("[DeleteItem (miro SUPERSCREEN)]")
  342.   @Delay = @SystemDate
  343. CLb: @If (@SystemDate - @Delay <= @d) @Goto CLb @EndIf
  344.   @ProgramManager ("[DeleteItem (miro MONITOR SELECT)]")
  345.   @Delay = @SystemDate
  346. CLbb: @If (@SystemDate - @Delay <= @d) @Goto CLbb @EndIf
  347.   @ProgramManager ("[DeleteItem (miroMONITOR-Select)]")
  348.   @Delay = @SystemDate
  349. CLc: @If (@SystemDate - @Delay <= @d) @Goto CLc @EndIf
  350.   @ProgramManager ("[DeleteItem (miroTINT CONTROL)]")
  351.   @Delay = @SystemDate
  352. CLd: @If (@SystemDate - @Delay <= @d) @Goto CLd @EndIf
  353.   @ProgramManager ("[DeleteItem (miro HOTKEY)]")
  354.   @Delay = @SystemDate
  355. CLk: @If (@SystemDate - @Delay <= @d) @Goto CLk @EndIf
  356.   @ProgramManager ("[DeleteItem (miro PINBOARD)]")
  357.   @Delay = @SystemDate
  358. CLl: @If (@SystemDate - @Delay <= @d) @Goto CLl @EndIf
  359.   @ProgramManager ("[DeleteItem (miroSCREEN-Adjust)]")
  360.   @Delay = @SystemDate
  361. CLe: @If (@SystemDate - @Delay <= @d) @Goto CLe @EndIf
  362.   @ProgramManager ("[DeleteItem (miro FONTCOMPILER)]")
  363.   @Delay = @SystemDate
  364. CLf: @If (@SystemDate - @Delay <= @d) @Goto CLf @EndIf
  365.   @ProgramManager ("[DeleteItem (miroSCOPE)]")
  366.   @Delay = @SystemDate
  367. CLg: @If (@SystemDate - @Delay <= @d) @Goto CLg @EndIf
  368.   @ProgramManager ("[DeleteItem (miroSIZE CALIBRATION)]")
  369.   @Delay = @SystemDate
  370. CLh: @If (@SystemDate - @Delay <= @d) @Goto CLh @EndIf
  371.   @ProgramManager ("[DeleteItem (miro TWINFACE)]")
  372.   @Delay = @SystemDate
  373. CLi: @If (@SystemDate - @Delay <= @d) @Goto CLi @EndIf
  374.   @ProgramManager ("[DeleteItem (Information)]")
  375.   @Delay = @SystemDate
  376. CLaa: @If (@SystemDate - @Delay <= @d) @Goto CLaa @EndIf
  377.   @ProgramManager ("[DeleteItem (miroDRIVER-Control)]")
  378.   @Delay = @SystemDate
  379. CLj: @If (@SystemDate - @Delay <= @d) @Goto CLj @EndIf
  380.   @ProgramManager ("[DeleteGroup (miroWINTOOLS)]")
  381.   @Delay = @SystemDate
  382. CLm: @If (@SystemDate - @Delay <= @d) @Goto CLm @EndIf
  383. @EndDisplay
  384.  
  385.  
  386.   @SetINI ("928.drv", "dpi",, "system.ini")
  387.   @SetINI ("928.drv", "Virtual_Size_X",, "system.ini")
  388.   @SetINI ("928.drv", "Virtual_Size_Y",, "system.ini")
  389.   @SetINI ("928.drv", "Screen_Size_X",, "system.ini")
  390.   @SetINI ("928.drv", "Screen_Size_Y",, "system.ini")
  391.   @SetINI ("928.drv", "Memory_Size_X",, "system.ini")
  392.   @SetINI ("928.drv", "Memory_Size_Y",, "system.ini")
  393.   @SetINI ("928.drv", "Pixel_Size",, "system.ini")
  394.   @SetINI ("928.drv", "polygon-support",, "system.ini")
  395.   @SetINI ("928.drv", "TV",, "system.ini")
  396.   @SetINI ("928.drv", "2in1",, "system.ini")
  397.   @SetINI ("928.drv", "15BPP",, "system.ini")
  398.   @SetINI ("928.drv", "notaus",, "system.ini")
  399.   @SetINI ("928.drv", "DRAM",, "system.ini")
  400.   @SetINI ("928.drv", "VXPBlt",, "system.ini")
  401.   @SetINI ("928.drv", "FIFO",, "system.ini")
  402.   @SetINI ("928.drv", "Mon_Data",, "system.ini")
  403.   @SetINI ("928.drv", "Mon_Path",, "system.ini")
  404.   @SetINI ("928.drv", "MonDesc",, "system.ini")
  405.   @SetINI ("928.drv", "BoardDesc",, "system.ini")
  406.   @SetINI ("928.drv", "CardID",, "system.ini")
  407.   @SetINI ("928.drv", "CardSubID",, "system.ini")
  408.   @SetINI ("928.drv", "Font",, "system.ini")
  409.   @SetINI ("928.drv", "RAM",, "system.ini")
  410.   @SetINI ("928.drv", "PhysBoardNr",, "system.ini")
  411.   @SetINI ("928.drv", "SysColors",, "system.ini")
  412.  
  413.   @SetINI ("twinleft.drv", "dpi",, "system.ini")
  414.   @SetINI ("twinleft.drv", "Virtual_Size_X",, "system.ini")
  415.   @SetINI ("twinleft.drv", "Virtual_Size_Y",, "system.ini")
  416.   @SetINI ("twinleft.drv", "Screen_Size_X",, "system.ini")
  417.   @SetINI ("twinleft.drv", "Screen_Size_Y",, "system.ini")
  418.   @SetINI ("twinleft.drv", "Memory_Size_X",, "system.ini")
  419.   @SetINI ("twinleft.drv", "Memory_Size_Y",, "system.ini")
  420.   @SetINI ("twinleft.drv", "Pixel_Size",, "system.ini")
  421.   @SetINI ("twinleft.drv", "polygon-support",, "system.ini")
  422.   @SetINI ("twinleft.drv", "TV",, "system.ini")
  423.   @SetINI ("twinleft.drv", "2in1",, "system.ini")
  424.   @SetINI ("twinleft.drv", "15BPP",, "system.ini")
  425.   @SetINI ("twinleft.drv", "notaus",, "system.ini")
  426.   @SetINI ("twinleft.drv", "DRAM",, "system.ini")
  427.   @SetINI ("twinleft.drv", "VXPBlt",, "system.ini")
  428.   @SetINI ("twinleft.drv", "FIFO",, "system.ini")
  429.   @SetINI ("twinleft.drv", "Mon_Data",, "system.ini")
  430.   @SetINI ("twinleft.drv", "Mon_Path",, "system.ini")
  431.   @SetINI ("twinleft.drv", "MonDesc",, "system.ini")
  432.   @SetINI ("twinleft.drv", "BoardDesc",, "system.ini")
  433.   @SetINI ("twinleft.drv", "CardID",, "system.ini")
  434.   @SetINI ("twinleft.drv", "CardSubID",, "system.ini")
  435.   @SetINI ("twinleft.drv", "Font",, "system.ini")
  436.   @SetINI ("twinleft.drv", "RAM",, "system.ini")
  437.   @SetINI ("twinleft.drv", "PhysBoardNr",, "system.ini")
  438.   @SetINI ("twinleft.drv", "SysColors",, "system.ini")
  439.  
  440.   @SetINI ("twinright.drv", "dpi",, "system.ini")
  441.   @SetINI ("twinright.drv", "Virtual_Size_X",, "system.ini")
  442.   @SetINI ("twinright.drv", "Virtual_Size_Y",, "system.ini")
  443.   @SetINI ("twinright.drv", "Screen_Size_X",, "system.ini")
  444.   @SetINI ("twinright.drv", "Screen_Size_Y",, "system.ini")
  445.   @SetINI ("twinright.drv", "Memory_Size_X",, "system.ini")
  446.   @SetINI ("twinright.drv", "Memory_Size_Y",, "system.ini")
  447.   @SetINI ("twinright.drv", "Pixel_Size",, "system.ini")
  448.   @SetINI ("twinright.drv", "polygon-support",, "system.ini")
  449.   @SetINI ("twinright.drv", "TV",, "system.ini")
  450.   @SetINI ("twinright.drv", "2in1",, "system.ini")
  451.   @SetINI ("twinright.drv", "15BPP",, "system.ini")
  452.   @SetINI ("twinright.drv", "notaus",, "system.ini")
  453.   @SetINI ("twinright.drv", "DRAM",, "system.ini")
  454.   @SetINI ("twinright.drv", "VXPBlt",, "system.ini")
  455.   @SetINI ("twinright.drv", "FIFO",, "system.ini")
  456.   @SetINI ("twinright.drv", "Mon_Data",, "system.ini")
  457.   @SetINI ("twinright.drv", "Mon_Path",, "system.ini")
  458.   @SetINI ("twinright.drv", "MonDesc",, "system.ini")
  459.   @SetINI ("twinright.drv", "BoardDesc",, "system.ini")
  460.   @SetINI ("twinright.drv", "CardID",, "system.ini")
  461.   @SetINI ("twinright.drv", "CardSubID",, "system.ini")
  462.   @SetINI ("twinright.drv", "Font",, "system.ini")
  463.   @SetINI ("twinright.drv", "RAM",, "system.ini")
  464.   @SetINI ("twinright.drv", "PhysBoardNr",, "system.ini")
  465.   @SetINI ("twinright.drv", "SysColors",, "system.ini")
  466.  
  467.   @SetINI ("boot.description", "displayinf",, "system.ini")
  468.   @SetINI ("boot.description", "displayinf2",, "system.ini")
  469.   @SetINI ("mboot.description", "displayinf",, "system.ini")
  470.   @SetINI ("mboot.description", "displayinf2",, "system.ini")
  471.   @SetINI ("mboot.description", "mboot",, "system.ini")
  472.   @SetINI ("mboot.description", "f_flag",, "system.ini")
  473.   @SetINI ("mboot.description", "boardfam",, "system.ini")
  474.   @SetINI ("mboot.description", "displayinf",, "system.ini")
  475.   @SetINI ("mboot.description", "resolution",, "system.ini")
  476.   @SetINI ("mboot.description", "resolution2",, "system.ini")
  477.   @SetINI ("mboot.description", "left",, "system.ini")
  478.   @SetINI ("mboot.description", "right",, "system.ini")
  479.   @SetINI ("mboot.description","Screen_Size_X",, "system.ini")
  480.   @SetINI ("mboot.description","Screen_Size_Y",, "system.ini")
  481.   @SetINI ("mboot.description","Pixel_Size",, "system.ini")
  482.   @SetINI ("mboot.description","dpi",, "system.ini")
  483.   @SetINI ("mboot.description", "BusType",, "system.ini")
  484.   @SetINI ("mboot.description", "BoardDesc",, "system.ini")
  485.   @SetINI ("mboot.description", "MonDesc",, "system.ini")
  486.  
  487.   @SetINI ("2in1.drv", "driverx1",, "system.ini")
  488.   @SetINI ("2in1.drv", "driverx2",, "system.ini")
  489.   @SetINI ("2in1.drv", "display1",, "system.ini")
  490.   @SetINI ("2in1.drv", "display2",, "system.ini")
  491.  
  492.   @SetINI ("miroSCOPE", "Sensibility",, "win.ini")
  493.   @SetINI ("miroSCOPE", "Zoom Factor",, "win.ini")
  494.   @SetINI ("miroSCOPE", "Hotkey Number",, "win.ini")
  495.   @SetINI ("miroSCOPE", "Window dimensions",, "win.ini")
  496.  
  497.   @SetINI ("miroTWINFACE", "top",, "win.ini")
  498.   @SetINI ("miroTWINFACE", "run",, "win.ini")
  499.   @SetINI ("miroTWINFACE", "align",, "win.ini")
  500.  
  501.   @SetINI ("miroVIRTUAL", "top",, "win.ini")
  502.   @SetINI ("miroVIRTUAL", "run",, "win.ini")
  503.   @SetINI ("miroVIRTUAL", "align",, "win.ini")
  504.  
  505.   @SetINI ("TintControl", "SIP_MONTEMP",, "win.ini")
  506.   @SetINI ("TintControl", "SIP_COLOR",, "win.ini")
  507.   @SetINI ("TintControl", "CLUT",, "win.ini")
  508.   @SetINI ("TintControl", "CLUT1",, "win.ini")
  509.   @SetINI ("TintControl", "CLUT2",, "win.ini")
  510.  
  511.   @SetINI ("miroSIZE CALIBRATION", "DP100mmX",, "win.ini")
  512.   @SetINI ("miroSIZE CALIBRATION", "DP100mmY",, "win.ini")
  513.   @SetINI ("miroSIZE CALIBRATION", "HiResMonitorX",, "win.ini")
  514.   @SetINI ("miroSIZE CALIBRATION", "HiResMonitorY",, "win.ini")
  515.  
  516.   @SetINI ("Screensaver.miroPOWERSAVE", "VESAMonitors",, "control.ini")
  517.   @SetINI ("Screensaver.miroPOWERSAVE", "ResumeAfterPOWERDOWN",, "control.ini")
  518.   @SetINI ("Screensaver.miroPOWERSAVE", "TEST_VESAMonitors",, "control.ini")
  519.   @SetINI ("Screensaver.miroPOWERSAVE", "StandbyTime",, "control.ini")
  520.   @SetINI ("Screensaver.miroPOWERSAVE", "SuspendTime",, "control.ini")
  521.  
  522.   @SetINI ("s3_24.drv", "FontSize",, "system.ini")
  523.   @SetINI ("s3_24.drv", "WidthXHeight",, "system.ini")
  524.  
  525.   @SetINI ("v631p.drv","FontSize",, "system.ini")
  526.   @SetINI ("v631p.drv","EnableHwCursor",, "system.ini")
  527.   @SetINI ("v631p.drv","WidthXHeight",, "system.ini")
  528.   @SetINI ("avga800.drv","FontSize",, "system.ini")
  529.   @SetINI ("avga800.drv","EnableHwCursor",, "system.ini")
  530.   @SetINI ("avga800.drv","WidthXHeight",, "system.ini")
  531.   @SetINI ("al314p.drv","FontSize",, "system.ini")
  532.   @SetINI ("al314p.drv","EnableHwCursor",, "system.ini")
  533.   @SetINI ("al314p.drv","WidthXHeight",, "system.ini")
  534.   @SetINI ("avga1280.drv","FontSize",, "system.ini")
  535.   @SetINI ("avga1280.drv","EnableHwCursor",, "system.ini")
  536.   @SetINI ("avga1280.drv","WidthXHeight",, "system.ini")
  537.   @SetINI ("al3164p.drv","FontSize",, "system.ini")
  538.   @SetINI ("al3164p.drv","EnableHwCursor",, "system.ini")
  539.   @SetINI ("al3164p.drv","WidthXHeight",, "system.ini")
  540.   @SetINI ("al16m.drv","FontSize",, "system.ini")
  541.   @SetINI ("al16m.drv","EnableHwCursor",, "system.ini")
  542.   @SetINI ("al16m.drv","WidthXHeight",, "system.ini")
  543.   @SetINI ("v631f8s.drv","FontSize",, "system.ini")
  544.   @SetINI ("v631f8s.drv","EnableHwCursor",, "system.ini")
  545.   @SetINI ("v631f8s.drv","WidthXHeight",, "system.ini")
  546.  
  547.   @If (   "@GetINI ("drivers","DCI","system.ini")" == "MIRODCI"
  548.       &&  "@GetINI ("drivers","MIRODCI","system.ini")" != ""
  549.       )
  550.     @SetINI ("drivers", "DCI", "@GetINI ("drivers","MIRODCI","system.ini")", "system.ini")
  551.     @SetINI ("drivers", "MIRODCI",, "system.ini")
  552.   @Else
  553.     @If (   "@GetINI ("drivers","DCI","system.ini")" == "MIRODCI")
  554.       @SetINI ("drivers", "DCI",, "system.ini")
  555.     @EndIf
  556.   @EndIf
  557.  
  558.   @merke = @GetINI("Windows", "run","win.ini")
  559.   @If (@StrFind("@merke", "@miroDrive:@miroDir\\COMMON\\WSIZER.EXE") > -1)
  560.     @merke = @StrDel("@merke", @StrFind("@merke", "@miroDrive:@miroDir\\COMMON\\WSIZER.EXE"),@StrLen("@miroDrive:@miroDir\\COMMON\\WSIZER.EXE "))
  561.     @SetINI ("Windows", "run", "@merke", "win.ini")
  562.   @EndIf
  563.  
  564.   //OLD WSIZER
  565.   @merke = @GetINI("Windows", "run","win.ini")
  566.   @If (@StrFind("@merke", "@OutDrive:@SubDir\\WSIZER.EXE") > -1)
  567.     @merke = @StrDel("@merke", @StrFind("@merke", "@OutDrive:@SubDir\\WSIZER.EXE"),@StrLen("@OutDrive:@SubDir\\WSIZER.EXE "))
  568.     @SetINI ("Windows", "run", "@merke", "win.ini")
  569.   @EndIf
  570.  
  571.   @ClearOption (210)
  572.   @UnInstall = @True
  573.   @Goto BOARDSELECT
  574. @EndIf
  575. @EndIf
  576.  
  577.  
  578. //*** files to be copied ******************************************************
  579.  
  580. @If (200 [= @Option    // copy if Windows drivers
  581.     || 201 [= @Option) // or miro windows tools
  582.     @MkDir("@miroDrive:@miroDir")
  583.     @MkDir("@miroDrive:@miroDir\\COMMON")
  584.     @MkDir("@miroDrive:@miroDir\\TIMING")
  585.     @MkDir("@miroDrive:@miroDir\\FONT")
  586. @Endif
  587. @If (200 [= @Option    // copy if Windows drivers
  588.     || 201 [= @Option) // or miro windows tools
  589.   @If ('D' [= @Group)
  590.     @Copy ("@InDrive:\\README.DEU","@OutDrive:@SubDir\\MINFO.TXT")
  591.   @Else
  592.     @Copy ("@InDrive:\\README.ENG","@OutDrive:@SubDir\\MINFO.TXT")
  593.   @EndIf
  594. @EndIf
  595.  
  596. @If (200 [= @Option) // Windows drivers
  597.   @DefineDisk
  598.     @Label = "Install disk # 1/2"
  599.     @BeginLib DRIVERS.RED
  600.       @File OEMC40SV.DEU  @Size 30000  @Out @wSysDir\\*.INF @Option 100 @Group D
  601.       @File OEMC40SV.ENG  @Size 30000  @Out @wSysDir\\*.INF @Option 100 @Group E
  602.       @File OEMC20SV.DEU  @Size 25000  @Out @wSysDir\\*.INF @Option 101 @Group D
  603.       @File OEMC20SV.ENG  @Size 25000  @Out @wSysDir\\*.INF @Option 101 @Group E
  604.       @File OEMC20SD.DEU  @Size 25000  @Out @wSysDir\\*.INF @Option 104 @Group D
  605.       @File OEMC20SD.ENG  @Size 25000  @Out @wSysDir\\*.INF @Option 104 @Group E
  606.       @File OEMC20D1.DEU  @Size 25000  @Out @wSysDir\\*.INF @Option 105 @Group D
  607.       @File OEMC20D1.ENG  @Size 25000  @Out @wSysDir\\*.INF @Option 105 @Group E
  608.       @File OEMC40E.DEU   @Size 35000  @Out @wSysDir\\*.INF @Option 102 @Group D
  609.       @File OEMC40E.ENG   @Size 35000  @Out @wSysDir\\*.INF @Option 102 @Group E
  610.       @File OEMC20E.DEU   @Size 25000  @Out @wSysDir\\*.INF @Option 103 @Group D
  611.       @File OEMC20E.ENG   @Size 25000  @Out @wSysDir\\*.INF @Option 103 @Group E
  612.       @File OEMC40SV.DEU  @Size 30000  @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 100 @Group D
  613.       @File OEMC40SV.ENG  @Size 30000  @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 100 @Group E
  614.       @File OEMC20SV.DEU  @Size 25000  @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 101 @Group D
  615.       @File OEMC20SV.ENG  @Size 25000  @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 101 @Group E
  616.       @File OEMC20SD.DEU  @Size 25000  @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 104 @Group D
  617.       @File OEMC20SD.ENG  @Size 25000  @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 104 @Group E
  618.       @File OEMC20D1.DEU  @Size 25000  @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 105 @Group D
  619.       @File OEMC20D1.ENG  @Size 25000  @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 105 @Group E
  620.       @File OEMC40E.DEU   @Size 35000  @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 102 @Group D
  621.       @File OEMC40E.ENG   @Size 35000  @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 102 @Group E
  622.       @File OEMC20E.DEU   @Size 25000  @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 103 @Group D
  623.       @File OEMC20E.ENG   @Size 25000  @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 103 @Group E
  624.  
  625.       @File VXPMR_08.DRV @Size 250000 @Out @wSysDir\\VXPMR_08.* 
  626.       @File VXPMR_16.DRV @Size 250000 @Out @wSysDir\\VXPMR_15.* 
  627.       @File VXPMR_16.DRV @Size 250000 @Out @wSysDir\\VXPMR_16.* 
  628.       @File VXPMR_32.DRV @Size 250000 @Out @wSysDir\\VXPMR_32.* 
  629.       @File S3VSND24.DRV @Size 110000 @Out @wSysDir\\*.* @Option 105
  630.  
  631.       @File MIRODCI.DRV  @Size 55000  @Out @wSysDir\\MIRODCI.DRV 
  632.       @File BITUM.DRV    @Size 70000  @Out @wSysDir\\*.*
  633.       @File BITUM.INI    @Size 500    @Out *.*
  634.       @File MIROINIT.DLL @Size 110000 @Out @wSysDir\\*.*
  635.       @File MIROHW.DLL   @Size 90000  @Out @wSysDir\\*.*
  636.       @File MIROHW.INI   @Size 1000   @Out @miroDrive:@miroDir\\COMMON\\*.*
  637.  
  638.       @File MONITOR.INI  @Size 30000  @Out @miroDrive:@miroDir\\TIMING\\*.*
  639.       @File TIMING.INI   @Size 50000  @Out @miroDrive:@miroDir\\TIMING\\*.*
  640.       @File CARD000A.INI @Size 17000  @Out @miroDrive:@miroDir\\TIMING\\*.*
  641.       @File CARD010A.INI @Size 17000  @Out @miroDrive:@miroDir\\TIMING\\*.*
  642.       @File CARD000E.INI @Size 25000  @Out @miroDrive:@miroDir\\TIMING\\*.*
  643.       @File CARD000D.INI @Size 25000  @Out @miroDrive:@miroDir\\TIMING\\*.*
  644.       @File CARD000F.INI @Size 17000  @Out @miroDrive:@miroDir\\TIMING\\*.*
  645.       @File CARD010F.INI @Size 17000  @Out @miroDrive:@miroDir\\TIMING\\*.*
  646.       @File CARD000B.INI @Size 17000  @Out @miroDrive:@miroDir\\TIMING\\*.*
  647.       @File CARD010B.INI @Size 17000  @Out @miroDrive:@miroDir\\TIMING\\*.*
  648.       @File CARD030B.INI @Size 17000  @Out @miroDrive:@miroDir\\TIMING\\*.*
  649.       @File CARD040B.INI @Size 17000  @Out @miroDrive:@miroDir\\TIMING\\*.*
  650.  
  651.       @File VGALOGO.LGO  @Size 2000   @Out @wSysDir\\*.*
  652.       @File MIROVDD.386  @Size 42000  @Out @wSysDir\\*.*
  653.       @File MIROGRB.3GR  @Size 16000  @Out @wSysDir\\*.*
  654.       @File MIROGRB.2GR  @Size 5000   @Out @wSysDir\\*.*
  655.       //CRYSTAL 20SD 1M for 24Bit
  656.       @If (105 [= @Option)
  657.         @File OCTOVGA.2GR  @Size 5000   @Out @wSysDir\\*.*
  658.         @File OCTOVGA.3GR  @Size 15000  @Out @wSysDir\\*.*
  659.         @File VDDS3.386    @Size 40000  @Out @wSysDir\\*.*
  660.       @EndIf
  661.  
  662.       @File 8514FIX.FON  @Size 12000  @Out @wSysDir\\*.*
  663.       @File 8514OEM.FON  @Size 12000  @Out @wSysDir\\*.*
  664.       @File 8514SYS.FON  @Size 12000  @Out @wSysDir\\*.*
  665.       @File CGA40850.FON @Size 6000   @Out @wSysDir\\*.*
  666.       @File CGA80850.FON @Size 6000   @Out @wSysDir\\*.*
  667.       @File CGA40WOA.FON @Size 7000   @Out @wSysDir\\*.*
  668.       @File CGA80WOA.FON @Size 5000   @Out @wSysDir\\*.*
  669.       @File COURF.FON    @Size 30000  @Out @wSysDir\\*.*
  670.       @File EGA40850.FON @Size 8000   @Out @wSysDir\\*.*
  671.       @File EGA80850.FON @Size 8000   @Out @wSysDir\\*.*
  672.       @File EGA40WOA.FON @Size 9000   @Out @wSysDir\\*.*
  673.       @File EGA80WOA.FON @Size 8000   @Out @wSysDir\\*.*
  674.       @File VGAOEM.FON   @Size 7000   @Out @wSysDir\\*.*
  675.       @File SERIFF.FON   @Size 82000  @Out @wSysDir\\*.*
  676.       @File SMALLF.FON   @Size 22000  @Out @wSysDir\\*.*
  677.       @File SSERIFF.FON  @Size 90000  @Out @wSysDir\\*.*
  678.       @File SYMBOLF.FON  @Size 80000  @Out @wSysDir\\*.*
  679.     @EndLib
  680.   @EndDisk
  681. @EndIf
  682.  
  683.  @If (202 [= @Option) // miro wallpaper
  684.   @DefineDisk
  685.     @Label = "Install disk # 1/2"
  686.     @BeginLib DRIVERS.RED
  687.       @File CRYSTAL.BMP  @Size 80000  @Out MIRO.* 
  688.     @EndLib
  689.   @EndDisk
  690. @EndIf
  691.  
  692.  
  693. @If (200 [= @Option)    // copy if Windows drivers
  694.   @DefineDisk
  695.     @If (@IsFloppy)
  696.       @Label = "Install disk # 2/2"
  697.     @Else
  698.       @Label = "Install disk # 1/2"
  699.     @EndIf
  700.     @BeginLib MWINTOOL.RED
  701.       @File MONSEL.EXE   @Size 70000  @Out @miroDrive:@miroDir\\COMMON\\*.*
  702.       @File MONSEL.INI   @Size 1000   @Out @miroDrive:@miroDir\\COMMON\\*.*
  703.       @File MONSEL.DEU   @Size 34000  @Out @miroDrive:@miroDir\\COMMON\\*.HLP @Group D
  704.       @File MONSEL.ENG   @Size 33000  @Out @miroDrive:@miroDir\\COMMON\\*.HLP @Group E
  705.       @File MSUPSCRN.EXE @Size 90000  @Out *.*
  706.       @File MSUP.DEU     @Size 26000  @Out *.HLP @Group D
  707.       @File MSUP.ENG     @Size 25000  @Out *.HLP @Group E
  708.  
  709.       @File MSUPVIRT.EXE @Size 20000  @Out *.*
  710.       @File VIRTDLL.DLL  @Size 10000  @Out *.*
  711.       @File MSUPVIR.DEU  @Size 10000  @Out *.HLP @Group D
  712.       @File MSUPVIR.ENG  @Size 10000  @Out *.HLP @Group E
  713.       @File MSUPHOT.EXE  @Size 20000  @Out *.*
  714.       @File MSUPSCRD.DLL @Size 3000   @Out *.*
  715.  
  716.       @File MPWRSAVE.SCR @Size 35000  @Out *.*
  717.       @File MTINT.EXE    @Size 95000  @Out @miroDrive:@miroDir\\COMMON\\*.*
  718.       @File MTINTDEU.HLP @Size 45000  @Out @miroDrive:@miroDir\\COMMON\\MTINT.HLP @Group D
  719.       @File MTINTENG.HLP @Size 45000  @Out @miroDrive:@miroDir\\COMMON\\MTINT.HLP @Group E
  720.       @File MTINTDEU.INI @Size 2500   @Out MTINT.INI @Group D
  721.       @File MTINTENG.INI @Size 2500   @Out MTINT.INI @Group E
  722.       @File WSIZER.EXE   @Size 120000 @Out @miroDrive:@miroDir\\COMMON\\*.*
  723.       @File WSIZER.INI   @Size 2000   @Out @miroDrive:@miroDir\\COMMON\\*.*
  724.       @File WSIZER.HLP   @Size 8000   @Out @miroDrive:@miroDir\\COMMON\\*.* @Group D
  725.       @File WSIZER_E.HLP @Size 8000   @Out @miroDrive:@miroDir\\COMMON\\WSIZER.* @Group E
  726.       @File WADJUST.EXE  @Size 82000  @Out @miroDrive:@miroDir\\COMMON\\*.*
  727.       @File WADJUST.INI  @Size 3000   @Out *.*
  728.       @File DRIVCFG.EXE  @Size 85000  @Out @miroDrive:@miroDir\\COMMON\\*.*
  729.       @File DRIVCFG.INI  @Size 6000   @Out @miroDrive:@miroDir\\COMMON\\*.*
  730.       @File DRIVCFG.DEU  @Size 12000  @Out @miroDrive:@miroDir\\COMMON\\DRIVCFG.HLP @Group D
  731.       @File DRIVCFG.ENG  @Size 12000  @Out @miroDrive:@miroDir\\COMMON\\DRIVCFG.HLP @Group E
  732.     @EndLib
  733.   @EndDisk
  734. @EndIf
  735.  
  736. @If (200 [= @Option    // copy if Windows drivers
  737.     || 201 [= @Option) // or miro windows tools
  738.   @DefineDisk
  739.     @If (@IsFloppy)
  740.       @Label = "Install disk # 2/2"
  741.     @Else
  742.       @Label = "Install disk # 1/2"
  743.     @EndIf
  744.     @BeginLib MWINTOOL.RED
  745.       @File MWINTOOL.DEU @Size 15000  @Out *.INI @Group D
  746.       @File MWINTOOL.ENG @Size 15000  @Out *.INI @Group E
  747.       @File MCLASS.DLL   @Size 65000  @Out @miroDrive:@miroDir\\COMMON\\*.*
  748.     @EndLib
  749.   @EndDisk
  750. @EndIf
  751.  
  752. @If (201 [= @Option) // miro windows tools
  753.   @DefineDisk
  754.     @If (@IsFloppy)
  755.       @Label = "Install disk # 2/2"
  756.     @Else
  757.       @Label = "Install disk # 1/2"
  758.     @EndIf
  759.     @BeginLib MWINTOOL.RED
  760.       @File MIROSCOP.EXE @Size 110000 @Out *.*
  761.       @File MIROHOOK.DLL @Size 5000   @Out *.*
  762.       @File MSCOPE.DEU   @Size 55000  @Out *0.HLP @Group D
  763.       @File MSCOPE.ENG   @Size 55000  @Out *0.HLP @Group E
  764. //      @File MSCOPE.EXE   @Size 35000  @Out @miroDrive:@miroDir\\COMMON\\*.*
  765. //      @File MSCOPE.INI   @Size 5000   @Out @miroDrive:@miroDir\\COMMON\\*.*
  766.       @File MSIZER.EXE   @Size 35000  @Out *.*
  767.     @EndLib
  768.   @EndDisk
  769. @EndIf
  770.  
  771.  
  772.  
  773. //*** set variables in .INI files *********************************************
  774.  
  775. @If (200 [= @Option) // Windows drivers
  776.   @SetINI ("mboot.description", "displayinf2",, "system.ini")
  777.   @SetINI ("928.drv", "2in1",, "system.ini")
  778.   @SetINI ("928.drv", "notaus",, "system.ini")
  779.   @SetINI ("928.drv", "DRAM",, "system.ini")
  780.  
  781.   @SetINI ("928.drv", "LinBase","0", "system.ini")
  782.   @SetINI ("mboot.description", "mboot","1", "system.ini")
  783.   @SetINI ("mboot.description", "miroPATH","@miroDrive:@miroDir", "system.ini")
  784.  
  785.   @If (   ("@GetINI ("drivers","DCI","system.ini")" != "")
  786.       &&  ("@GetINI ("drivers","DCI","system.ini")" != "MIRODCI")
  787.       &&  ("@GetINI ("drivers","MIRODCI","system.ini")" == "")
  788.       )
  789.     @SetINI ("drivers", "MIRODCI","@GetINI ("drivers","DCI","system.ini")", "system.ini")
  790.   @EndIf
  791.   @SetINI ("drivers", "DCI","MIRODCI", "system.ini")
  792.  
  793.   @merke = @GetINI("Windows", "run", "win.ini")
  794.   @If (  (@StrFind("@merke", "wsizer") < 0)
  795.       && (@StrFind("@merke", "WSIZER") < 0))
  796.     @SetINI ("Windows", "run", "@miroDrive:@miroDir\\COMMON\\WSIZER.EXE @merke", "win.ini" )
  797.   @EndIf
  798. @EndIf
  799.  
  800. @If (200 [= @Option    // copy if Windows drivers
  801.     || 201 [= @Option) // or miro windows tools
  802.  
  803.   @If (100 [= @Option)
  804.     @SetINI ("TintControl", "CLUT1", "TI3025", "win.ini")
  805.     @SetINI ("TintControl", "CLUT2",, "win.ini")
  806.   @EndIf
  807.   @If (101 [= @Option)
  808.     @SetINI ("TintControl", "CLUT1", "BT485", "win.ini")
  809.     @SetINI ("TintControl", "CLUT2",, "win.ini")
  810.   @EndIf
  811.   @If (102 [= @Option)
  812.     @SetINI ("TintControl", "CLUT1", "TI3026", "win.ini")
  813.     @SetINI ("TintControl", "CLUT2",, "win.ini")
  814.   @EndIf
  815.   @If (103 [= @Option)
  816.     @SetINI ("TintControl", "CLUT1", "TI3025", "win.ini")
  817.     @SetINI ("TintControl", "CLUT2",, "win.ini")
  818.   @EndIf
  819.   @If (104 [= @Option || 105 [= @Option)
  820.     @SetINI ("TintControl", "CLUT1", " ", "win.ini")
  821.     @SetINI ("TintControl", "CLUT2",, "win.ini")
  822.   @EndIf
  823. @EndIf
  824.  
  825.  
  826.  
  827. @If (202 [= @Option) // miro wallpaper
  828.   @SetINI ("Desktop", "TileWallpaper", "1", "win.ini")
  829.   @SetINI ("Desktop", "Wallpaper", "miro.bmp", "win.ini")
  830. @EndIf
  831.  
  832.  
  833. //*** old software to be deleted **********************************************
  834.  
  835. @If (200 [= @Option || 201 [= @Option)
  836.   @Delete ("@OutDrive:@wSysDir\\MIROLOGO.RLE")
  837.   @Delete ("@OutDrive:@SubDir\\*.MIR")
  838.   @Delete ("@OutDrive:@SubDir\\MSUP?.HLP")
  839.   @Delete ("@OutDrive:@SubDir\\MSUPVIR?.HLP")
  840.   @Delete ("@OutDrive:@SubDir\\MSCOPE1.HLP")
  841.   @Delete ("@OutDrive:@SubDir\\MSCOPE2.HLP")
  842.   @Delete ("@OutDrive:@SubDir\\MSCOPE3.HLP")
  843.   @Delete ("@OutDrive:@SubDir\\MSCOPE4.HLP")
  844.   @Delete ("@OutDrive:@SubDir\\MTINTRUN.EXE")
  845.   @Delete ("@OutDrive:@SubDir\\CRYS10SD.BMP")
  846.   @Delete ("@OutDrive:@SubDir\\CRYS20SD.BMP")
  847.   @Delete ("@OutDrive:@SubDir\\CRYS20SV.BMP")
  848.   @Delete ("@OutDrive:@SubDir\\CRYS40SV.BMP")
  849.   @Delete ("@OutDrive:@SubDir\\MIRO20.BMP")
  850.   @Delete ("@OutDrive:@SubDir\\MIRO40.BMP")
  851.   @Delete ("@OutDrive:@SubDir\\MONSEL.*")
  852.   @Delete ("@OutDrive:@SubDir\\MTINT.EXE")
  853.   @Delete ("@OutDrive:@SubDir\\WSIZER.*")
  854.   @Delete ("@OutDrive:@SubDir\\WADJUST.EXE")
  855. @EndIf
  856.  
  857. @If (200 [= @Option && @DirExists ("@OutDrive:@SubDir\\SYSTEM"))
  858.   @Delete ("@OutDrive:@SubDir\\OEMC20SD.*")
  859.   @Delete ("@OutDrive:@SubDir\\OEMC20D1.*")
  860.   @Delete ("@OutDrive:@SubDir\\OEMC20SV.*")
  861.   @Delete ("@OutDrive:@SubDir\\OEMC40SV.*")
  862.   @Delete ("@OutDrive:@SubDir\\OEMC40E.*")
  863.   @Delete ("@OutDrive:@SubDir\\OEMC20E.*")
  864. @EndIf
  865.  
  866.  
  867. //*** project trailer block ***************************************************
  868.  
  869. @Finish
  870.   @BackGroundMode (3,@Blue, @Blue)
  871.   @WinExec ("PROGMAN.EXE", 1)
  872.  
  873.   @If (200 [= @Option || 201 [= @Option)
  874.     @ProgramManager ("[CreateGroup (miroWINTOOLS, MWINTOOL.GRP)]")
  875.     @Delay = @SystemDate
  876. La: @If (@SystemDate - @Delay <= @d) @Goto La @EndIf
  877.     @ProgramManager ("[ReplaceItem (miro SUPERSCREEN)]")
  878.     @Delay = @SystemDate
  879. Lb: @If (@SystemDate - @Delay <= @d) @Goto Lb @EndIf
  880.     @ProgramManager ("[AddItem (@OutDrive:@SubDir\\MSUPSCRN.EXE, miro SUPERSCREEN)]")
  881.     @Delay = @SystemDate
  882. Lcc: @If (@SystemDate - @Delay <= @d) @Goto Lcc @EndIf
  883.     @ProgramManager ("[DeleteItem (miro MONITOR SELECT)]")
  884.     @Delay = @SystemDate
  885. Lc: @If (@SystemDate - @Delay <= @d) @Goto Lc @EndIf
  886.     @ProgramManager ("[ReplaceItem (miroMONITOR-Select)]")
  887.     @Delay = @SystemDate
  888. Ld: @If (@SystemDate - @Delay <= @d) @Goto Ld @EndIf
  889.     @ProgramManager ("[AddItem (@miroDrive:@miroDir\\COMMON\\MONSEL.EXE, miroMONITOR-Select)]")
  890.     @Delay = @SystemDate
  891. Le: @If (@SystemDate - @Delay <= @d) @Goto Le @EndIf
  892.     @ProgramManager ("[ReplaceItem (miroTINT CONTROL)]")
  893.     @Delay = @SystemDate
  894. Lf: @If (@SystemDate - @Delay <= @d) @Goto Lf @EndIf
  895.     @ProgramManager ("[AddItem (@miroDrive:@miroDir\\COMMON\\MTINT.EXE, miroTINT CONTROL)]")
  896.     @Delay = @SystemDate
  897. Lg: @If (@SystemDate - @Delay <= @d) @Goto Lg @EndIf
  898.     @ProgramManager ("[ReplaceItem (miro HOTKEY)]")
  899.     @Delay = @SystemDate
  900. Lh: @If (@SystemDate - @Delay <= @d) @Goto Lh @EndIf
  901.     @ProgramManager ("[AddItem (@OutDrive:@SubDir\\MSUPHOT.EXE, miro HOTKEY)]")
  902.     @Delay = @SystemDate
  903. Lu: @If (@SystemDate - @Delay <= @d) @Goto Lu @EndIf
  904.     @ProgramManager ("[ReplaceItem (miro PINBOARD)]")
  905.     @Delay = @SystemDate
  906. Lv: @If (@SystemDate - @Delay <= @d) @Goto Lv @EndIf
  907.     @ProgramManager ("[AddItem (@miroDrive:@miroDir\\common\\WSIZER.EXE, miro PINBOARD)]")
  908.     @Delay = @SystemDate
  909. Lw: @If (@SystemDate - @Delay <= @d) @Goto Lw @EndIf
  910.     @ProgramManager ("[ReplaceItem (miroSCREEN-Adjust)]")
  911.     @Delay = @SystemDate
  912. Lx: @If (@SystemDate - @Delay <= @d) @Goto Lx @EndIf
  913.     @ProgramManager ("[AddItem (@miroDrive:@miroDir\\COMMON\\WADJUST.EXE, miroSCREEN-Adjust)]")
  914.     @Delay = @SystemDate
  915. Laa: @If (@SystemDate - @Delay <= @d) @Goto Laa @EndIf
  916.     @ProgramManager ("[ReplaceItem (miroDRIVER-Control)]")
  917.     @Delay = @SystemDate
  918. Lab: @If (@SystemDate - @Delay <= @d) @Goto Lab @EndIf
  919.     @ProgramManager ("[AddItem (@miroDrive:@miroDir\\COMMON\\DRIVCFG.EXE, miroDRIVER-Control)]")
  920.     @Delay = @SystemDate
  921. Li: @If (@SystemDate - @Delay <= @d) @Goto Li @EndIf
  922.  
  923.     @If (201 [= @Option) // miro windows tools
  924.       @ProgramManager ("[ReplaceItem (miroSCOPE)]")
  925.       @Delay = @SystemDate
  926. Ll: @If (@SystemDate - @Delay <= @d) @Goto Ll @EndIf
  927.       @ProgramManager ("[AddItem (@OutDrive:@SubDir\\MIROSCOP.EXE, miroSCOPE)]")
  928.       @Delay = @SystemDate
  929. Lm: @If (@SystemDate - @Delay <= @d) @Goto Lm @EndIf
  930.       @ProgramManager ("[ReplaceItem (miroSIZE CALIBRATION)]")
  931.       @Delay = @SystemDate
  932. Ln: @If (@SystemDate - @Delay <= @d) @Goto Ln @EndIf
  933.       @ProgramManager ("[AddItem (@OutDrive:@SubDir\\MSIZER.EXE, miroSIZE CALIBRATION)]")
  934.       @Delay = @SystemDate
  935. Lo: @If (@SystemDate - @Delay <= @d) @Goto Lo @EndIf
  936.     @EndIf
  937.  
  938.     @ProgramManager ("[ReplaceItem (Information)]")
  939.     @Delay = @SystemDate
  940. Lr: @If (@SystemDate - @Delay <= @d) @Goto Lr @EndIf
  941.     @ProgramManager ("[AddItem (NOTEPAD minfo.txt, Information, @miroDrive:@miroDir\\COMMON\\MONSEL.EXE, 1)]")
  942.     @Delay = @SystemDate
  943. Ls: @If (@SystemDate - @Delay <= @d) @Goto Ls @EndIf
  944.     @ProgramManager ("[ShowGroup (miroWINTOOLS, 1)]")
  945.     @Delay = @SystemDate
  946. Lt: @If (@SystemDate - @Delay <= @d) @Goto Lt @EndIf
  947.   @EndIf
  948.  
  949.   @If (200 [= @Option || 201 [= @Option)
  950.     //Language for ini files
  951.     @If ('D' [= @Group)
  952.       @SetINI ("Locale", "Language","Deutsch", "@miroDrive:@miroDir\\common\\drivcfg.ini")
  953.       @SetINI ("Language", "Language","Deutsch", "@miroDrive:@miroDir\\common\\wsizer.ini")
  954.       @SetINI ("Language", "Language","Deutsch", "wadjust.ini")
  955.       @SetINI ("Language", "Language","Deutsch", "@miroDrive:@miroDir\\common\\monsel.ini")
  956.      // @SetINI ("Language", "Language","Deutsch", "@miroDrive:@miroDir\\common\\mscope.ini")
  957.     @EndIf
  958.     @If ('E' [= @Group)
  959.       @SetINI ("Locale", "Language","English", "@miroDrive:@miroDir\\common\\drivcfg.ini")
  960.       @SetINI ("Language", "Language","English", "@miroDrive:@miroDir\\common\\wsizer.ini")
  961.       @SetINI ("Language", "Language","English", "wadjust.ini")
  962.       @SetINI ("Language", "Language","English", "@miroDrive:@miroDir\\common\\monsel.ini")
  963.      // @SetINI ("Language", "Language","English", "@miroDrive:@miroDir\\common\\mscope.ini")
  964.     @EndIf
  965.  
  966.     //Set Menu for miroPINBOARD
  967.     @SetINI ("Menu","miroDRIVER-Control","@miroDrive:@miroDir\\COMMON\\DRIVCFG.EXE","@miroDrive:@miroDir\\common\\wsizer.ini")
  968.     @SetINI ("Menu","miroMONITOR SELECT","@miroDrive:@miroDir\\COMMON\\MONSEL.EXE","@miroDrive:@miroDir\\common\\wsizer.ini")
  969.     @SetINI ("Menu","miroTINT CONTROL",  "@miroDrive:@miroDir\\COMMON\\MTINT.EXE", "@miroDrive:@miroDir\\common\\wsizer.ini")
  970.     @SetINI ("Menu","miroHOTKEY",        "@OutDrive:@SubDir\\MSUPHOT.EXE",    "@miroDrive:@miroDir\\common\\wsizer.ini")
  971.     @SetINI ("Menu","miroSUPERSCREEN",   "@OutDrive:@SubDir\\MSUPSCRN.EXE",   "@miroDrive:@miroDir\\common\\wsizer.ini")
  972.  
  973.     //Monsel
  974.     @SetINI ("BOARDINSTALLNAMES", "0x000A","miroCRYSTAL 20SV", "@miroDrive:@miroDir\\common\\monsel.ini")
  975.     @SetINI ("BOARDINSTALLNAMES", "0x010A","miroCRYSTAL 20SV", "@miroDrive:@miroDir\\common\\monsel.ini")
  976.     @SetINI ("BOARDINSTALLNAMES", "0x000F","miroCRYSTAL 40SV", "@miroDrive:@miroDir\\common\\monsel.ini")
  977.     @SetINI ("BOARDINSTALLNAMES", "0x010F","miroCRYSTAL 40SV", "@miroDrive:@miroDir\\common\\monsel.ini")
  978.     @SetINI ("BOARDINSTALLNAMES", "0x000D","miroCRYSTAL/MAGIC 20SV twin/ergo", "@miroDrive:@miroDir\\common\\monsel.ini")
  979.     @SetINI ("BOARDINSTALLNAMES", "0x000E","miroCRYSTAL/MAGIC 40SV twin/ergo", "@miroDrive:@miroDir\\common\\monsel.ini")
  980.     @SetINI ("BOARDINSTALLNAMES", "0x000B","miroCRYSTAL 20SD", "@miroDrive:@miroDir\\common\\monsel.ini")
  981.     @SetINI ("BOARDINSTALLNAMES", "0x010B","miroCRYSTAL 20SD", "@miroDrive:@miroDir\\common\\monsel.ini")
  982.     @SetINI ("BOARDINSTALLNAMES", "0x030B","miroCRYSTAL 20SD", "@miroDrive:@miroDir\\common\\monsel.ini")
  983.     @SetINI ("BOARDINSTALLNAMES", "0x040B","miroCRYSTAL 20SD", "@miroDrive:@miroDir\\common\\monsel.ini")
  984.     @If (@fflag == 1)
  985.       @SetINI ("boot", "f_flag", "ON", "@miroDrive:@miroDir\\common\\monsel.ini")
  986.     @Else
  987.       @SetINI ("boot", "f_flag",, "@miroDrive:@miroDir\\common\\monsel.ini")
  988.     @EndIf
  989.   @EndIf
  990.  
  991.   @If (200 [= @Option)
  992.     @SetINI ("mboot.description", "mboot","1", "@MIRODRIVE:@MIRODIR\\COMMON\\MSYSTEM.INI")
  993.     
  994.     @If (100 [= @Option)
  995.       @SetINI ("mboot.description", "displayinf", "OEMC40SV.INF", "system.ini")
  996.       @SetINI ("mboot.description", "displayinf", "OEMC40SV.INF", "@MIRODRIVE:@MIRODIR\\COMMON\\MSYSTEM.INI")
  997.     @EndIf
  998.     @If (101 [= @Option)
  999.       @SetINI ("mboot.description", "displayinf", "OEMC20SV.INF", "system.ini")
  1000.       @SetINI ("mboot.description", "displayinf", "OEMC20SV.INF", "@MIRODRIVE:@MIRODIR\\COMMON\\MSYSTEM.INI")
  1001.     @EndIf
  1002.     @If (102 [= @Option)
  1003.       @SetINI ("mboot.description", "displayinf", "OEMC40E.INF", "system.ini")
  1004.       @SetINI ("mboot.description", "displayinf", "OEMC40E.INF", "@MIRODRIVE:@MIRODIR\\COMMON\\MSYSTEM.INI")
  1005.     @EndIf
  1006.     @If (103 [= @Option)
  1007.       @SetINI ("mboot.description", "displayinf", "OEMC20E.INF", "system.ini")
  1008.       @SetINI ("mboot.description", "displayinf", "OEMC20E.INF", "@MIRODRIVE:@MIRODIR\\COMMON\\MSYSTEM.INI")
  1009.     @EndIf
  1010.     @If (104 [= @Option)
  1011.       @SetINI ("mboot.description", "displayinf", "OEMC20SD.INF", "system.ini")
  1012.       @SetINI ("mboot.description", "displayinf", "OEMC20SD.INF", "@MIRODRIVE:@MIRODIR\\COMMON\\MSYSTEM.INI")
  1013.     @EndIf
  1014.     @If (105 [= @Option)
  1015.       @SetINI ("mboot.description", "displayinf", "OEMC20D1.INF", "system.ini")
  1016.       @SetINI ("mboot.description", "displayinf", "OEMC20D1.INF", "@MIRODRIVE:@MIRODIR\\COMMON\\MSYSTEM.INI")
  1017.     @EndIf
  1018.  
  1019.     //Timing system
  1020.     @If (100 [= @Option) //CRYSTAL 40SV
  1021.       @SetINI ("CARD1", "card_name","miroCRYSTAL 40SV", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1022.       @SetINI ("CARD1", "card_file","CARD010F.INI", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1023.     @EndIf
  1024.     @If (101 [= @Option) //CRYSTAL 20SV
  1025.       @SetINI ("CARD1", "card_name","miroCRYSTAL 20SV", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1026.       @SetINI ("CARD1", "card_file","CARD000A.INI", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1027.     @EndIf
  1028.     @If (102 [= @Option) //CRYSTAL 40SV ergo
  1029.       @SetINI ("CARD1", "card_name","miroCRYSTAL/MAGIC 40SV twin/ergo", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1030.       @SetINI ("CARD1", "card_file","CARD000E.INI", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1031.     @EndIf
  1032.     @If (103 [= @Option) //CRYSTAL 20SV ergo
  1033.       @SetINI ("CARD1", "card_name","miroCRYSTAL/MAGIC 20SV twin/ergo", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1034.       @SetINI ("CARD1", "card_file","CARD000D.INI", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1035.     @EndIf
  1036.     @If (104 [= @Option) //CRYSTAL 20SD 2MB
  1037.       @SetINI ("CARD1", "card_name","miroCRYSTAL 20SD", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1038.       @SetINI ("CARD1", "card_file","CARD030B.INI", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1039.     @EndIf
  1040.     @If (105 [= @Option) //CRYSTAL 20SD 1MB
  1041.       @SetINI ("CARD1", "card_name","miroCRYSTAL 20SD", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1042.       @SetINI ("CARD1", "card_file","CARD040B.INI", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1043.     @EndIf
  1044.     @SetINI ("CARD1", "monitor","64kHz multi frequency monitor", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1045.     @SetINI ("CARD1", "miromode","0x0", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1046.     @SetINI ("CARD1", "linaddr_window","0x000A0000", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1047.     @SetINI ("CARD1", "powersave","0", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1048.     //for default
  1049.     @SetINI ("CARD2", "monitor","64kHz multi frequency monitor", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1050.     @SetINI ("CARD2", "card_file","CARDFFFF.INI", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1051.     @SetINI ("CARD2", "card_name","Not Installed", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
  1052.  
  1053.     //Bit depth switching
  1054.     @If (103 [= @Option || 102 [= @Option || 104 [= @Option || 105 [= @Option 
  1055.         || 101 [= @Option || 100 [= @Option)
  1056.       @SetINI ("8",  "display.drv",, "bitum.ini")
  1057.       //@SetINI ("8",  "display.drv", "@wSysDir\\VXPMR_08.DRV", "bitum.ini")
  1058.       @SetINI ("15", "display.drv", "@wSysDir\\VXPMR_15.DRV", "bitum.ini")
  1059.       //@SetINI ("16", "display.drv", "@wSysDir\\VXPMR_16.DRV", "bitum.ini")
  1060.       @SetINI ("32", "display.drv", "@wSysDir\\VXPMR_32.DRV", "bitum.ini")
  1061.     @EndIf
  1062.   @EndIf
  1063.  
  1064.   @ChDrive (@WindowsDrive)
  1065.   @ChDir ("@WindowsDir")
  1066.   @If (200 [= @Option) // Windows drivers
  1067.     @ReturnValue (4711)
  1068.     @WinExec ("@miroDrive:@miroDir\\COMMON\\MONSEL.EXE", 1)
  1069.   @EndIf
  1070. @EndFinish
  1071.  
  1072.  
  1073. //*** eof *********************************************************************
  1074.  
  1075.