; DivX Pro Video Codec install

[Version]
Signature = "$CHICAGO$"
Class = MEDIA

[SourceDisksNames]
1="DivX Pro Video Codec Install Disk",, 0001

[SourceDisksFiles]
DivX.dll=1
dpl100.dll=1
DivXdec.ax=1
DivX6.inf=1

[Installable.Drivers]
DivX = 1:DivX.dll, "vidc.DIVX", "DivX Pro Video Codec" , , ,

[DefaultInstall]
CopyFiles=DivX.Copy.Inf,DivX.Copy
Updateinis = DivX.Updateini
DelReg = DivX.DelConfig
addreg = DivX.AddReg,DivX.AddReg9x,DivX.DoReg
MediaType = SOFTWARE

[DefaultInstall.ntx86]
CopyFiles=DivX.Copy.Inf,DivX.Copy
DelReg = DivX.DelConfig
addreg = DivX.AddReg,DivX.AddRegNT,DivX.DoReg
MediaType = SOFTWARE

[Remove_DivX]
AddReg = DivX.Unregister
DelReg = DivX.DelReg,DivX.DelConfig
DelFiles = DivX.Copy,DivX.Copy.Inf
UpdateInis = DivX.DelIni

[DivX.Copy]
DivX.dll
dpl100.dll
DivXdec.ax

[DivX.Copy.Inf]
DivX6.inf

[DivX.UpdateIni]
system.ini, drivers32,,"vidc.DIVX=DivX.dll"

[DivX.DelIni]
system.ini, drivers32,"vidc.DIVX=DivX.dll",

[DivX.AddReg]
HKLM,"SOFTWARE\S3R521\24IBT22BA2CHGACC4224","BRW6",0x10001,26,C8,45,46

[DivX.AddReg9x]
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIVX,Description,,%DivX%
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIVX,Driver,,DivX.dll
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIVX,FriendlyName,,"DivX"

HKLM,%UnInstallPath%,DisplayName,,%UninstallDispName%
HKLM,%UnInstallPath%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection Remove_DivX 132 %17%\%InfFile%"

[DivX.AddRegNT]
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc,DivX.dll,,%DivX%
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers32,vidc.DIVX,,DivX.dll

HKLM,%UnInstallPath%,DisplayName,,%UninstallDispName%
HKLM,%UnInstallPath%,UninstallString,,"%11%\rundll32.exe setupapi,InstallHinfSection Remove_DivX 132 %17%\%InfFile%"

[DivX.DoReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,"注册 DivX DirectShow 解码器...",,"%11%\regsvr32.exe /s %11%\DivXdec.ax"

[DivX.DelReg]
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIVX

HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc,DivX.dll,,""
HKLM,%UnInstallPath%

[DivX.Unregister]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,"反注册 DivX DirectShow 解码器...",,"%11%\regsvr32.exe /s /u %11%\DivXdec.ax"

[DivX.DelConfig]
HKCU,Software\DivXNetworks\DivX
HKCU,Software\DivXNetworks\DivX4Windows

HKCU,"Software\Microsoft\Multimedia\ActiveMovie\Filter Cache"

HKLM,"SOFTWARE\S3R521\24IBT22BA2CHGACC4224"

[DestinationDirs]
DefaultDestDir = 11	; LDID_SYS
DivX.Copy = 11
DivX.Copy.Inf = 17

[Strings]
DivX="DivX Pro Video Codec"
InfFile="DivX6.inf"
UninstallDispName="DivX Pro 视频编解码器"
UnInstallPath="Software\Microsoft\Windows\CurrentVersion\Uninstall\DivX6cn"
MediaClassName="Media Devices"
mfgname="snear"
