; S3SAV2K.INF with ICD and S3Switch3, Gamma
;
; Installation inf for the S3 Incorporated display driver for
; the Savage2000.
;
; (c) Copyright 1999 S3 Incorporated.
;

[Version]
Signature="$CHICAGO$"
Provider=%S3%
ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
Class=Display
CatalogFile=s3sav2k.cat
DriverVer=04/05/2002, 5.12.01.9016
;full version 5.12.01.9016-9.21.01G

[ControlFlags]
ExcludeFromSelect = PCI\VEN_5333&DEV_9102

[DestinationDirs]
DefaultDestDir   = 11
S3Inc.Miniport   = 12   ; drivers
S3Inc.Display    = 11   ; system32

S3Switch3copy.sys=11
S3Switch3copy.hlp=18
S3UninstCopy.sys=11

GAMMAcopy.sys=11
GAMMAcopy.hlp=18
GAMMAcopy.win=10

S3Inc.Icd        = 11   ; OpenGL ICD

;
; Driver information
;

[Manufacturer]
%S3%   = S3.Mfg

;
; This section should be modified to reflect the chip strings the
; user will see in the Displays applet when the new driver is being
; installed from the driver diskette.
;
[S3.Mfg]
S3 Savage2000 = S3Inc, PCI\VEN_5333&DEV_9102

; 
; General installation section
;

[S3Inc]
CopyFiles=S3Inc.Miniport,S3Inc.Display,S3Switch3copy.hlp,S3Switch3copy.sys,S3UninstCopy.sys,S3Inc.Icd, GAMMAcopy.hlp, GAMMAcopy.sys, GAMMAcopy.win
DelReg = S3Inc.DelReg,S3switch3.DelReg,S3GammaCleanNT.DelReg
AddReg=S3switch3.AddReg, S3Inc.AddRegs,S3GammaNT.AddReg

;
; File sections
;
;;gamma
[S3GammaNT.AddReg]
HKLM,"%CURVER%\Uninstall\S3 Gamma",DisplayName,,"%GAMDesc%"
HKLM,"%CURVER%\Uninstall\S3 Gamma","UninstallString",,"s3uninst.exe -reg 5 'HKLM\Software\S3\S3Uninst\S3 Gamma'"
HKCR,"CLSID\%GAMMACLSID%",,,"S3 Gamma Property Sheet"
HKCR,"CLSID\%GAMMACLSID%\InProcServer32",,,"S3Gamma.dll"
HKCR,"CLSID\%GAMMACLSID%\InProcServer32",ThreadingModel,,"Apartment"
;; ---------- Next line to remove possible duplicate shellext ------------
HKLM,"%CURVER%\%1%\Display\shellex\PropertySheetHandlers\S3 Gamma","",,"%GAMMACLSID%"
HKLM,"%S3GKEY%","Installed",,"1"
HKLM,"%S3GKEY%","Filename",,"S3Gamma.dll"
HKLM,"%S3GKEY%","UtilityName",,"%GAMMANAME%"

;; ---------- Following lines are uninstall information ------------
HKLM,"Software\S3\S3Uninst\S3 Gamma","10.DelKey",,"HKLM\%S3GKEY%"
HKLM,"Software\S3\S3Uninst\S3 Gamma","11.DelKey",,"HKCR\CLSID\%GAMMACLSID%"
HKLM,"Software\S3\S3Uninst\S3 Gamma","12.DelKey",,"HKLM\%CURVER%\Uninstall\S3 Gamma"
HKLM,"Software\S3\S3Uninst\S3 Gamma","13.DelKey",,"HKLM\%CURVER%\%1%\Display\shellex\PropertySheetHandlers\S3 Gamma"
HKLM,"Software\S3\S3Uninst\S3 Gamma","14.DelReg",,"HKLM\SYSTEM\CurrentControlSet\Services\S3SAV2K\Device0\GammaFor16BppModes"
HKLM,"Software\S3\S3Uninst\S3 Gamma","15.DelReg",,"HKLM\SYSTEM\CurrentControlSet\Services\S3SAV2K\Device0\GammaFor32BppModes"
HKLM,"Software\S3\S3Uninst\S3 Gamma","20.DelFiles",,"%11%\S3Gamma.dll"
HKLM,"Software\S3\S3Uninst\S3 Gamma","21.DelFiles",,"%18%\S3Gam*.hlp"
HKLM,"Software\S3\S3Uninst\S3 Gamma","22.DelFiles",,"%10%\S3Gamma.cfg"
HKLM,"Software\S3\S3Uninst\S3 Gamma","23.DelFiles",,"%17%\S3Gamma.?nf"

[S3GammaCleanNT.DelReg]
;; ---------- Next line to remove possible duplicate shellext ------------
HKLM,"%CURVER%\%1%\Display\shellex\PropertySheetHandlers\S3Gamma"


;; ========== The following section is for Win9X only ============

[GAMMAcopy.sys]
S3Gamma.dll
S3Uninst.exe

[GAMMAcopy.win]
S3Gamma.cfg

[GAMMAcopy.hlp]
S3gamENU.hlp
S3gamCHS.hlp
S3gamFRA.hlp
S3gamDEU.hlp
S3gamITA.hlp
S3gamJPN.hlp
S3gamPTB.hlp
S3gamESP.hlp

;; Switch3
[S3Switch3.DelReg]
HKLM,%S3SW3KEY%

[S3Switch3.AddReg]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\S3Switch3,DisplayName,,%S3SW3DSC%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\S3Switch3,UninstallString,,"S3Uninst.exe -reg 5 HKLM\SOFTWARE\S3\S3Uninst\S3Switch3"

HKCR,CLSID\%S3SW3CLS%,"",,"Property Sheet Extension for S3 Display Configuration Utility"
HKCR,CLSID\%S3SW3CLS%\InProcServer32,"",,"S3swtch3.dll"
HKCR,CLSID\%S3SW3CLS%\InProcServer32,ThreadingModel,,"Apartment"

HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\%1%\Display\shellex\PropertySheetHandlers\S3Switch3,"",,%S3SW3CLS%

HKLM,%S3SW3KEY%,,,
HKLM,%S3SW3KEY%,FileName,,"S3swtch3.DLL"
HKLM,%S3SW3KEY%,UtilityName,,"S3Switch3 Utility"
HKLM,%S3SW3KEY%,AlwaysSupportPanelDevice,,"OFF"
HKLM,%S3SW3KEY%,AlwaysSupportTVDevice,,"OFF"
HKLM,%S3SW3KEY%,AlwaysEnablePanelDevice,,"OFF"
HKLM,%S3SW3KEY%,AlwaysEnableTVDevice,,"OFF"
HKLM,%S3SW3KEY%,AllowSimultaneous,,"ON"
HKLM,%S3SW3KEY%,ExpandedTVFmtList,,"OFF"
HKLM,%S3SW3KEY%,RemoveInfoPage,,"OFF"

HKLM,"SOFTWARE\Diamond\VersionInfo\ViperII Z200 Series",Release, , 1.00

;----------- Following lines are uninstall information ------------
HKLM,%S3UNIKEY%\S3Switch3,10.DelKey,,HKLM\%S3SW3KEY%
HKLM,%S3UNIKEY%\S3Switch3,11.DelKey,,HKCR\CLSID\%S3SW3CLS%
HKLM,%S3UNIKEY%\S3Switch3,12.DelKey,,HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\S3Switch3
HKLM,%S3UNIKEY%\S3Switch3,13.DelKey,,HKLM\Software\Microsoft\Windows\CurrentVersion\%1%\Display\shellex\PropertySheetHandlers\S3Switch3
HKLM,%S3UNIKEY%\S3Switch3,20.DelFiles,,%11%\s3swtch3.dll
HKLM,%S3UNIKEY%\S3Switch3,21.DelFiles,,%11%\s3swtch3.vxd
HKLM,%S3UNIKEY%\S3Switch3,22.DelFiles,,%18%\s3sw3*.hlp
HKLM,%S3UNIKEY%\S3Switch3,23.DelFiles,,%11%\s3swtch3.cfg
HKLM,%S3UNIKEY%\S3Switch3,24.DelFiles,,%11%\s3sw3ext.cfg
HKLM,%S3UNIKEY%\S3Switch3,25.DelFiles,,%17%\s3swtch3.?nf

[S3Switch3copy.sys]
s3swtch3.dll
s3swtch3.cfg
s3sw3ext.cfg

[S3Switch3copy.hlp]
s3sw3enu.hlp
s3sw3jpn.hlp
s3sw3fra.hlp
s3sw3deu.hlp
s3sw3ita.hlp
s3sw3esp.hlp
s3sw3ptb.hlp
s3sw3chs.hlp

[S3UninstCopy.sys]
S3Uninst.exe


;;;;;;;;
[S3Inc.Miniport]
s3sav2km.sys      ; miniport driver

[S3Inc.Display]
s3sav2k.dll    ; gx4 display driver

[S3Inc.Icd]
s2kicdnt.dll      ; OpenGL ICD driver
ndl.dll


[S3Inc.DelReg]
HKLM,Software\Microsoft\%WinNTDir%\CurrentVersion\OpenGLdrivers

[S3Inc.AddRegs]
HKLM,Software\Microsoft\%WinNTDir%\CurrentVersion\OpenGLdrivers,Savage2K,,s2kicdNT.dll

[S3Inc.GeneralConfigData]
MaximumDeviceMemoryConfiguration=128


;
; Service Installation
;

[S3Inc.Services]
AddService = S3SAV2K, 0x00000002, S3Inc_Service_Inst, S3Inc_EventLog_Inst

[S3Inc_Service_Inst]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 1                  ; SERVICE_SYSTEM_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary  = %12%\s3sav2km.sys

[S3Inc_EventLog_Inst]
AddReg = S3Inc_EventLog_AddReg

[S3Inc_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\s3sav2km.sys"
HKR,,TypesSupported,0x00010001,7


;
; Software Installation
;

[S3Inc.SoftwareSettings]
AddReg = S3Inc_SoftwareDeviceSettings
DelReg = S3Inc_UserPreferences   ; user-selected preferences


[S3Inc_SoftwareDeviceSettings]
HKR,, InstalledDisplayDrivers,      %REG_MULTI_SZ%, s3sav2k
HKR,, VgaCompatible,                %REG_DWORD%,    0
HKR,, CapabilityOverride,           %REG_DWORD%,    0

[S3Inc_UserPreferences]
HKR,, UseDDCInfo
HKR,, NtscTvPositionX
HKR,, NtscTvPositionY
HKR,, Pal6TvPositionX
HKR,, Pal6TvPositionY
HKR,, Pal8TvPositionX
HKR,, Pal8TvPositionY
HKR,, DisplaysActivePreference
HKR,, TvStandardPreference
HKR,, DdcMaxRefresh
HKR,, GammaFor16BppModes
HKR,, GammaFor32BppModes


;
; Source file information
;

[SourceDisksNames]
1 = %DiskId%,,,""

[SourceDisksFiles]
s3sav2km.sys          = 1                     ; all files on Disk 1
s3sav2k.dll        = 1
s3sav2k.inf        = 1

;;switch3
s3swtch3.dll=1
s3sw3enu.hlp=1
s3sw3jpn.hlp=1
s3sw3fra.hlp=1
s3sw3deu.hlp=1
s3sw3ita.hlp=1
s3sw3esp.hlp=1
s3sw3ptb.hlp=1
s3sw3chs.hlp=1
s3swtch3.cfg=1
s3sw3ext.cfg=1
S3Uninst.exe=1
;;gamma
S3Gamma.dll=1
S3Gamma.cfg=1
S3gamENU.hlp=1
S3gamCHS.hlp=1
S3gamFRA.hlp=1
S3gamDEU.hlp=1
S3gamITA.hlp=1
S3gamJPN.hlp=1
S3gamPTB.hlp=1
S3gamESP.hlp=1
s2kicdnt.dll       = 1
ndl.dll            = 1

[Strings]

;
; Non-Localizable Strings
;

REG_MULTI_SZ   = 0x00010000
REG_DWORD      = 0x00010001

;
; Localizable Strings
;

DiskId      = "S3 Incorporated Installation DISK (VIDEO)"
S3          = "S3 Incorporated"
WinNTDir    = "Windows NT"


;;Switch3
1           = "Controls Folder"
S3SW3DSC    = "S3 Savage2000 Family Display Switch3 Utility"
S3SW3KEY    = "SOFTWARE\S3\S3Switch3"
S3UNIKEY    = "SOFTWARE\S3\S3Uninst"
S3SW3CLS    = "{c8346800-8090-11d3-88af-00600837776e}"

;;gamma
GAMDesc    = "S3 Gamma"
CURVER     = "Software\Microsoft\Windows\CurrentVersion"
GAMMACLSID = "{C4FACD43-6676-11d1-AF9C-00AA00C67CA8}"
GAMMANAME  = "S3 Gamma"
S3GKEY     = "SOFTWARE\S3\S3 Gamma"


