home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Inside Multimedia 1996 February
/
IMM0296.ISO
/
driver
/
miro
/
swin_d1
/
install.dat
< prev
next >
Wrap
Text File
|
1995-04-10
|
47KB
|
1,075 lines
//*****************************************************************************
// Name : INSTALL.DAT
// Project : SAMSON: Installation miro WINDOWS-BASIC-DISK
// Function : Scriptfile for KDC-wINSTALL
// Author : KF / miro Computer Products AG,
// Carl-Miele-Str. 4, D-38112 Braunschweig
// created : 12.01.95
// changed : KF 10.04.95
// revision......when...................who.....->.where.and.what..............
// $Log:$
//*****************************************************************************
//*** project header block ****************************************************
@DefineProject
@Name = "miro╖win - High speed drivers for Windows"
@Version = "2.00"
@OutDrive = @WindowsDrive
@SubDir = "@WindowsDir"
@InDiskBell = 1
@EndProject
//*** define variables ********************************************************
@DefineVars
@QString @mName = "Install disk"
@Integer @Red = @RGB (255,0,0)
@Integer @Green = @RGB (0,255,0)
@Integer @Blue = @RGB (0,0,255)
@Integer @Black = @RGB (0,0,0)
@Integer @White = @RGB (255,255,255)
@Integer @UnInstall = @False
@Integer @OldLang = 0
@Integer @Delay = 0
@Integer @d = 5
@Integer @fflag = 0
@QString @merke = ""
@Dir @miroDir = "\\MIRO"
@Drive @miroDrive = C
@If (@DirExists ("@WindowsDrive:@WindowsDir\\SYSTEM"))
@Dir @wSysDir = "@SubDir\\SYSTEM"
@Else
@Dir @wSysDir = "@SubDir"
@EndIf
@If (@DriveRemote (@InDrive))
@Integer @IsFloppy = 0
@ElseIf (@Removable (@InDrive))
@Integer @IsFloppy = 1
@Else
@Integer @IsFloppy = 0
@EndIf
@EndVars
//*** input language from user ************************************************
@SetGroup (E)
@OldLang = 1
@SetLang (1)
INPUTLANG:
@GetGroups
@DlgCtrlSize (0,8,20,12,35)
@BackGroundMode (2,,)
@Cls
@If ('D' [= @Group)
Willkommen bei der miro╖win Installation Version @Version
Sprachauswahl:
@Set D = "Deutsch"
@Set E = "English"
@Else
Welcome to the miro╖win installation version @Version
Language selection:
@Set E = "English"
@Set D = "Deutsch"
@EndIf
@EndGroups
@If ('D' [= @Group && @OldLang != 0)
@FlushGroups ()
@SetGroup (D)
@OldLang = 0
@SetLang (0)
//@Goto INPUTLANG
@ElseIf ('E' [= @Group && @OldLang != 1)
@FlushGroups ()
@SetGroup (E)
@OldLang = 1
@SetLang (1)
//@Goto INPUTLANG
@EndIf
//*** define language dependant strings ***************************************
@DefineVars
@If ('D' [= @Group)
@QString @M00 = "Die Installation unterstⁿtzt keine"
@QString @M01 = "Version von Windows vor 3.1 !"
@QString @M10 = "WΣhlen Sie das Board aus, welches Sie installieren wollen:"
@QString @M12 = "Installierte Software komplett entfernen"
@QString @M20 = "WΣhlen Sie mit der Maus die Software aus, die Sie installieren wollen:"
@QString @M22 = "Windows 3.1 Treiber Software"
@QString @M23 = "zusΣtzliche miroWINTOOLS"
@QString @M24 = "miro-Hintergrundbild"
@QString @M30 = "Software entfernen:"
@QString @M31 = "Die installierte Software ist aktiv und kann nicht gel÷scht werden."
@QString @M32 = "Drⁿcken Sie OK, um mit der Installation fortzufahren."
@QString @M40 = "Geben Sie das Laufwerk fⁿr die miro-Software an:"
@QString @M45 = "Geben Sie das Verzeichnis fⁿr die miro-Software an:"
@QString @M102 = "miroMAGIC 40SV ergo"
@QString @M103 = "miroMAGIC 20SV ergo"
@Else
@QString @M00 = "The installation does not support"
@QString @M01 = "any version of Windows prior to 3.1 !"
@QString @M10 = "Select with your mouse the board you want to install:"
@QString @M12 = "Completely remove installed software"
@QString @M20 = "Select with your mouse the software you want to install:"
@QString @M22 = "Windows 3.1 driver software"
@QString @M23 = "additional miroWINTOOLS"
@QString @M24 = "miro wallpaper"
@QString @M30 = "Uninstall software:"
@QString @M31 = "The installed software is active and can therfore not be deleted."
@QString @M32 = "Press OK to proceed with the installation"
@QString @M40 = "Enter the drive for the miro software:"
@QString @M45 = "Enter the directory for the miro software:"
@QString @M102 = "miroCRYSTAL 40SV ergo"
@QString @M103 = "miroCRYSTAL 20SV ergo"
@EndIf
@EndVars
//*** check windows version ***************************************************
@If (@WindowsMajor < 3 || @WindowsMajor == 3 && @WindowsMinor < 1)
@FlushKeyboard
@Display
@BackGroundMode (3, @Red, @Red)
@Cls
@M00
@M01
@Pause
@Abort
@EndDisplay
@Endif
//*** input board type by user ************************************************
BOARDSELECT:
@GetOption
@DlgCtrlSize (0,4,0,15,50)
@BackGroundMode (3,@Blue, @Blue)
@Cls
@M10
@Option 100 = "miroCRYSTAL 40SV (4MB)"
@Option 101 = "miroCRYSTAL 20SV (2MB)"
@Option 102 = "@M102 (4MB)"
@Option 103 = "@M103 (2MB)"
@Option 104 = "miroCRYSTAL 20SD (2MB)"
@Option 105 = "miroCRYSTAL 20SD (1MB)"
@Option 210 = "@M12"
@EndOption
//*** input items to install from user ****************************************
@If (210 [! @Option) // uninstall
@SetOption (200)
@GetOption
@CheckBox
@DlgCtrlSize (0,4,0,8,50)
@BackGroundMode (3,@Blue, @Blue)
@Cls
@M20
@Option 200 = "@M22"
@Option 201 = "@M23"
@Option 202 = "@M24"
@EndOption
@EndIf
//*** input SYSTEM directory by user ******************************************
@If (200 [= @Option || 201 [= @Option)
@GetOutDrive @miroDrive
@Suppress A
@Suppress B
@DlgCtrlSize (0,4,0,8,50)
@BackGroundMode (3,@Blue, @Blue)
@Cls
@M40
@EndOutDrive
@GetSubDir @miroDir
@DlgCtrlSize (0,4,0,5,50)
@BackGroundMode (3,@Blue, @Blue)
@Cls
@Default = "\\MIRO"
@M45
@EndSubDir
@EndIf
//*** Uninstall software ******************************************************
@If (210 [= @Option) // uninstall
@If ( (@StrFind(@GetINI ("boot", "386grabber", "system.ini"),"octovga") > -1)
|| (@StrFind(@GetINI ("boot", "386grabber", "system.ini"),"mirogrb") > -1)
)
@FlushKeyboard
@Display
@M31
@M32
@Pause
@EndDisplay
@ClearOption (210)
@UnInstall = @True
@Goto BOARDSELECT
@Else
@FlushKeyboard
@Display
@M30
@Pause
@EndDisplay
@Delete ("@OutDrive:@wSysDir\\OEMMAG2E.*")
@Delete ("@OutDrive:@wSysDir\\OEMMAG4E.*")
@Delete ("@OutDrive:@wSysDir\\OEMV20SV.*")
@Delete ("@OutDrive:@wSysDir\\OEMV20E.*")
@Delete ("@OutDrive:@wSysDir\\OEMC20E.*")
@Delete ("@OutDrive:@wSysDir\\OEMV40SV.*")
@Delete ("@OutDrive:@wSysDir\\OEMV40E.*")
@Delete ("@OutDrive:@wSysDir\\OEMC40E.*")
@Delete ("@OutDrive:@wSysDir\\OEMV20SD.*")
@Delete ("@OutDrive:@wSysDir\\OEMC10SD.*")
@Delete ("@OutDrive:@wSysDir\\OEMC20SD.*")
@Delete ("@OutDrive:@wSysDir\\OEMC20D1.*")
@Delete ("@OutDrive:@wSysDir\\OEMC20SV.*")
@Delete ("@OutDrive:@wSysDir\\OEMC40SV.*")
@Delete ("@OutDrive:@wSysDir\\OEMMAG40.*")
@Delete ("@OutDrive:@wSysDir\\OEMMAG20.*")
@Delete ("@OutDrive:@wSysDir\\OEMC20TW.*")
@Delete ("@OutDrive:@wSysDir\\OEMBIBO?.*")
@Delete ("@OutDrive:@wSysDir\\OEMMAGS4.*")
@Delete ("@OutDrive:@wSysDir\\OEMRAIN.*")
@Delete ("@OutDrive:@wSysDir\\OEMCR8S.*")
@Delete ("@OutDrive:@wSysDir\\OEMCR16S.*")
@Delete ("@OutDrive:@wSysDir\\OEMCR24S.*")
@Delete ("@OutDrive:@wSysDir\\OEMCR32S.*")
@Delete ("@OutDrive:@wSysDir\\OEMC40PV.*")
@Delete ("@OutDrive:@wSysDir\\OEMC20PV.*")
@Delete ("@OutDrive:@wSysDir\\VXPMR*.DRV")
@Delete ("@OutDrive:@wSysDir\\MIRODCI.DRV")
@Delete ("@OutDrive:@wSysDir\\BITUM.DRV")
@Delete ("@OutDrive:@SubDir\\BITUM.INI")
@Delete ("@OutDrive:@wSysDir\\MIROINIT.DLL")
@Delete ("@OutDrive:@SubDir\\MIROINIT.DLL")
@Delete ("@OutDrive:@wSysDir\\MIROHW.DLL")
@Delete ("@OutDrive:@SubDir\\MIROHW.DLL")
@Delete ("@OutDrive:@wSysDir\\1SD*.DRV")
@Delete ("@OutDrive:@wSysDir\\C20SD*.DRV")
@Delete ("@OutDrive:@wSysDir\\C20SV*.DRV")
@Delete ("@OutDrive:@wSysDir\\C40SV*.DRV")
@Delete ("@OutDrive:@wSysDir\\C40PV*.DRV")
@Delete ("@OutDrive:@wSysDir\\C20PV*.DRV")
@Delete ("@OutDrive:@wSysDir\\M20*.DRV")
@Delete ("@OutDrive:@wSysDir\\M40*.DRV")
@Delete ("@OutDrive:@wSysDir\\TW10*.DRV")
@Delete ("@OutDrive:@wSysDir\\TW20*.DRV")
@Delete ("@OutDrive:@wSysDir\\TWIN.DRV")
@Delete ("@OutDrive:@wSysDir\\MAGS4*.DRV")
@Delete ("@OutDrive:@wSysDir\\RAIN*.DRV")
@Delete ("@OutDrive:@wSysDir\\C8S*.DRV")
@Delete ("@OutDrive:@wSysDir\\CR16S*.DRV")
@Delete ("@OutDrive:@wSysDir\\CR24S*.DRV")
@Delete ("@OutDrive:@wSysDir\\CR32S*.DRV")
@Delete ("@OutDrive:@wSysDir\\S3VSND24.DRV")
@Delete ("@OutDrive:@wSysDir\\OCTO.MON")
@Delete ("@OutDrive:@wSysDir\\OCTOVGA.*")
@Delete ("@OutDrive:@SubDir\\MINFO.TXT")
@Delete ("@OutDrive:@SubDir\\MWINTOOL.INI")
@Delete ("@OutDrive:@SubDir\\MSUP*.*")
@Delete ("@miroDrive:@miroDir\\COMMON\\MONSEL.EXE")
@Delete ("@miroDrive:@miroDir\\COMMON\\MONSEL.INI")
@Delete ("@miroDrive:@miroDir\\COMMON\\MONSEL.HLP")
@Delete ("@OutDrive:@SubDir\\MONSEL.*")
@Delete ("@OutDrive:@SubDir\\VIRTDLL.DLL")
@Delete ("@OutDrive:@SubDir\\MPWRSAVE.SCR")
@Delete ("@OutDrive:@SubDir\\TWIN*.*")
@Delete ("@OutDrive:@SubDir\\MTINT*.*")
@Delete ("@miroDrive:@miroDir\\COMMON\\MTINT.EXE")
@Delete ("@miroDrive:@miroDir\\COMMON\\MTINT.HLP")
@Delete ("@miroDrive:@miroDir\\COMMON\\MTINT.INI")
@Delete ("@OutDrive:@SubDir\\WSIZER.*")
@Delete ("@miroDrive:@miroDir\\COMMON\\WSIZER.EXE")
@Delete ("@miroDrive:@miroDir\\COMMON\\WSIZER.INI")
@Delete ("@miroDrive:@miroDir\\COMMON\\WSIZER.HLP")
@Delete ("@miroDrive:@miroDir\\COMMON\\MCLASS.DLL")
@Delete ("@OutDrive:@SubDir\\WADJUST.*")
@Delete ("@OutDrive:@SubDir\\MFONTCOM.EXE")
@Delete ("@OutDrive:@SubDir\\MIROSCOP.EXE")
@Delete ("@miroDrive:@miroDir\\COMMON\\MSCOPE.EXE")
@Delete ("@miroDrive:@miroDir\\COMMON\\MSCOPE.INI")
@Delete ("@OutDrive:@SubDir\\MIROHOOK.DLL")
@Delete ("@OutDrive:@SubDir\\MSCOPE*.HLP")
@Delete ("@OutDrive:@SubDir\\MSIZE*.*")
@Delete ("@miroDrive:@miroDir\\COMMON\\DRIVCFG.EXE")
@Delete ("@miroDrive:@miroDir\\COMMON\\DRIVCFG.INI")
@Delete ("@miroDrive:@miroDir\\COMMON\\DRIVCFG.HLP")
@Delete ("@miroDrive:@miroDir\\COMMON\\OEM*.INF")
@Delete ("@OutDrive:@wSysDir\\MIROLOGO.RLE")
@Delete ("@OutDrive:@SubDir\\*.MIR")
@WinExec ("PROGMAN.EXE", 1)
@Display // ???
@ProgramManager ("[ShowGroup (miroWINTOOLS, 2)]")
@Delay = @SystemDate
CLa: @If (@SystemDate - @Delay <= @d) @Goto CLa @EndIf
@ProgramManager ("[DeleteItem (miro SUPERSCREEN)]")
@Delay = @SystemDate
CLb: @If (@SystemDate - @Delay <= @d) @Goto CLb @EndIf
@ProgramManager ("[DeleteItem (miro MONITOR SELECT)]")
@Delay = @SystemDate
CLbb: @If (@SystemDate - @Delay <= @d) @Goto CLbb @EndIf
@ProgramManager ("[DeleteItem (miroMONITOR-Select)]")
@Delay = @SystemDate
CLc: @If (@SystemDate - @Delay <= @d) @Goto CLc @EndIf
@ProgramManager ("[DeleteItem (miroTINT CONTROL)]")
@Delay = @SystemDate
CLd: @If (@SystemDate - @Delay <= @d) @Goto CLd @EndIf
@ProgramManager ("[DeleteItem (miro HOTKEY)]")
@Delay = @SystemDate
CLk: @If (@SystemDate - @Delay <= @d) @Goto CLk @EndIf
@ProgramManager ("[DeleteItem (miro PINBOARD)]")
@Delay = @SystemDate
CLl: @If (@SystemDate - @Delay <= @d) @Goto CLl @EndIf
@ProgramManager ("[DeleteItem (miroSCREEN-Adjust)]")
@Delay = @SystemDate
CLe: @If (@SystemDate - @Delay <= @d) @Goto CLe @EndIf
@ProgramManager ("[DeleteItem (miro FONTCOMPILER)]")
@Delay = @SystemDate
CLf: @If (@SystemDate - @Delay <= @d) @Goto CLf @EndIf
@ProgramManager ("[DeleteItem (miroSCOPE)]")
@Delay = @SystemDate
CLg: @If (@SystemDate - @Delay <= @d) @Goto CLg @EndIf
@ProgramManager ("[DeleteItem (miroSIZE CALIBRATION)]")
@Delay = @SystemDate
CLh: @If (@SystemDate - @Delay <= @d) @Goto CLh @EndIf
@ProgramManager ("[DeleteItem (miro TWINFACE)]")
@Delay = @SystemDate
CLi: @If (@SystemDate - @Delay <= @d) @Goto CLi @EndIf
@ProgramManager ("[DeleteItem (Information)]")
@Delay = @SystemDate
CLaa: @If (@SystemDate - @Delay <= @d) @Goto CLaa @EndIf
@ProgramManager ("[DeleteItem (miroDRIVER-Control)]")
@Delay = @SystemDate
CLj: @If (@SystemDate - @Delay <= @d) @Goto CLj @EndIf
@ProgramManager ("[DeleteGroup (miroWINTOOLS)]")
@Delay = @SystemDate
CLm: @If (@SystemDate - @Delay <= @d) @Goto CLm @EndIf
@EndDisplay
@SetINI ("928.drv", "dpi",, "system.ini")
@SetINI ("928.drv", "Virtual_Size_X",, "system.ini")
@SetINI ("928.drv", "Virtual_Size_Y",, "system.ini")
@SetINI ("928.drv", "Screen_Size_X",, "system.ini")
@SetINI ("928.drv", "Screen_Size_Y",, "system.ini")
@SetINI ("928.drv", "Memory_Size_X",, "system.ini")
@SetINI ("928.drv", "Memory_Size_Y",, "system.ini")
@SetINI ("928.drv", "Pixel_Size",, "system.ini")
@SetINI ("928.drv", "polygon-support",, "system.ini")
@SetINI ("928.drv", "TV",, "system.ini")
@SetINI ("928.drv", "2in1",, "system.ini")
@SetINI ("928.drv", "15BPP",, "system.ini")
@SetINI ("928.drv", "notaus",, "system.ini")
@SetINI ("928.drv", "DRAM",, "system.ini")
@SetINI ("928.drv", "VXPBlt",, "system.ini")
@SetINI ("928.drv", "FIFO",, "system.ini")
@SetINI ("928.drv", "Mon_Data",, "system.ini")
@SetINI ("928.drv", "Mon_Path",, "system.ini")
@SetINI ("928.drv", "MonDesc",, "system.ini")
@SetINI ("928.drv", "BoardDesc",, "system.ini")
@SetINI ("928.drv", "CardID",, "system.ini")
@SetINI ("928.drv", "CardSubID",, "system.ini")
@SetINI ("928.drv", "Font",, "system.ini")
@SetINI ("928.drv", "RAM",, "system.ini")
@SetINI ("928.drv", "PhysBoardNr",, "system.ini")
@SetINI ("928.drv", "SysColors",, "system.ini")
@SetINI ("twinleft.drv", "dpi",, "system.ini")
@SetINI ("twinleft.drv", "Virtual_Size_X",, "system.ini")
@SetINI ("twinleft.drv", "Virtual_Size_Y",, "system.ini")
@SetINI ("twinleft.drv", "Screen_Size_X",, "system.ini")
@SetINI ("twinleft.drv", "Screen_Size_Y",, "system.ini")
@SetINI ("twinleft.drv", "Memory_Size_X",, "system.ini")
@SetINI ("twinleft.drv", "Memory_Size_Y",, "system.ini")
@SetINI ("twinleft.drv", "Pixel_Size",, "system.ini")
@SetINI ("twinleft.drv", "polygon-support",, "system.ini")
@SetINI ("twinleft.drv", "TV",, "system.ini")
@SetINI ("twinleft.drv", "2in1",, "system.ini")
@SetINI ("twinleft.drv", "15BPP",, "system.ini")
@SetINI ("twinleft.drv", "notaus",, "system.ini")
@SetINI ("twinleft.drv", "DRAM",, "system.ini")
@SetINI ("twinleft.drv", "VXPBlt",, "system.ini")
@SetINI ("twinleft.drv", "FIFO",, "system.ini")
@SetINI ("twinleft.drv", "Mon_Data",, "system.ini")
@SetINI ("twinleft.drv", "Mon_Path",, "system.ini")
@SetINI ("twinleft.drv", "MonDesc",, "system.ini")
@SetINI ("twinleft.drv", "BoardDesc",, "system.ini")
@SetINI ("twinleft.drv", "CardID",, "system.ini")
@SetINI ("twinleft.drv", "CardSubID",, "system.ini")
@SetINI ("twinleft.drv", "Font",, "system.ini")
@SetINI ("twinleft.drv", "RAM",, "system.ini")
@SetINI ("twinleft.drv", "PhysBoardNr",, "system.ini")
@SetINI ("twinleft.drv", "SysColors",, "system.ini")
@SetINI ("twinright.drv", "dpi",, "system.ini")
@SetINI ("twinright.drv", "Virtual_Size_X",, "system.ini")
@SetINI ("twinright.drv", "Virtual_Size_Y",, "system.ini")
@SetINI ("twinright.drv", "Screen_Size_X",, "system.ini")
@SetINI ("twinright.drv", "Screen_Size_Y",, "system.ini")
@SetINI ("twinright.drv", "Memory_Size_X",, "system.ini")
@SetINI ("twinright.drv", "Memory_Size_Y",, "system.ini")
@SetINI ("twinright.drv", "Pixel_Size",, "system.ini")
@SetINI ("twinright.drv", "polygon-support",, "system.ini")
@SetINI ("twinright.drv", "TV",, "system.ini")
@SetINI ("twinright.drv", "2in1",, "system.ini")
@SetINI ("twinright.drv", "15BPP",, "system.ini")
@SetINI ("twinright.drv", "notaus",, "system.ini")
@SetINI ("twinright.drv", "DRAM",, "system.ini")
@SetINI ("twinright.drv", "VXPBlt",, "system.ini")
@SetINI ("twinright.drv", "FIFO",, "system.ini")
@SetINI ("twinright.drv", "Mon_Data",, "system.ini")
@SetINI ("twinright.drv", "Mon_Path",, "system.ini")
@SetINI ("twinright.drv", "MonDesc",, "system.ini")
@SetINI ("twinright.drv", "BoardDesc",, "system.ini")
@SetINI ("twinright.drv", "CardID",, "system.ini")
@SetINI ("twinright.drv", "CardSubID",, "system.ini")
@SetINI ("twinright.drv", "Font",, "system.ini")
@SetINI ("twinright.drv", "RAM",, "system.ini")
@SetINI ("twinright.drv", "PhysBoardNr",, "system.ini")
@SetINI ("twinright.drv", "SysColors",, "system.ini")
@SetINI ("boot.description", "displayinf",, "system.ini")
@SetINI ("boot.description", "displayinf2",, "system.ini")
@SetINI ("mboot.description", "displayinf",, "system.ini")
@SetINI ("mboot.description", "displayinf2",, "system.ini")
@SetINI ("mboot.description", "mboot",, "system.ini")
@SetINI ("mboot.description", "f_flag",, "system.ini")
@SetINI ("mboot.description", "boardfam",, "system.ini")
@SetINI ("mboot.description", "displayinf",, "system.ini")
@SetINI ("mboot.description", "resolution",, "system.ini")
@SetINI ("mboot.description", "resolution2",, "system.ini")
@SetINI ("mboot.description", "left",, "system.ini")
@SetINI ("mboot.description", "right",, "system.ini")
@SetINI ("mboot.description","Screen_Size_X",, "system.ini")
@SetINI ("mboot.description","Screen_Size_Y",, "system.ini")
@SetINI ("mboot.description","Pixel_Size",, "system.ini")
@SetINI ("mboot.description","dpi",, "system.ini")
@SetINI ("mboot.description", "BusType",, "system.ini")
@SetINI ("mboot.description", "BoardDesc",, "system.ini")
@SetINI ("mboot.description", "MonDesc",, "system.ini")
@SetINI ("2in1.drv", "driverx1",, "system.ini")
@SetINI ("2in1.drv", "driverx2",, "system.ini")
@SetINI ("2in1.drv", "display1",, "system.ini")
@SetINI ("2in1.drv", "display2",, "system.ini")
@SetINI ("miroSCOPE", "Sensibility",, "win.ini")
@SetINI ("miroSCOPE", "Zoom Factor",, "win.ini")
@SetINI ("miroSCOPE", "Hotkey Number",, "win.ini")
@SetINI ("miroSCOPE", "Window dimensions",, "win.ini")
@SetINI ("miroTWINFACE", "top",, "win.ini")
@SetINI ("miroTWINFACE", "run",, "win.ini")
@SetINI ("miroTWINFACE", "align",, "win.ini")
@SetINI ("miroVIRTUAL", "top",, "win.ini")
@SetINI ("miroVIRTUAL", "run",, "win.ini")
@SetINI ("miroVIRTUAL", "align",, "win.ini")
@SetINI ("TintControl", "SIP_MONTEMP",, "win.ini")
@SetINI ("TintControl", "SIP_COLOR",, "win.ini")
@SetINI ("TintControl", "CLUT",, "win.ini")
@SetINI ("TintControl", "CLUT1",, "win.ini")
@SetINI ("TintControl", "CLUT2",, "win.ini")
@SetINI ("miroSIZE CALIBRATION", "DP100mmX",, "win.ini")
@SetINI ("miroSIZE CALIBRATION", "DP100mmY",, "win.ini")
@SetINI ("miroSIZE CALIBRATION", "HiResMonitorX",, "win.ini")
@SetINI ("miroSIZE CALIBRATION", "HiResMonitorY",, "win.ini")
@SetINI ("Screensaver.miroPOWERSAVE", "VESAMonitors",, "control.ini")
@SetINI ("Screensaver.miroPOWERSAVE", "ResumeAfterPOWERDOWN",, "control.ini")
@SetINI ("Screensaver.miroPOWERSAVE", "TEST_VESAMonitors",, "control.ini")
@SetINI ("Screensaver.miroPOWERSAVE", "StandbyTime",, "control.ini")
@SetINI ("Screensaver.miroPOWERSAVE", "SuspendTime",, "control.ini")
@SetINI ("s3_24.drv", "FontSize",, "system.ini")
@SetINI ("s3_24.drv", "WidthXHeight",, "system.ini")
@SetINI ("v631p.drv","FontSize",, "system.ini")
@SetINI ("v631p.drv","EnableHwCursor",, "system.ini")
@SetINI ("v631p.drv","WidthXHeight",, "system.ini")
@SetINI ("avga800.drv","FontSize",, "system.ini")
@SetINI ("avga800.drv","EnableHwCursor",, "system.ini")
@SetINI ("avga800.drv","WidthXHeight",, "system.ini")
@SetINI ("al314p.drv","FontSize",, "system.ini")
@SetINI ("al314p.drv","EnableHwCursor",, "system.ini")
@SetINI ("al314p.drv","WidthXHeight",, "system.ini")
@SetINI ("avga1280.drv","FontSize",, "system.ini")
@SetINI ("avga1280.drv","EnableHwCursor",, "system.ini")
@SetINI ("avga1280.drv","WidthXHeight",, "system.ini")
@SetINI ("al3164p.drv","FontSize",, "system.ini")
@SetINI ("al3164p.drv","EnableHwCursor",, "system.ini")
@SetINI ("al3164p.drv","WidthXHeight",, "system.ini")
@SetINI ("al16m.drv","FontSize",, "system.ini")
@SetINI ("al16m.drv","EnableHwCursor",, "system.ini")
@SetINI ("al16m.drv","WidthXHeight",, "system.ini")
@SetINI ("v631f8s.drv","FontSize",, "system.ini")
@SetINI ("v631f8s.drv","EnableHwCursor",, "system.ini")
@SetINI ("v631f8s.drv","WidthXHeight",, "system.ini")
@If ( "@GetINI ("drivers","DCI","system.ini")" == "MIRODCI"
&& "@GetINI ("drivers","MIRODCI","system.ini")" != ""
)
@SetINI ("drivers", "DCI", "@GetINI ("drivers","MIRODCI","system.ini")", "system.ini")
@SetINI ("drivers", "MIRODCI",, "system.ini")
@Else
@If ( "@GetINI ("drivers","DCI","system.ini")" == "MIRODCI")
@SetINI ("drivers", "DCI",, "system.ini")
@EndIf
@EndIf
@merke = @GetINI("Windows", "run","win.ini")
@If (@StrFind("@merke", "@miroDrive:@miroDir\\COMMON\\WSIZER.EXE") > -1)
@merke = @StrDel("@merke", @StrFind("@merke", "@miroDrive:@miroDir\\COMMON\\WSIZER.EXE"),@StrLen("@miroDrive:@miroDir\\COMMON\\WSIZER.EXE "))
@SetINI ("Windows", "run", "@merke", "win.ini")
@EndIf
//OLD WSIZER
@merke = @GetINI("Windows", "run","win.ini")
@If (@StrFind("@merke", "@OutDrive:@SubDir\\WSIZER.EXE") > -1)
@merke = @StrDel("@merke", @StrFind("@merke", "@OutDrive:@SubDir\\WSIZER.EXE"),@StrLen("@OutDrive:@SubDir\\WSIZER.EXE "))
@SetINI ("Windows", "run", "@merke", "win.ini")
@EndIf
@ClearOption (210)
@UnInstall = @True
@Goto BOARDSELECT
@EndIf
@EndIf
//*** files to be copied ******************************************************
@If (200 [= @Option // copy if Windows drivers
|| 201 [= @Option) // or miro windows tools
@MkDir("@miroDrive:@miroDir")
@MkDir("@miroDrive:@miroDir\\COMMON")
@MkDir("@miroDrive:@miroDir\\TIMING")
@MkDir("@miroDrive:@miroDir\\FONT")
@Endif
@If (200 [= @Option // copy if Windows drivers
|| 201 [= @Option) // or miro windows tools
@If ('D' [= @Group)
@Copy ("@InDrive:\\README.DEU","@OutDrive:@SubDir\\MINFO.TXT")
@Else
@Copy ("@InDrive:\\README.ENG","@OutDrive:@SubDir\\MINFO.TXT")
@EndIf
@EndIf
@If (200 [= @Option) // Windows drivers
@DefineDisk
@Label = "Install disk # 1/2"
@BeginLib DRIVERS.RED
@File OEMC40SV.DEU @Size 30000 @Out @wSysDir\\*.INF @Option 100 @Group D
@File OEMC40SV.ENG @Size 30000 @Out @wSysDir\\*.INF @Option 100 @Group E
@File OEMC20SV.DEU @Size 25000 @Out @wSysDir\\*.INF @Option 101 @Group D
@File OEMC20SV.ENG @Size 25000 @Out @wSysDir\\*.INF @Option 101 @Group E
@File OEMC20SD.DEU @Size 25000 @Out @wSysDir\\*.INF @Option 104 @Group D
@File OEMC20SD.ENG @Size 25000 @Out @wSysDir\\*.INF @Option 104 @Group E
@File OEMC20D1.DEU @Size 25000 @Out @wSysDir\\*.INF @Option 105 @Group D
@File OEMC20D1.ENG @Size 25000 @Out @wSysDir\\*.INF @Option 105 @Group E
@File OEMC40E.DEU @Size 35000 @Out @wSysDir\\*.INF @Option 102 @Group D
@File OEMC40E.ENG @Size 35000 @Out @wSysDir\\*.INF @Option 102 @Group E
@File OEMC20E.DEU @Size 25000 @Out @wSysDir\\*.INF @Option 103 @Group D
@File OEMC20E.ENG @Size 25000 @Out @wSysDir\\*.INF @Option 103 @Group E
@File OEMC40SV.DEU @Size 30000 @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 100 @Group D
@File OEMC40SV.ENG @Size 30000 @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 100 @Group E
@File OEMC20SV.DEU @Size 25000 @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 101 @Group D
@File OEMC20SV.ENG @Size 25000 @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 101 @Group E
@File OEMC20SD.DEU @Size 25000 @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 104 @Group D
@File OEMC20SD.ENG @Size 25000 @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 104 @Group E
@File OEMC20D1.DEU @Size 25000 @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 105 @Group D
@File OEMC20D1.ENG @Size 25000 @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 105 @Group E
@File OEMC40E.DEU @Size 35000 @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 102 @Group D
@File OEMC40E.ENG @Size 35000 @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 102 @Group E
@File OEMC20E.DEU @Size 25000 @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 103 @Group D
@File OEMC20E.ENG @Size 25000 @Out @miroDrive:@miroDir\\COMMON\\*.INF @Option 103 @Group E
@File VXPMR_08.DRV @Size 250000 @Out @wSysDir\\VXPMR_08.*
@File VXPMR_16.DRV @Size 250000 @Out @wSysDir\\VXPMR_15.*
@File VXPMR_16.DRV @Size 250000 @Out @wSysDir\\VXPMR_16.*
@File VXPMR_32.DRV @Size 250000 @Out @wSysDir\\VXPMR_32.*
@File S3VSND24.DRV @Size 110000 @Out @wSysDir\\*.* @Option 105
@File MIRODCI.DRV @Size 55000 @Out @wSysDir\\MIRODCI.DRV
@File BITUM.DRV @Size 70000 @Out @wSysDir\\*.*
@File BITUM.INI @Size 500 @Out *.*
@File MIROINIT.DLL @Size 110000 @Out @wSysDir\\*.*
@File MIROHW.DLL @Size 90000 @Out @wSysDir\\*.*
@File MIROHW.INI @Size 1000 @Out @miroDrive:@miroDir\\COMMON\\*.*
@File MONITOR.INI @Size 30000 @Out @miroDrive:@miroDir\\TIMING\\*.*
@File TIMING.INI @Size 50000 @Out @miroDrive:@miroDir\\TIMING\\*.*
@File CARD000A.INI @Size 17000 @Out @miroDrive:@miroDir\\TIMING\\*.*
@File CARD010A.INI @Size 17000 @Out @miroDrive:@miroDir\\TIMING\\*.*
@File CARD000E.INI @Size 25000 @Out @miroDrive:@miroDir\\TIMING\\*.*
@File CARD000D.INI @Size 25000 @Out @miroDrive:@miroDir\\TIMING\\*.*
@File CARD000F.INI @Size 17000 @Out @miroDrive:@miroDir\\TIMING\\*.*
@File CARD010F.INI @Size 17000 @Out @miroDrive:@miroDir\\TIMING\\*.*
@File CARD000B.INI @Size 17000 @Out @miroDrive:@miroDir\\TIMING\\*.*
@File CARD010B.INI @Size 17000 @Out @miroDrive:@miroDir\\TIMING\\*.*
@File CARD030B.INI @Size 17000 @Out @miroDrive:@miroDir\\TIMING\\*.*
@File CARD040B.INI @Size 17000 @Out @miroDrive:@miroDir\\TIMING\\*.*
@File VGALOGO.LGO @Size 2000 @Out @wSysDir\\*.*
@File MIROVDD.386 @Size 42000 @Out @wSysDir\\*.*
@File MIROGRB.3GR @Size 16000 @Out @wSysDir\\*.*
@File MIROGRB.2GR @Size 5000 @Out @wSysDir\\*.*
//CRYSTAL 20SD 1M for 24Bit
@If (105 [= @Option)
@File OCTOVGA.2GR @Size 5000 @Out @wSysDir\\*.*
@File OCTOVGA.3GR @Size 15000 @Out @wSysDir\\*.*
@File VDDS3.386 @Size 40000 @Out @wSysDir\\*.*
@EndIf
@File 8514FIX.FON @Size 12000 @Out @wSysDir\\*.*
@File 8514OEM.FON @Size 12000 @Out @wSysDir\\*.*
@File 8514SYS.FON @Size 12000 @Out @wSysDir\\*.*
@File CGA40850.FON @Size 6000 @Out @wSysDir\\*.*
@File CGA80850.FON @Size 6000 @Out @wSysDir\\*.*
@File CGA40WOA.FON @Size 7000 @Out @wSysDir\\*.*
@File CGA80WOA.FON @Size 5000 @Out @wSysDir\\*.*
@File COURF.FON @Size 30000 @Out @wSysDir\\*.*
@File EGA40850.FON @Size 8000 @Out @wSysDir\\*.*
@File EGA80850.FON @Size 8000 @Out @wSysDir\\*.*
@File EGA40WOA.FON @Size 9000 @Out @wSysDir\\*.*
@File EGA80WOA.FON @Size 8000 @Out @wSysDir\\*.*
@File VGAOEM.FON @Size 7000 @Out @wSysDir\\*.*
@File SERIFF.FON @Size 82000 @Out @wSysDir\\*.*
@File SMALLF.FON @Size 22000 @Out @wSysDir\\*.*
@File SSERIFF.FON @Size 90000 @Out @wSysDir\\*.*
@File SYMBOLF.FON @Size 80000 @Out @wSysDir\\*.*
@EndLib
@EndDisk
@EndIf
@If (202 [= @Option) // miro wallpaper
@DefineDisk
@Label = "Install disk # 1/2"
@BeginLib DRIVERS.RED
@File CRYSTAL.BMP @Size 80000 @Out MIRO.*
@EndLib
@EndDisk
@EndIf
@If (200 [= @Option) // copy if Windows drivers
@DefineDisk
@If (@IsFloppy)
@Label = "Install disk # 2/2"
@Else
@Label = "Install disk # 1/2"
@EndIf
@BeginLib MWINTOOL.RED
@File MONSEL.EXE @Size 70000 @Out @miroDrive:@miroDir\\COMMON\\*.*
@File MONSEL.INI @Size 1000 @Out @miroDrive:@miroDir\\COMMON\\*.*
@File MONSEL.DEU @Size 34000 @Out @miroDrive:@miroDir\\COMMON\\*.HLP @Group D
@File MONSEL.ENG @Size 33000 @Out @miroDrive:@miroDir\\COMMON\\*.HLP @Group E
@File MSUPSCRN.EXE @Size 90000 @Out *.*
@File MSUP.DEU @Size 26000 @Out *.HLP @Group D
@File MSUP.ENG @Size 25000 @Out *.HLP @Group E
@File MSUPVIRT.EXE @Size 20000 @Out *.*
@File VIRTDLL.DLL @Size 10000 @Out *.*
@File MSUPVIR.DEU @Size 10000 @Out *.HLP @Group D
@File MSUPVIR.ENG @Size 10000 @Out *.HLP @Group E
@File MSUPHOT.EXE @Size 20000 @Out *.*
@File MSUPSCRD.DLL @Size 3000 @Out *.*
@File MPWRSAVE.SCR @Size 35000 @Out *.*
@File MTINT.EXE @Size 95000 @Out @miroDrive:@miroDir\\COMMON\\*.*
@File MTINTDEU.HLP @Size 45000 @Out @miroDrive:@miroDir\\COMMON\\MTINT.HLP @Group D
@File MTINTENG.HLP @Size 45000 @Out @miroDrive:@miroDir\\COMMON\\MTINT.HLP @Group E
@File MTINTDEU.INI @Size 2500 @Out MTINT.INI @Group D
@File MTINTENG.INI @Size 2500 @Out MTINT.INI @Group E
@File WSIZER.EXE @Size 120000 @Out @miroDrive:@miroDir\\COMMON\\*.*
@File WSIZER.INI @Size 2000 @Out @miroDrive:@miroDir\\COMMON\\*.*
@File WSIZER.HLP @Size 8000 @Out @miroDrive:@miroDir\\COMMON\\*.* @Group D
@File WSIZER_E.HLP @Size 8000 @Out @miroDrive:@miroDir\\COMMON\\WSIZER.* @Group E
@File WADJUST.EXE @Size 82000 @Out @miroDrive:@miroDir\\COMMON\\*.*
@File WADJUST.INI @Size 3000 @Out *.*
@File DRIVCFG.EXE @Size 85000 @Out @miroDrive:@miroDir\\COMMON\\*.*
@File DRIVCFG.INI @Size 6000 @Out @miroDrive:@miroDir\\COMMON\\*.*
@File DRIVCFG.DEU @Size 12000 @Out @miroDrive:@miroDir\\COMMON\\DRIVCFG.HLP @Group D
@File DRIVCFG.ENG @Size 12000 @Out @miroDrive:@miroDir\\COMMON\\DRIVCFG.HLP @Group E
@EndLib
@EndDisk
@EndIf
@If (200 [= @Option // copy if Windows drivers
|| 201 [= @Option) // or miro windows tools
@DefineDisk
@If (@IsFloppy)
@Label = "Install disk # 2/2"
@Else
@Label = "Install disk # 1/2"
@EndIf
@BeginLib MWINTOOL.RED
@File MWINTOOL.DEU @Size 15000 @Out *.INI @Group D
@File MWINTOOL.ENG @Size 15000 @Out *.INI @Group E
@File MCLASS.DLL @Size 65000 @Out @miroDrive:@miroDir\\COMMON\\*.*
@EndLib
@EndDisk
@EndIf
@If (201 [= @Option) // miro windows tools
@DefineDisk
@If (@IsFloppy)
@Label = "Install disk # 2/2"
@Else
@Label = "Install disk # 1/2"
@EndIf
@BeginLib MWINTOOL.RED
@File MIROSCOP.EXE @Size 110000 @Out *.*
@File MIROHOOK.DLL @Size 5000 @Out *.*
@File MSCOPE.DEU @Size 55000 @Out *0.HLP @Group D
@File MSCOPE.ENG @Size 55000 @Out *0.HLP @Group E
// @File MSCOPE.EXE @Size 35000 @Out @miroDrive:@miroDir\\COMMON\\*.*
// @File MSCOPE.INI @Size 5000 @Out @miroDrive:@miroDir\\COMMON\\*.*
@File MSIZER.EXE @Size 35000 @Out *.*
@EndLib
@EndDisk
@EndIf
//*** set variables in .INI files *********************************************
@If (200 [= @Option) // Windows drivers
@SetINI ("mboot.description", "displayinf2",, "system.ini")
@SetINI ("928.drv", "2in1",, "system.ini")
@SetINI ("928.drv", "notaus",, "system.ini")
@SetINI ("928.drv", "DRAM",, "system.ini")
@SetINI ("928.drv", "LinBase","0", "system.ini")
@SetINI ("mboot.description", "mboot","1", "system.ini")
@SetINI ("mboot.description", "miroPATH","@miroDrive:@miroDir", "system.ini")
@If ( ("@GetINI ("drivers","DCI","system.ini")" != "")
&& ("@GetINI ("drivers","DCI","system.ini")" != "MIRODCI")
&& ("@GetINI ("drivers","MIRODCI","system.ini")" == "")
)
@SetINI ("drivers", "MIRODCI","@GetINI ("drivers","DCI","system.ini")", "system.ini")
@EndIf
@SetINI ("drivers", "DCI","MIRODCI", "system.ini")
@merke = @GetINI("Windows", "run", "win.ini")
@If ( (@StrFind("@merke", "wsizer") < 0)
&& (@StrFind("@merke", "WSIZER") < 0))
@SetINI ("Windows", "run", "@miroDrive:@miroDir\\COMMON\\WSIZER.EXE @merke", "win.ini" )
@EndIf
@EndIf
@If (200 [= @Option // copy if Windows drivers
|| 201 [= @Option) // or miro windows tools
@If (100 [= @Option)
@SetINI ("TintControl", "CLUT1", "TI3025", "win.ini")
@SetINI ("TintControl", "CLUT2",, "win.ini")
@EndIf
@If (101 [= @Option)
@SetINI ("TintControl", "CLUT1", "BT485", "win.ini")
@SetINI ("TintControl", "CLUT2",, "win.ini")
@EndIf
@If (102 [= @Option)
@SetINI ("TintControl", "CLUT1", "TI3026", "win.ini")
@SetINI ("TintControl", "CLUT2",, "win.ini")
@EndIf
@If (103 [= @Option)
@SetINI ("TintControl", "CLUT1", "TI3025", "win.ini")
@SetINI ("TintControl", "CLUT2",, "win.ini")
@EndIf
@If (104 [= @Option || 105 [= @Option)
@SetINI ("TintControl", "CLUT1", " ", "win.ini")
@SetINI ("TintControl", "CLUT2",, "win.ini")
@EndIf
@EndIf
@If (202 [= @Option) // miro wallpaper
@SetINI ("Desktop", "TileWallpaper", "1", "win.ini")
@SetINI ("Desktop", "Wallpaper", "miro.bmp", "win.ini")
@EndIf
//*** old software to be deleted **********************************************
@If (200 [= @Option || 201 [= @Option)
@Delete ("@OutDrive:@wSysDir\\MIROLOGO.RLE")
@Delete ("@OutDrive:@SubDir\\*.MIR")
@Delete ("@OutDrive:@SubDir\\MSUP?.HLP")
@Delete ("@OutDrive:@SubDir\\MSUPVIR?.HLP")
@Delete ("@OutDrive:@SubDir\\MSCOPE1.HLP")
@Delete ("@OutDrive:@SubDir\\MSCOPE2.HLP")
@Delete ("@OutDrive:@SubDir\\MSCOPE3.HLP")
@Delete ("@OutDrive:@SubDir\\MSCOPE4.HLP")
@Delete ("@OutDrive:@SubDir\\MTINTRUN.EXE")
@Delete ("@OutDrive:@SubDir\\CRYS10SD.BMP")
@Delete ("@OutDrive:@SubDir\\CRYS20SD.BMP")
@Delete ("@OutDrive:@SubDir\\CRYS20SV.BMP")
@Delete ("@OutDrive:@SubDir\\CRYS40SV.BMP")
@Delete ("@OutDrive:@SubDir\\MIRO20.BMP")
@Delete ("@OutDrive:@SubDir\\MIRO40.BMP")
@Delete ("@OutDrive:@SubDir\\MONSEL.*")
@Delete ("@OutDrive:@SubDir\\MTINT.EXE")
@Delete ("@OutDrive:@SubDir\\WSIZER.*")
@Delete ("@OutDrive:@SubDir\\WADJUST.EXE")
@EndIf
@If (200 [= @Option && @DirExists ("@OutDrive:@SubDir\\SYSTEM"))
@Delete ("@OutDrive:@SubDir\\OEMC20SD.*")
@Delete ("@OutDrive:@SubDir\\OEMC20D1.*")
@Delete ("@OutDrive:@SubDir\\OEMC20SV.*")
@Delete ("@OutDrive:@SubDir\\OEMC40SV.*")
@Delete ("@OutDrive:@SubDir\\OEMC40E.*")
@Delete ("@OutDrive:@SubDir\\OEMC20E.*")
@EndIf
//*** project trailer block ***************************************************
@Finish
@BackGroundMode (3,@Blue, @Blue)
@WinExec ("PROGMAN.EXE", 1)
@If (200 [= @Option || 201 [= @Option)
@ProgramManager ("[CreateGroup (miroWINTOOLS, MWINTOOL.GRP)]")
@Delay = @SystemDate
La: @If (@SystemDate - @Delay <= @d) @Goto La @EndIf
@ProgramManager ("[ReplaceItem (miro SUPERSCREEN)]")
@Delay = @SystemDate
Lb: @If (@SystemDate - @Delay <= @d) @Goto Lb @EndIf
@ProgramManager ("[AddItem (@OutDrive:@SubDir\\MSUPSCRN.EXE, miro SUPERSCREEN)]")
@Delay = @SystemDate
Lcc: @If (@SystemDate - @Delay <= @d) @Goto Lcc @EndIf
@ProgramManager ("[DeleteItem (miro MONITOR SELECT)]")
@Delay = @SystemDate
Lc: @If (@SystemDate - @Delay <= @d) @Goto Lc @EndIf
@ProgramManager ("[ReplaceItem (miroMONITOR-Select)]")
@Delay = @SystemDate
Ld: @If (@SystemDate - @Delay <= @d) @Goto Ld @EndIf
@ProgramManager ("[AddItem (@miroDrive:@miroDir\\COMMON\\MONSEL.EXE, miroMONITOR-Select)]")
@Delay = @SystemDate
Le: @If (@SystemDate - @Delay <= @d) @Goto Le @EndIf
@ProgramManager ("[ReplaceItem (miroTINT CONTROL)]")
@Delay = @SystemDate
Lf: @If (@SystemDate - @Delay <= @d) @Goto Lf @EndIf
@ProgramManager ("[AddItem (@miroDrive:@miroDir\\COMMON\\MTINT.EXE, miroTINT CONTROL)]")
@Delay = @SystemDate
Lg: @If (@SystemDate - @Delay <= @d) @Goto Lg @EndIf
@ProgramManager ("[ReplaceItem (miro HOTKEY)]")
@Delay = @SystemDate
Lh: @If (@SystemDate - @Delay <= @d) @Goto Lh @EndIf
@ProgramManager ("[AddItem (@OutDrive:@SubDir\\MSUPHOT.EXE, miro HOTKEY)]")
@Delay = @SystemDate
Lu: @If (@SystemDate - @Delay <= @d) @Goto Lu @EndIf
@ProgramManager ("[ReplaceItem (miro PINBOARD)]")
@Delay = @SystemDate
Lv: @If (@SystemDate - @Delay <= @d) @Goto Lv @EndIf
@ProgramManager ("[AddItem (@miroDrive:@miroDir\\common\\WSIZER.EXE, miro PINBOARD)]")
@Delay = @SystemDate
Lw: @If (@SystemDate - @Delay <= @d) @Goto Lw @EndIf
@ProgramManager ("[ReplaceItem (miroSCREEN-Adjust)]")
@Delay = @SystemDate
Lx: @If (@SystemDate - @Delay <= @d) @Goto Lx @EndIf
@ProgramManager ("[AddItem (@miroDrive:@miroDir\\COMMON\\WADJUST.EXE, miroSCREEN-Adjust)]")
@Delay = @SystemDate
Laa: @If (@SystemDate - @Delay <= @d) @Goto Laa @EndIf
@ProgramManager ("[ReplaceItem (miroDRIVER-Control)]")
@Delay = @SystemDate
Lab: @If (@SystemDate - @Delay <= @d) @Goto Lab @EndIf
@ProgramManager ("[AddItem (@miroDrive:@miroDir\\COMMON\\DRIVCFG.EXE, miroDRIVER-Control)]")
@Delay = @SystemDate
Li: @If (@SystemDate - @Delay <= @d) @Goto Li @EndIf
@If (201 [= @Option) // miro windows tools
@ProgramManager ("[ReplaceItem (miroSCOPE)]")
@Delay = @SystemDate
Ll: @If (@SystemDate - @Delay <= @d) @Goto Ll @EndIf
@ProgramManager ("[AddItem (@OutDrive:@SubDir\\MIROSCOP.EXE, miroSCOPE)]")
@Delay = @SystemDate
Lm: @If (@SystemDate - @Delay <= @d) @Goto Lm @EndIf
@ProgramManager ("[ReplaceItem (miroSIZE CALIBRATION)]")
@Delay = @SystemDate
Ln: @If (@SystemDate - @Delay <= @d) @Goto Ln @EndIf
@ProgramManager ("[AddItem (@OutDrive:@SubDir\\MSIZER.EXE, miroSIZE CALIBRATION)]")
@Delay = @SystemDate
Lo: @If (@SystemDate - @Delay <= @d) @Goto Lo @EndIf
@EndIf
@ProgramManager ("[ReplaceItem (Information)]")
@Delay = @SystemDate
Lr: @If (@SystemDate - @Delay <= @d) @Goto Lr @EndIf
@ProgramManager ("[AddItem (NOTEPAD minfo.txt, Information, @miroDrive:@miroDir\\COMMON\\MONSEL.EXE, 1)]")
@Delay = @SystemDate
Ls: @If (@SystemDate - @Delay <= @d) @Goto Ls @EndIf
@ProgramManager ("[ShowGroup (miroWINTOOLS, 1)]")
@Delay = @SystemDate
Lt: @If (@SystemDate - @Delay <= @d) @Goto Lt @EndIf
@EndIf
@If (200 [= @Option || 201 [= @Option)
//Language for ini files
@If ('D' [= @Group)
@SetINI ("Locale", "Language","Deutsch", "@miroDrive:@miroDir\\common\\drivcfg.ini")
@SetINI ("Language", "Language","Deutsch", "@miroDrive:@miroDir\\common\\wsizer.ini")
@SetINI ("Language", "Language","Deutsch", "wadjust.ini")
@SetINI ("Language", "Language","Deutsch", "@miroDrive:@miroDir\\common\\monsel.ini")
// @SetINI ("Language", "Language","Deutsch", "@miroDrive:@miroDir\\common\\mscope.ini")
@EndIf
@If ('E' [= @Group)
@SetINI ("Locale", "Language","English", "@miroDrive:@miroDir\\common\\drivcfg.ini")
@SetINI ("Language", "Language","English", "@miroDrive:@miroDir\\common\\wsizer.ini")
@SetINI ("Language", "Language","English", "wadjust.ini")
@SetINI ("Language", "Language","English", "@miroDrive:@miroDir\\common\\monsel.ini")
// @SetINI ("Language", "Language","English", "@miroDrive:@miroDir\\common\\mscope.ini")
@EndIf
//Set Menu for miroPINBOARD
@SetINI ("Menu","miroDRIVER-Control","@miroDrive:@miroDir\\COMMON\\DRIVCFG.EXE","@miroDrive:@miroDir\\common\\wsizer.ini")
@SetINI ("Menu","miroMONITOR SELECT","@miroDrive:@miroDir\\COMMON\\MONSEL.EXE","@miroDrive:@miroDir\\common\\wsizer.ini")
@SetINI ("Menu","miroTINT CONTROL", "@miroDrive:@miroDir\\COMMON\\MTINT.EXE", "@miroDrive:@miroDir\\common\\wsizer.ini")
@SetINI ("Menu","miroHOTKEY", "@OutDrive:@SubDir\\MSUPHOT.EXE", "@miroDrive:@miroDir\\common\\wsizer.ini")
@SetINI ("Menu","miroSUPERSCREEN", "@OutDrive:@SubDir\\MSUPSCRN.EXE", "@miroDrive:@miroDir\\common\\wsizer.ini")
//Monsel
@SetINI ("BOARDINSTALLNAMES", "0x000A","miroCRYSTAL 20SV", "@miroDrive:@miroDir\\common\\monsel.ini")
@SetINI ("BOARDINSTALLNAMES", "0x010A","miroCRYSTAL 20SV", "@miroDrive:@miroDir\\common\\monsel.ini")
@SetINI ("BOARDINSTALLNAMES", "0x000F","miroCRYSTAL 40SV", "@miroDrive:@miroDir\\common\\monsel.ini")
@SetINI ("BOARDINSTALLNAMES", "0x010F","miroCRYSTAL 40SV", "@miroDrive:@miroDir\\common\\monsel.ini")
@SetINI ("BOARDINSTALLNAMES", "0x000D","miroCRYSTAL/MAGIC 20SV twin/ergo", "@miroDrive:@miroDir\\common\\monsel.ini")
@SetINI ("BOARDINSTALLNAMES", "0x000E","miroCRYSTAL/MAGIC 40SV twin/ergo", "@miroDrive:@miroDir\\common\\monsel.ini")
@SetINI ("BOARDINSTALLNAMES", "0x000B","miroCRYSTAL 20SD", "@miroDrive:@miroDir\\common\\monsel.ini")
@SetINI ("BOARDINSTALLNAMES", "0x010B","miroCRYSTAL 20SD", "@miroDrive:@miroDir\\common\\monsel.ini")
@SetINI ("BOARDINSTALLNAMES", "0x030B","miroCRYSTAL 20SD", "@miroDrive:@miroDir\\common\\monsel.ini")
@SetINI ("BOARDINSTALLNAMES", "0x040B","miroCRYSTAL 20SD", "@miroDrive:@miroDir\\common\\monsel.ini")
@If (@fflag == 1)
@SetINI ("boot", "f_flag", "ON", "@miroDrive:@miroDir\\common\\monsel.ini")
@Else
@SetINI ("boot", "f_flag",, "@miroDrive:@miroDir\\common\\monsel.ini")
@EndIf
@EndIf
@If (200 [= @Option)
@SetINI ("mboot.description", "mboot","1", "@MIRODRIVE:@MIRODIR\\COMMON\\MSYSTEM.INI")
@If (100 [= @Option)
@SetINI ("mboot.description", "displayinf", "OEMC40SV.INF", "system.ini")
@SetINI ("mboot.description", "displayinf", "OEMC40SV.INF", "@MIRODRIVE:@MIRODIR\\COMMON\\MSYSTEM.INI")
@EndIf
@If (101 [= @Option)
@SetINI ("mboot.description", "displayinf", "OEMC20SV.INF", "system.ini")
@SetINI ("mboot.description", "displayinf", "OEMC20SV.INF", "@MIRODRIVE:@MIRODIR\\COMMON\\MSYSTEM.INI")
@EndIf
@If (102 [= @Option)
@SetINI ("mboot.description", "displayinf", "OEMC40E.INF", "system.ini")
@SetINI ("mboot.description", "displayinf", "OEMC40E.INF", "@MIRODRIVE:@MIRODIR\\COMMON\\MSYSTEM.INI")
@EndIf
@If (103 [= @Option)
@SetINI ("mboot.description", "displayinf", "OEMC20E.INF", "system.ini")
@SetINI ("mboot.description", "displayinf", "OEMC20E.INF", "@MIRODRIVE:@MIRODIR\\COMMON\\MSYSTEM.INI")
@EndIf
@If (104 [= @Option)
@SetINI ("mboot.description", "displayinf", "OEMC20SD.INF", "system.ini")
@SetINI ("mboot.description", "displayinf", "OEMC20SD.INF", "@MIRODRIVE:@MIRODIR\\COMMON\\MSYSTEM.INI")
@EndIf
@If (105 [= @Option)
@SetINI ("mboot.description", "displayinf", "OEMC20D1.INF", "system.ini")
@SetINI ("mboot.description", "displayinf", "OEMC20D1.INF", "@MIRODRIVE:@MIRODIR\\COMMON\\MSYSTEM.INI")
@EndIf
//Timing system
@If (100 [= @Option) //CRYSTAL 40SV
@SetINI ("CARD1", "card_name","miroCRYSTAL 40SV", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@SetINI ("CARD1", "card_file","CARD010F.INI", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@EndIf
@If (101 [= @Option) //CRYSTAL 20SV
@SetINI ("CARD1", "card_name","miroCRYSTAL 20SV", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@SetINI ("CARD1", "card_file","CARD000A.INI", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@EndIf
@If (102 [= @Option) //CRYSTAL 40SV ergo
@SetINI ("CARD1", "card_name","miroCRYSTAL/MAGIC 40SV twin/ergo", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@SetINI ("CARD1", "card_file","CARD000E.INI", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@EndIf
@If (103 [= @Option) //CRYSTAL 20SV ergo
@SetINI ("CARD1", "card_name","miroCRYSTAL/MAGIC 20SV twin/ergo", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@SetINI ("CARD1", "card_file","CARD000D.INI", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@EndIf
@If (104 [= @Option) //CRYSTAL 20SD 2MB
@SetINI ("CARD1", "card_name","miroCRYSTAL 20SD", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@SetINI ("CARD1", "card_file","CARD030B.INI", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@EndIf
@If (105 [= @Option) //CRYSTAL 20SD 1MB
@SetINI ("CARD1", "card_name","miroCRYSTAL 20SD", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@SetINI ("CARD1", "card_file","CARD040B.INI", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@EndIf
@SetINI ("CARD1", "monitor","64kHz multi frequency monitor", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@SetINI ("CARD1", "miromode","0x0", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@SetINI ("CARD1", "linaddr_window","0x000A0000", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@SetINI ("CARD1", "powersave","0", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
//for default
@SetINI ("CARD2", "monitor","64kHz multi frequency monitor", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@SetINI ("CARD2", "card_file","CARDFFFF.INI", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
@SetINI ("CARD2", "card_name","Not Installed", "@miroDrive:@miroDir\\TIMING\\INSTALL.INI")
//Bit depth switching
@If (103 [= @Option || 102 [= @Option || 104 [= @Option || 105 [= @Option
|| 101 [= @Option || 100 [= @Option)
@SetINI ("8", "display.drv",, "bitum.ini")
//@SetINI ("8", "display.drv", "@wSysDir\\VXPMR_08.DRV", "bitum.ini")
@SetINI ("15", "display.drv", "@wSysDir\\VXPMR_15.DRV", "bitum.ini")
//@SetINI ("16", "display.drv", "@wSysDir\\VXPMR_16.DRV", "bitum.ini")
@SetINI ("32", "display.drv", "@wSysDir\\VXPMR_32.DRV", "bitum.ini")
@EndIf
@EndIf
@ChDrive (@WindowsDrive)
@ChDir ("@WindowsDir")
@If (200 [= @Option) // Windows drivers
@ReturnValue (4711)
@WinExec ("@miroDrive:@miroDir\\COMMON\\MONSEL.EXE", 1)
@EndIf
@EndFinish
//*** eof *********************************************************************