home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Gallery 1996 January
/
MG_0196.ISO
/
spea
/
install
/
install1.dat
< prev
next >
Wrap
Text File
|
1995-11-17
|
18KB
|
552 lines
@If(@Platform == 1)
@FileAttr("C:\\odd33ver.tpl", "r-s-h-")
@Delete("C:\\odd33ver.tpl")
@FileAttr("C:\\odd33set.tpl", "r-s-h-")
@Delete("C:\\odd33set.tpl")
@FileAttr("D:\\odd33ver.tpl", "r-s-h-")
@Delete("D:\\odd33ver.tpl")
@FileAttr("D:\\odd33set.tpl", "r-s-h-")
@Delete("D:\\odd33set.tpl")
@FileAttr("E:\\odd33ver.tpl", "r-s-h-")
@Delete("E:\\odd33ver.tpl")
@FileAttr("E:\\odd33set.tpl", "r-s-h-")
@Delete("E:\\odd33set.tpl")
@FileAttr("F:\\odd33ver.tpl", "r-s-h-")
@Delete("F:\\odd33ver.tpl")
@FileAttr("F:\\odd33set.tpl", "r-s-h-")
@Delete("F:\\odd33set.tpl")
@FileAttr("G:\\odd33ver.tpl", "r-s-h-")
@Delete("G:\\odd33ver.tpl")
@FileAttr("G:\\odd33set.tpl", "r-s-h-")
@Delete("G:\\odd33set.tpl")
@System ("getos.bat do it really")
@If(@Exists("C:\\odd33ver.tpl") && @Exists("C:\\odd33set.tpl"))
@DefineVars @QString @TmpStr = "C:" @EndVars
@Goto DETECTOS2
@ElseIf(@Exists("D:\\odd33ver.tpl") && @Exists("D:\\odd33set.tpl"))
@DefineVars @QString @TmpStr = "D:" @EndVars
@Goto DETECTOS2
@ElseIf(@Exists("E:\\odd33ver.tpl") && @Exists("E:\\odd33set.tpl"))
@DefineVars @QString @TmpStr = "E:" @EndVars
@Goto DETECTOS2
@ElseIf(@Exists("F:\\odd33ver.tpl") && @Exists("F:\\odd33set.tpl"))
@DefineVars @QString @TmpStr = "F:" @EndVars
@Goto DETECTOS2
@ElseIf(@Exists("G:\\odd33ver.tpl") && @Exists("G:\\odd33set.tpl"))
@DefineVars @QString @TmpStr = "G:" @EndVars
@Goto DETECTOS2
@Else // @Exists
@Goto SPECIFYOS
@Endif // @Exists
DETECTOS2:
@If(@StrInFile("Operating System/2", "@TmpStr\\odd33ver.tpl") == 1)
@DefineVars @Integer @OS = 2 @EndVars
@ElseIf(@StrInFile("Windows 95", "@TmpStr\\odd33ver.tpl") == 1)
@DefineVars @Integer @OS = 4 @EndVars
@ElseIf(@StrInFile("Windows NT", "@TmpStr\\odd33ver.tpl") == 1)
@DefineVars @Integer @OS = 4 @EndVars
@ElseIf(@StrInFile("DOS", "@TmpStr\\odd33ver.tpl") == 1)
@If(@StrInFile("windir", "@TmpStr\\odd33set.tpl") == 1)
@DefineVars @Integer @OS = 3 @EndVars
@Else
@DefineVars @Integer @OS = 1 @EndVars
@Endif
@Else
@DefineVars @Integer @OS = 0 @EndVars
@Endif // @StrInFile
@Delete("@TmpStr\\odd33ver.tpl")
@Delete("@TmpStr\\odd33set.tpl")
@ElseIf(@Platform == 3)
@If(@Chicago == 1)
@DefineVars @Integer @OS = 4 @EndVars
@Else // ! @Chicago
@If(@OS2Info == 1)
@DefineVars @Integer @OS = 2 @EndVars
@Else
@DefineVars @Integer @OS = 3 @EndVars
@Endif // @OS2Info
@Endif // @Chicago
@Endif // @Platform
@If(@OS > 0) @Goto OSDETECTED
SPECIFYOS:
@FlushOptions()
@GetOption @Cls @LocalWindow(18, 39)
@If(@L==2)
Bitte geben Sie das Betriebssystem an,
das gerade aktiv ist.
Benutzen Sie die Pfeil-Tasten zur Auswahl.
Bestätigen Sie mit [RETURN]."
@Else // @L
Please specify the operating system
which is currently active.
Use the cursor keys to select.
Press [ENTER] to continue."
@Endif // @L
@Option 1000 = "DOS"
@Option 2000 = "OS/2"
@Option 3000 = "Windows 3.1x"
@Option 4000 = "Windows 95 / Windows NT"
@EndOption
@If (1000 [= @Option) @Integer @OS = 1
@ElseIf (2000 [= @Option) @Integer @OS = 2
@ElseIf (3000 [= @Option) @Integer @OS = 3
@ElseIf (4000 [= @Option) @Integer @OS = 4
@Endif
OSDETECTED:
@DefineVars @Integer @Pl = @Platform @EndVars
@If(@Pl==1 && (@OS==3 || @OS==4) && 'V' [! @Group)
@Display @Cls
@If(@L==2)
Das Installationsprogramm kann nicht in einem DOS-Fenster
oder DOS-Vollbild unter Windows 3.1x ausgeführt werden.
Bitte starten Sie das Installationsprogramm mit dem Befehl:
Datei | Ausführen: @InDrive:\SPEAINST.EXE
@Else // @L
The installation programm cannot be executed in a DOS window
or DOS full-screen under Windows 3.1x.
Please start the installation program with the command:
File | Run: @InDrive:\SPEAINST.EXE
@Endif // @L
@Pause
@EndDisplay
@Exit
@Endif // @Pl && @OS && !'V'
@DefineVars
@Drive @DiskDrive = A
@If(@BoardID != 0) @Integer @IDpassed = 1 @Else @Integer @IDpassed = 0 @Endif
@QString @d8 = "\n\n\n\n\n\n\n\n"
@QString @d4 = "\n\n\n\n"
@Integer @V7 = @BoardID
@If(@L==1)
@QString @Lpar = "-e"
@QString @t111 = " Use the SPACE BAR to select YES or NO. Press [─┘] to continue."
@QString @t133 = " Use the keys [] and [] to select. Press [─┘] to continue.\n"
@QString @t134 = " Press [─┘] to continue."
@QString @t500 = " Please select:"
@If(@Pl==1)
@QString @t501 = " Please select: Software Installation for"
@Else
@QString @t501 = " Please select:\n Software Installation for"
@Endif
@QString @t502 = " Board:"
@QString @t503 = " WELCOME to the S P E A Software Installation!"
@QString @t504 = " --------------------------------------------------"
@QString @t505 = " This program offers the possibility to detect the SPEA graphics board"
@QString @t506 = " in your system automatically and display the appropriate software which"
@QString @t507 = " you can select for installation. "
@QString @t508 = " The automatic detection can be disabled on request."
@QString @t509 = " Do you want to enable the automatic detection?"
@QString @t510 = " Automatic detection disabled."
@QString @t511 = " No SPEA graphics board has been detected in your system."
@QString @t512 = " For which SPEA board do you want to install software?"
@QString @t513 = " If Windows is not active, run Windows."
@QString @t514 = " Execute, in the directory:"
@QString @t515 = " the program SETUP.EXE."
@QString @t516 = " the program WINSTALL.EXE."
@QString @t517 = " Install Drivers and Utilities for SPEA Hardware"
@QString @t518 = " -----------------------------------------------"
@QString @t519 = " Install SPEA Software Products"
@QString @t520 = " ------------------------------"
@QString @t521 = " Create Installation Floppy Disks"
@QString @t522 = " --------------------------------"
@QString @t523 = " Create installation floppy disks"
@QString @Drivers = "Drivers"
@QString @Driver = "Driver"
@QString @for = "for"
@QString @and = "and"
@QString @Utilities = "utilities"
@QString @Applications = "Applications"
@QString @Y = " YES"
@QString @N = " NO "
@QString @only = "only"
@QString @type = "type"
@ElseIf(@L==2)
@QString @Lpar = "-d"
@QString @t111 = " Wählen Sie JA / NEIN mit der LEERTASTE. Drücken Sie anschließend [─┘]."
@QString @t133 = " Benutzen Sie die Tasten [] und [] zur Auswahl.\n Bestätigen Sie mit [─┘]."
@QString @t134 = " Bestätigen Sie mit [─┘]."
@QString @t500 = " Bitte wählen Sie:"
@If(@Pl==1)
@QString @t501 = " Bitte wählen Sie: Installation von Software für"
@Else
@QString @t501 = " Bitte wählen Sie:\n Installation von Software für"
@Endif
@QString @t502 = " Karte:"
@QString @t503 = " WILLKOMMEN zur S P E A Software Installation!"
@QString @t504 = " -------------------------------------------------"
@QString @t505 = " Dieses Programm bietet die Möglichkeit, die SPEA Graphikkarte in "
@QString @t506 = " Ihrem Rechner automatisch zu erkennen und Ihnen die zugehörige "
@QString @t507 = " Software anzuzeigen, die Sie zur Installation auswählen können. "
@QString @t508 = " Die automatische Erkennung kann auf Wunsch deaktiviert werden."
@QString @t509 = " Soll die automatische Erkennung aktiv sein?"
@QString @t510 = " Automatische Erkennung deaktiviert."
@QString @t511 = " Es wurde keine SPEA Graphikkarte in Ihrem System erkannt. "
@QString @t512 = " Für welche SPEA Karte wollen Sie Software installieren?"
@QString @t513 = " Falls Windows nicht aktiv ist, starten Sie Windows."
@QString @t514 = " Führen Sie im Verzeichnis:"
@QString @t515 = " das Programm SETUP.EXE aus."
@QString @t516 = " das Programm WINSTALL.EXE aus."
@QString @t517 = " Treiber und Dienstprogramme für SPEA Hardware installieren"
@QString @t518 = " ----------------------------------------------------------"
@QString @t519 = " SPEA Software Produkte installieren"
@QString @t520 = " -----------------------------------"
@QString @t521 = " Installationsdisketten erzeugen"
@QString @t522 = " -------------------------------"
@QString @t523 = " Installationsdisketten erzeugen"
@QString @Drivers = "Treiber"
@QString @Driver = "Treiber"
@QString @for = "für"
@QString @and = "und"
@QString @Utilities = "Dienstprogramme"
@QString @Applications = "Applikationen"
@QString @Y = " JA "
@QString @N = "NEIN"
@QString @only = "nur"
@QString @type = "Typ"
@Endif // @L
@EndVars
///////////////////// AUSWAHL: ///////////////////////////////////////////////
///////////////////// SPEA TREIBER ODER SOFTWARE PRODUKTE INSTALLIEREN ///////
///////////////////// ODER DISKETTEN ERZEUGEN ////////////////////////////////
@If(@BoardID == 0 && 'V' [! @Group)
// Abfrage nur, wenn kein oder ungültiger Wert übergeben und
// Diskettenerzeugung nicht bereits gewählt
@FlushGroups
@GetGroups @Cls @If(@Pl==1) @LocalWindow(14, 39) @Else @DlgCtrlSize(0, 6, 0, 9, 60) @Endif
@t503
@If(@Pl==1)@t504
@Endif
@t500
@If(@Pl==1)@d8
@t133@Endif
@Set X = "@t517"
@Set Y = "@t519"
@Set V = "@t521"
@EndGroups
@Else // BoardID gültig
@SetGroup(X)
@Endif // @BoardID && !'V'
//////////////////////////////////////////////////////////////////////////////
// DISKETTEN ERZEUGEN ////////////////////////////////////////////////////////
@If('V' [= @Group)
@If(@Pl==3) @WinExec("INST.EXE @Lpar -. -NB makefloppy", 1, 0) @Exit @Endif
@SetGroup(X)
@If(@L==2)
@t501 = " Bitte wählen Sie: Installationsdisketten erzeugen für"
@Else
@t501 = " Please select: Create installation floppy disks for"
@Endif // @L
@Endif // 'V'
//////////////////////////////////////////////////////////////////////////////
///////////////////// INSTALLATION VON SPEA SOFTWARE PRODUKTEN ///////////////
@If('Y' [= @Group)
@GetGroups @If(@Pl==1) @LocalWindow(14, 39) @Else @DlgCtrlSize(0, 6, 0, 9, 71) @Endif
@t519
@If(@Pl==1)@t520
@Endif
@t500
@If(@Pl==1)@d8
@t133@Endif
@Set E = "BigFocus 13/WIN, SPEA's Display List @Driver @for AutoCAD 13 @for Windows"
@Set F = "3D-Win, SPEA's 3D-Viewer @for Windows"
@If(@L==2)
@Set T = "top-CAD für Windows, die Elektronik CAD-Lösung der SETO Software GmbH"
@Else // @L
@Set T = "top-CAD for Windows, the PCB Design Software from SETO Software GmbH"
@Endif // @L
@EndGroups
@Endif // 'Y' ////////////////////////////////////////////////////////////////
///////////////////// INSTALLATION VON SPEA UTILITIES & TREIBERN /////////////
@If('X' [= @Group)
@ClearOption(0)
@If(@BoardID == 0) // Abfrage nur, wenn kein oder ungültiger Wert übergeben
//////////////////// AUTOMATISCHE ERKENNUNG JA/NEIN ? /////////////////////////
@SetOption(0)
/*
@GetOption @Cls @If(@Pl==1) @Checkbox @LocalWindow (18, 39) @ElseIf(@Pl==3) @DlgCtrlSize(0, 8, 50, 10, 58) @Endif
@t517
@If(@Pl==1)@t518
@Endif
@t505
@t506
@t507
@t508
@t509@If(@Pl==1)
@t111@Endif
@If(@Pl==1) @Option 0 = "" @ElseIf(@Pl==3) @Option 0 = "@Y" @Option 1 = "@N" @Endif
@EndOption // Automatische Erkennung Ja/Nein ? ///////////////////////////////
/**/
// Aktiviere ggf. automatische Erkennung
@If(0 [= @Option)
@GetBoard
@V7 = @BoardID
@Endif
@Endif // @BoardID war Null //////////////////////////////////////////////////
// Gültige SPEA Karte installiert?
@DefineVars
@If (@V7==0x5C // V7-VEGA VIDEO
|| @V7==0x3B || @V7==0x4B // V7-VEGA PLUS
|| @V7==0x1C || @V7==0x2C // V7-VEGA PRO
|| @V7==0x3A || @V7==0x4A // V7-MIRAGE
|| @V7==0x3C || @V7==0x4C // V7-MIRAGE P-32
|| @V7==0xCA || @V7==0xDA || @V7==0xEA || @V7==0xFA // V7-MIR P-64, Vision864
|| @V7==0xCB || @V7==0xDB || @V7==0xEB || @V7==0xFB // V7-MIR P-64, TRIO64
|| @V7==0x7C || @V7==0x8C || @V7==0x9C || @V7==0xAC // V7-MIRAGE P-64 V
|| @V7==0x7D // V7-MIRAGE VIDEO
|| @V7==0xAA // V7-MERCURY Lite
|| @V7==0x7A || @V7==0x8A // V7-MERCURY PRO
|| @V7==0x5A || @V7==0x6A || @V7==0x9A // V7-MERCURY
// || @V7==0xFC // FIRE GL
|| @V7==0xBC || @V7==0xCC // V7-MERCURY P-64 V
|| @V7==0x1B || @V7==0x2B // V7-MERCURY P-64
|| @V7==0x5B || @V7==0x6B // V7-STORM PRO
|| @V7==0xAB || @V7==0xBB) // SHOWTIME PLUS
@Integer @RightBoard = 1
@Else
@Integer @RightBoard = 0
@Endif
@EndVars
/////////////////////////////////////////////////////////////////////////
@If(@IDpassed==0)
// Versetze Highlight Bar auf die erkannte Karte: ////////////////////////////
// SHOWTIME PLUS ////////////////////////////////
@If (@V7==0xAB || @V7==0xBB)
@BarOffset(0)
// V7-STORM PRO /////////////////////////////////
@ElseIf (@V7==0x5B || @V7==0x6B)
@BarOffset(1)
// FIRE GL //////////////////////////////////////
//@ElseIf (@V7==0xFC)
// @BarOffset(2)
// V7-MERCURY P-64 V ////////////////////////////
@ElseIf (@V7==0xBC || @V7==0xCC)
@BarOffset(2)
// V7-MERCURY P-64 //////////////////////////////
@ElseIf (@V7==0x1B || @V7==0x2B)
@BarOffset(3)
// V7-MERCURY ///////////////////////////////////
@ElseIf (@V7==0x5A || @V7==0x6A || @V7==0x9A)
@BarOffset(4)
// V7-MERCURY PRO ///////////////////////////////
@ElseIf (@V7==0x7A || @V7==0x8A)
@BarOffset(5)
// V7-MERCURY Lite //////////////////////////////
@ElseIf (@V7==0xAA)
@BarOffset(6)
// V7-MIRAGE P-64 V /////////////////////////////
@ElseIf (@V7==0x7C || @V7==0x8C || @V7==0x9C || @V7==0xAC)
@BarOffset(7)
// V7-MIRAGE VIDEO //////////////////////////////
@ElseIf (@V7==0x7D)
@BarOffset(8)
// V7-MIRAGE P-64, Vision864 und TRIO64 /////////
@ElseIf (@V7==0xCA || @V7==0xDA || @V7==0xEA || @V7==0xFA || @V7==0xCB || @V7==0xDB || @V7==0xEB || @V7==0xFB)
@BarOffset(9)
// V7-MIRAGE P-32 ///////////////////////////////
@ElseIf (@V7==0x3C || @V7==0x4C)
@BarOffset(10)
// V7-MIRAGE ////////////////////////////////////
@ElseIf (@V7==0x3A || @V7==0x4A)
@BarOffset(11)
// V7-VEGA PRO //////////////////////////////////
@ElseIf (@V7==0x1C || @V7==0x2C)
@BarOffset(12)
// V7-VEGA PLUS /////////////////////////////////
@ElseIf (@V7==0x3B || @V7==0x4B)
@BarOffset(13)
// V7-VEGA VIDEO ////////////////////////////////
@ElseIf (@V7==0x5C)
@BarOffset(14)
// V7-VEGA //////////////////////////////////////
@ElseIf (@V7==0x1A || @V7==0x2A)
@BarOffset(15)
@Endif // Highlight Bar versetzen ////////////////////////////////////////////
// KARTE WÄHLEN ODER ERKANNTE KARTE BESTÄTIGEN ////////////////////////////////
// Automatische Erkennung ja -> markierte Karte bestätigen ////////////////////
// Automatische Erkennung nein oder keine SPEA Karte erkannt -> Karte wählen //
@If(@Pl==1) @MaxListSize(9) @Endif
@GetOption @Cls @If(@Pl==1) @LocalWindow(15, 39) @Else @DlgCtrlSize(0, 7, 0, 16, 35) @Endif
@If(@IDpassed==1)@t517
@t518 @Endif @If(@IDpassed == 0 && 0 [! @Option)
@t510 @Else @If(@RightBoard==0)
@t511
@t512 @Else
@t502 @Board @Endif @Endif
@t501@If(@Pl==1)
@t133@Endif
@Option 101 = "SPEA SHOWTIME PLUS"
@Option 102 = "SPEA V7-STORM PRO"
//@Option 119 = "SPEA FIRE GL"
@Option 118 = "SPEA V7-MERCURY P-64 V"
@Option 103 = "SPEA V7-MERCURY P-64"
@Option 104 = "SPEA V7-MERCURY"
@Option 105 = "SPEA V7-MERCURY PRO"
@Option 106 = "SPEA V7-MERCURY Lite"
@Option 114 = "SPEA V7-MIRAGE P-64 V (TURBO)"
@Option 121 = "SPEA V7-MIRAGE VIDEO"
@Option 107 = "SPEA V7-MIRAGE P-64"
@Option 108 = "SPEA V7-MIRAGE P-32"
@Option 109 = "SPEA V7-MIRAGE"
@Option 110 = "SPEA V7-VEGA PRO"
@Option 111 = "SPEA V7-VEGA PLUS"
@Option 112 = "SPEA V7-VEGA VIDEO"
@Option 117 = "SPEA V7-VEGA ISA/VL"
@Option 120 = "SPEA MEDIA XTC"
@Option 113 = "SPEA V7-media fx"
@Option 115 = "SPEA Crunch It"
@Option 116 = "SPEA Play It"
@EndOption
@If(@Pl==1) @MaxListSize() @Endif
@BarOffset(0)
@ElseIf(@IDpassed==1)
// SHOWTIME PLUS ////////////////////////////////
@If (@V7==0xAB || @V7==0xBB)
@SetOption(101)
// V7-STORM PRO /////////////////////////////////
@ElseIf (@V7==0x5B || @V7==0x6B)
@SetOption(102)
// FIRE GL //////////////////////////////////////
@ElseIf (@V7==0xFC)
@SetOption(119)
// V7-MERCURY P-64 V ////////////////////////////
@ElseIf (@V7==0xBC || @V7==0xCC)
@SetOption(118)
// V7-MERCURY P-64 //////////////////////////////
@ElseIf (@V7==0x1B || @V7==0x2B)
@SetOption(103)
// V7-MERCURY ///////////////////////////////////
@ElseIf (@V7==0x5A || @V7==0x6A || @V7==0x9A)
@SetOption(104)
// V7-MERCURY PRO ///////////////////////////////
@ElseIf (@V7==0x7A || @V7==0x8A)
@SetOption(105)
// V7-MERCURY Lite //////////////////////////////
@ElseIf (@V7==0xAA)
@SetOption(106)
// V7-MIRAGE P-64 V /////////////////////////////
@ElseIf (@V7==0x7C || @V7==0x8C || @V7==0x9C || @V7==0xAC)
@SetOption(114)
// V7-MIRAGE VIDEO //////////////////////////////
@ElseIf (@V7==0x7D)
@SetOption(121)
// V7-MIRAGE P-64, Vision864 und TRIO64 /////////
@ElseIf (@V7==0xCA || @V7==0xDA || @V7==0xEA || @V7==0xFA || @V7==0xCB || @V7==0xDB || @V7==0xEB || @V7==0xFB)
@SetOption(107)
// V7-MIRAGE P-32 ///////////////////////////////
@ElseIf (@V7==0x3C || @V7==0x4C)
@SetOption(108)
// V7-MIRAGE ////////////////////////////////////
@ElseIf (@V7==0x3A || @V7==0x4A)
@SetOption(109)
// V7-VEGA PRO //////////////////////////////////
@ElseIf (@V7==0x1C || @V7==0x2C)
@SetOption(110)
// V7-VEGA PLUS /////////////////////////////////
@ElseIf (@V7==0x3B || @V7==0x4B)
@SetOption(111)
// V7-VEGA VIDEO ////////////////////////////////
@ElseIf (@V7==0x5C)
@SetOption(112)
// V7-VEGA //////////////////////////////////////
@ElseIf (@V7==0x1A || @V7==0x2A)
@SetOption(117)
@Endif // Optionen setzen ////////////////////////////////////////////////////
@Endif // @IDpassed
@Endif // 'X'
// Karte wählen oder erkannte Karte bestätigen ////////////////////////////////
@Chain("Disk 1", "INSTALL2.DAT")