
[Version]
Signature=$CHICAGO$
Class=MEDIA
Provider=%String0%

[ClassInstall]
AddReg=Class.AddReg

[DestinationDirs]
DefaultDestDir=11
Info.Copy=17
Setup.Copy=30,%SetupPath%

[Manufacturer]
%String1%=S3Audio

[S3Audio]
%String2%=S30000_Device,*SSS0000
%String3%=S30001_Device,*SSS0010
%String4%=S30002_Device,*SSS0020
%String5%=S30003_Device,*SSS0030
%String7%=S30005_Device,PCI\VEN_5333&DEV_CA00
%String8%=S30006_Device,VIRTUAL\S3_SBEmulator

[PreCopySection]
HKR,,NoSetupUI,,1

[Det.DevINFs]
VIRTUAL\S3_GamePort=s3jstick.inf
*SSS0040=s3jstick.inf

[S30000_Device]
CopyFiles=VxD.Copy,Info.Copy
DelFiles=VxD.Del
AddReg=VxD.Reg
InfPath=s3audio.inf

[S30001_Device]
CopyFiles=Wave.Copy,Info.Copy
DelFiles=Wave.Del
AddReg=VxD.Reg,Wave.Reg,MIXER.AddReg
DelReg=Wave.DelReg
InfPath=s3audio.inf

[S30002_Device]
CopyFiles=FM.Copy
DelFiles=FM.Del
AddReg=VxD.Reg,FM.Reg
DelReg=FM.DelReg
InfPath=s3audio.inf

[S30003_Device]
CopyFiles=Midi.copy,Cpl.Copy
DelFiles=Midi.Del
AddReg=VxD.Reg,Midi.Reg,Cpl.Reg
DelReg=Midi.DelReg
InfPath=s3audio.inf
Uninstall=Cpl_remove

[S30004_Device]
CopyFiles=Info.Copy,Jstk.Copy
AddReg=JstkVxD.Reg,Jstk.Reg
DelReg=Jstk.DelReg
InfPath=s3audio.inf


[S30005_Device]
CopyFiles=VxD.Copy,Info.Copy,Wave.Copy,FM.Copy,Midi.copy,Cpl.Copy
DelFiles=VxD.Del,Wave.Del,FM.del,Midi.Del,Sys.Del
AddReg=VxD.Reg,Wave.Reg,MIXER.AddReg,FM.Reg,Midi.Reg,Cpl.Reg
DelReg=VxD.DelReg,Wave.DelReg,FM.DelReg,Midi.DelReg
InfPath=s3audio.inf
Uninstall=Cpl_remove

[S30006_Device]
AddReg=SBVxD.Reg

[Setup_remove]
DelReg = Setup.Reg
DelFiles = Setup.Copy

[VxD.Copy]
s3cvxd.vxd
s3base.dll
s3thunk.dll
s3dlsvxd.vxd
S3GM4.BIN
S3GM1.BIN
S3GM2.BIN
s3vjoyd.vxd

[Info.Copy]
s3audio.inf
s3jstick.inf

[Wave.Copy]
s3wave.drv
srstray.exe

[FM.Copy]
s3fm.drv

[Midi.copy]
s3midi.drv


[Cpl.Copy]
s3audio.cpl,,,1

[Setup.Copy]
start.exe,,,1


[VxD.Del]
s3cvxd.vxd,,,1
s3base.dll,,,1
s3thunk.dll,,,1
S3GM4.BIN,,,1
S3GM1.BIN,,,1
S3GM2.BIN,,,1


[Wave.Del]
s3wave.drv,,,1

[FM.del]
s3fm.drv,,,1

[Midi.Del]
s3midi.drv,,,1
s3audio.cpl,,,1

[VxD.Reg]
HKR,,Devloader,0,mmdevldr.vxd
HKR,,Driver,0,"s3cvxd.vxd"
HKLM,System\CurrentControlSet\Services\VxD\SONICVIBE,Start,3,0
HKLM,System\CurrentControlSet\Services\VxD\SONICVIBE,StaticVxD,2,"s3dlsvxd.vxd"
HKLM,System\CurrentControlSet\Services\VxD\SONICVIBE\Config\SysMemDlsRamSize,,2,"0"
HKLM,System\CurrentControlSet\Services\VxD\SONICVIBE\Config\SysMemGMBankSize,,2,"4194304"

 
[SBVxD.Reg]
HKR,,Devloader,0,mmdevldr.vxd
HKR,,Driver,0, s3cvxd.vxd

[Wave.Reg]
HKR,Drivers\wave\s3wave.drv,Description,0,%*S30001.DeviceDesc%
HKR,Drivers\mixer\s3wave.drv,Description,0,%*S30001.DeviceDesc%
HKR,Drivers\aux\s3wave.drv,Description,0,%*S30001.DeviceDesc%
HKR,Drivers\wave\s3wave.drv,Driver,0,s3wave.drv
HKR,Drivers\mixer\s3wave.drv,Driver,0,s3wave.drv
HKR,Drivers\aux\s3wave.drv,Driver,0,s3wave.drv
HKR,Drivers,SubClasses,0,wave,mixer,aux
HKR,Config,Aux1Mute,1,00,00,00,00
HKR,Config,Aux2Mute,1,00,00,00,00
HKR,Config,CDMute,1,00,00,00,00
HKR,Config,LineMute,1,00,00,00,00
HKR,Config,MicMute,1,00,00,00,00
HKR,Config,SRSEnable,1,00,00,00,00
HKR,Config,SynthChorus,1,01,00,00,00
HKR,Config,SynthReverb,1,01,00,00,00


[MIXER.AddReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,SystemTray,,"SysTray.Exe"
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,"SRS Applet",,"SrsTray.Exe"
HKLM,%KEY_IOC%\Vol,,,

[FM.Reg]
HKR,Drivers\midi\s3fm.drv,Description,0,%*S30002.DeviceDesc%
HKR,Drivers\midi\s3fm.drv,Driver,0,s3fm.drv
HKR,Drivers,SubClasses,0,midi
HKCU,Software\Microsoft\Windows\CurrentVersion\Multimedia\MIDIMap,CurrentInstrument,0,s3fm.drv

[Midi.Reg]
HKR,Drivers\midi\s3midi.drv,Description,0,%*S30003.DeviceDesc%
HKR,Drivers\midi\s3midi.drv,Driver,0,s3midi.drv
HKR,Drivers,SubClasses,0,midi

[Cpl.Reg]
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\SONICVIBE,DisplayName,,"%AppletDesc%
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\SONICVIBE,UninstallString,,"RunDll Setupx.dll,InstallHinfSection Cpl_remove 4 s3audio.inf"

[Setup.Reg]
HKLM,%CV%\RunOnce,%String1%,,%30%%SetupPath%"\start.exe /I"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\SVSETUP,DisplayName,,"%SetupDesc%
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\SVSETUP,UninstallString,,"RunDll Setupx.dll,InstallHinfSection Setup_remove 4 s3audio.inf"


[Class.AddReg]
HKR,,,0,%MediaClassName%
HKR,,Icon,0,-1
HKR,,Installer,0,mmci.dll

[ControlFlags]

[Cpl_remove]
DelReg = Cpl.Reg
DelFiles = Cpl.Copy

[VxD.DelReg]
HKLM,System\CurrentControlSet\Services\VxD\SONICVIBE\StaticVxD
HKLM,System\CurrentControlSet\Services\VxD\SONICVIBE\Start
HKLM,System\CurrentControlSet\Services\VxD\SONICVIBE

[Wave.DelReg]
HKR, Drivers\Wave\s3wave.drv
HKLM,System\CurrentControlSet\control\MediaResources\wave\s3wave.drv
HKLM,System\CurrentControlSet\control\MediaResources\mixer\s3wave.drv
HKLM,System\CurrentControlSet\control\MediaResources\aux\s3wave.drv

[FM.DelReg]
HKR,Drivers\midi\s3fm.drv
HKLM,System\CurrentControlSet\control\MediaResources\midi\s3fm.drv

[Midi.DelReg]
HKR,Drivers\midi\s3midi.drv
HKLM,System\CurrentControlSet\control\MediaResources\midi\s3midi.drv

[SourceDisksNames]
1 = "Sonicvibes",,,

[SourceDisksFiles]
s3cvxd.vxd=1
s3base.dll=1
s3thunk.dll=1
s3dlsvxd.vxd=1
S3GM4.BIN=1
S3GM1.BIN=1
S3GM2.BIN=1
s3wave.drv=1
s3midi.drv=1
s3fm.drv=1
s3audio.inf=1
s3audio.cpl=1
s3vjoyd.vxd=1
s3jstick.inf=1
srstray.exe=1


[Strings]
String0="S3 Inc."
String1="S3 Inc."
String2="S3 SonicVibes Plug and Play SB Pro Compatible Device"
String3="S3 SonicVibes Plug and Play Wave/Aux/Mixer Device"
String4="S3 SonicVibes Plug and Play FM Synthesizer"
String5="S3 SonicVibes Plug and Play Wavetable Synthesizer"
String7="S3 SonicVibes PCI Audio Device"
String8="S3 Legacy Relocator for SonicVibes PCI Audio Device"
*S30001.DeviceDesc="S3 SonicVibes Plug and Play Wave/Aux/Mixer Device"
*S30001.DeviceDesc="S3 SonicVibes Plug and Play Wave/Aux/Mixer Device"
*S30001.DeviceDesc="S3 SonicVibes Plug and Play Wave/Aux/Mixer Device"
*S30002.DeviceDesc="S3 SonicVibes Plug and Play FM Synthesizer"
*S30003.DeviceDesc="S3 SonicVibes Plug and Play Wavetable Synthesizer"
MediaClassName="Sound, video and game controllers"
AppletDesc="S3 SonicVibes Control Applet"
KEY_IOC="SYSTEM\CurrentControlSet\Control\MediaResources\InstallOptionalComponents"
SetupPath="Progra~1\SVSetup"
CV="Software\Microsoft\Windows\CurrentVersion"
