;
; EGLL.inf
;
; Installation script for the ELSA GLoria-L graphics adapter.
;
; 28.01.1998 FNicklis
; 06.02.1998 FNicklis, ELSAINFO
; 

[Version]
Signature="$CHICAGO$"
Provider=%ELSA%
ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
Class=Display

[DestinationDirs]
DefaultDestDir    = 11
ELSADRV.Miniport  = 12  ; drivers
ELSADRV.Display   = 11  ; system32
ELSADRV.Control   = 11  ; system32
ELSADRV.OpenGL    = 11  ; system32
ELSADRV.GLSet     = 10, ELSAUtil
ELSADRV.WinmSuit  = 10, ELSAUtil
ELSADRV.Video     = 10, ELSAUtil
ELSADRV.inf       = 17 ; inf

;
; Driver information. 
;

[Manufacturer]
ELSA AG = ELSAINST.Menu

[ELSAINST.Menu]
ELSA GLoria-L = ELSADRVTOOLS

;
; General installation section
;

[ELSADRV]
CopyFiles= ELSADRV.Miniport, ELSADRV.Display,  ELSADRV.OpenGL, ELSADRV.Inf

[ELSADRVTOOLS]
CopyFiles= ELSADRV.Miniport, ELSADRV.Display,  ELSADRV.OpenGL, ELSADRV.GLSet, ELSADRV.WinmSuit, ELSADRV.Inf

[ELSADRV.GeneralConfigData]
MaximumDeviceMemoryConfiguration = 80

[ELSADRVTOOLS.GeneralConfigData]
MaximumDeviceMemoryConfiguration = 80

;
; File sections
;

[ELSADRV.Miniport]
E%DRVNAME%M.sys

[ELSADRV.Display]
E%DRVNAME%D.dll
EM%DRVNAME%D.dll

[ELSADRV.OpenGL]
%ELSAOGL%.DLL

[ELSADRV.Inf]
E%DRVNAME%.INF

[ELSADRV.GLSet]
ELSA.hlp
ELSAENG.hlp
GLSET.dll
GLSET.inf
GLSET.tex
GLSET_DE.DLL
GLSETDEU.hlp
GLSETENG.hlp

[ELSADRV.WinmSuit]
ELSA.hlp
ELSAENG.hlp
WinmPS.dll
WinmSuit.exe
WinmSuit.inf
WSuit_de.dll


;
; Service Installation
;

[ELSADRV.Services]
AddService = E%DRVNAME%M, 0x00000002, ELSADRV_Service_Inst, ELSADRV_EventLog_Inst

[ELSADRVTOOLS.Services]
AddService = E%DRVNAME%M, 0x00000002, ELSADRV_Service_Inst, ELSADRV_EventLog_Inst

[ELSADRV_Service_Inst]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 1                  ; SERVICE_SYSTEM_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary  = %12%\E%DRVNAME%M.sys
AddReg = ELSADRV.AddReg

[ELSADRV.AddReg]
HKR,, ExportOnlyDoubleBufferModes,          %REG_DWORD%, 0
HKR,, OpenGL.DisableFastClear,              %REG_DWORD%, 0
HKR,, OpenGL.UseHiQualityTextures,          %REG_DWORD%, 0
HKR,, OpenGL.SupportSoftimage,              %REG_DWORD%, 0
HKR,, OpenGL.SupportSoftimage351,           %REG_DWORD%, 0
HKR,, OpenGL.TextureCompression,            %REG_DWORD%, 0
HKR,, OpenGL.EnableP2Antialias,	            %REG_DWORD%, 1
HKR,, OpenGL.SupportOpenGLVersion11,        %REG_DWORD%, 1
HKR,, OpenGL.TextureCompression,            %REG_DWORD%, 0
HKR,, OpenGL.DisableMipMaps,                %REG_DWORD%, 0
HKR,, ICDInterface.NumberOfDisplayBuffers,  %REG_DWORD%, 2
HKR,, ICDInterface.UseELSAOGL,              %REG_DWORD%, %USEELSAOGL%

[ELSADRV_EventLog_Inst]
AddReg = ELSADRV_EventLog_AddReg

[ELSADRV_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\E%DRVNAME%M.sys"
HKR,,TypesSupported,0x00010001,7


;
; Software Installation - tools differ here
;
; GLORIA

[ELSADRV.SoftwareSettings]
AddReg = ELSADRV_SoftwareDeviceSettings

[ELSADRVTOOLS.SoftwareSettings]
AddReg = ELSADRV_SoftwareDeviceSettings, GLSET_AddReg, WINMSUIT_AddReg

[ELSADRV_SoftwareDeviceSettings]
HKR,, InstalledDisplayDrivers,     %REG_MULTI_SZ%, E%DRVNAME%D, EM%DRVNAME%D
HKR,, VgaCompatible,               %REG_DWORD%,    0
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers","ELSA E"%DRVNAME%"M driver",%REG_SZ%,%ELSAOGL%
;HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers","ELSA GLoria driver",%REG_SZ%,%ELSAOGL%

[GLSET_AddReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","ELSAGLoriaSettings",%REG_SZ%,"rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 %10%\%ELSAUTIL%\GlSet.inf"

[WINMSUIT_AddReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","ELSAWinManSuite",%REG_SZ%,"rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 %10%\%ELSAUTIL%\WinmSuit.inf"

;
; Source file information
;

[SourceDisksNames]
1 = %DiskId1%,,,""
2 = %DiskId2%,,,""
3 = %DiskId3%,,,""

[SourceDisksFiles.x86]
E%DRVNAME%.inf    = 1
E%DRVNAME%D.dll   = 1, \i386
EM%DRVNAME%D.dll  = 1, \i386
E%DRVNAME%M.sys   = 1, \i386
%ELSAOGL%.DLL     = 2, \i386
ELSA.hlp     = 3, \i386\GLSET
ELSAENG.hlp  = 3, \i386\GLSET
GLSET.dll    = 3, \i386\GLSET
GLSET.inf    = 3, \i386\GLSET
GLSET.tex    = 3, \i386\GLSET
GLSET_DE.DLL = 3, \i386\GLSET
GLSETDEU.hlp = 3, \i386\GLSET
GLSETENG.hlp = 3, \i386\GLSET
WINMPS.DLL   = 3, \i386\WINMSUIT
WINMSUIT.EXE = 3, \i386\WINMSUIT
WINMSUIT.INF = 3, \i386\WINMSUIT
WSUIT_DE.DLL = 3, \i386\WINMSUIT

[SourceDisksFiles.ALPHA]
E%DRVNAME%.inf    = 1
E%DRVNAME%D.dll   = 1, \ALPHA
EM%DRVNAME%D.dll  = 1, \ALPHA
E%DRVNAME%M.sys   = 1, \ALPHA
%ELSAOGL%.DLL     = 2, \ALPHA
ELSA.hlp     = 3, \ALPHA\GLSET
ELSAENG.hlp  = 3, \ALPHA\GLSET
GLSET.dll    = 3, \ALPHA\GLSET
GLSET.inf    = 3, \ALPHA\GLSET
GLSET.tex    = 3, \ALPHA\GLSET
GLSET_DE.DLL = 3, \ALPHA\GLSET
GLSETDEU.hlp = 3, \ALPHA\GLSET
GLSETENG.hlp = 3, \ALPHA\GLSET
WINMPS.DLL   = 3, \ALPHA\WINMSUIT
WINMSUIT.EXE = 3, \ALPHA\WINMSUIT
WINMSUIT.INF = 3, \ALPHA\WINMSUIT
WSUIT_DE.DLL = 3, \ALPHA\WINMSUIT

[Strings]
REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001
RUN_ONCE="Software\Microsoft\Windows\CurrentVersion\RunOnce"
ELSAUTIL="ELSAutil"
DiskId1="ELSA Windows NT 4.0 DISK 1 "
DiskId2="ELSA Windows NT 4.0 DISK 2 "
DiskId3="ELSA Windows NT 4.0 DISK 3 "
ELSA="ELSA"

; Customize area
;   GLoria L:
;     DRVNAME    = "GLL"
;     USEELSAOGL = 0
;     ELSAOGL    = "EOGLL"
;   GLoria L/MX:
;     DRVNAME    = "GLMX"
;     USEELSAOGL = 0
;     ELSAOGL    = "EOGLMX"
;   GLoria XL:
;     DRVNAME    = "GLXL"
;     USEELSAOGL = 0
;     ELSAOGL    = "EOGLXL"
;   GLoria Synergy, WINNER Office/2000:
;     DRVNAME    = "GLP"
;     USEELSAOGL = 0
;     ELSAOGL    = "EOGLP"
;
;   Override internal ICD Name to force ELSAOGL.DLL:
;     USEELSAOGL= 1
;     ELSAOGL   = "ELSAOGL"
;
DRVNAME    ="GLL"
ELSAOGL    ="EOGLL"
USEELSAOGL =0
