; DIVX MPEG-4 DVD Video Codec install
; Version 3e
; NT & 9x (NT5 tested !)

[Source Media Descriptions]
    1  = "DivX MPEG-4 DVD Codec Disk"  , TAGFILE = DIVXc32.dll

[Installable.Drivers]
div3 = 1:DIVXc32.dll, "vidc.div3", "DivX MPEG-4 (Low-Motion)" , , ,
div4 = 1:DIVXc32f.dll, "vidc.div4", "DivX MPEG-4 (Fast-Motion)" , , ,
l3acm = 1:L3codeca.acm, "msacm.l3acm", "Fraunhofer IIS MPEG Layer-3 Codec (Professional)" , , ,

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

[Manufacturer]
%mfgname%=generic

[DefaultInstall]
CopyFiles=MPEG4.Copy,MPEG4.Copy.Inf
Updateinis = MPEG4.Updateini
addreg = MPEG4.AddReg,MPEG4.DoReg
MediaType = SOFTWARE

[MPEG4.Copy]
DIVX_c32.ax
DIVXc32.dll
DIVXc32f.dll
l3codeca.acm

[MPEG4.Copy.Inf]
divx.inf

[MPEG4.UpdateIni]
;system.ini, drivers32,,"vidc.DIV1=DIVXc32.dll"
;system.ini, drivers32,,"vidc.DIV2=DIVXc32.dll"
system.ini, drivers32,,"vidc.DIV3=DIVXc32.dll"
system.ini, drivers32,,"vidc.DIV4=DIVXc32f.dll"
system.ini, drivers32,,"msacm.l3acm=L3codeca.acm"

[MPEG4.DelIni]
;system.ini, drivers32,"vidc.DIV1=DIVXc32.dll",
;system.ini, drivers32,"vidc.DIV2=DIVXc32.dll",
system.ini, drivers32,"vidc.DIV3=DIVXc32.dll",
system.ini, drivers32,"vidc.DIV4=DIVXc32f.dll",

[MPEG4.AddReg]
;HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV1,Description,,"DivX MPEG-4 V1 Video Codec"
;HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV1,Driver,,DIVXc32.dll
;HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV1,FriendlyName,,"DivX MPEG-4 V1 Video Codec"

;HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV2,Description,,"DivX MPEG-4 V2 Video Codec"
;HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV2,Driver,,DIVXc32.dll
;HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV2,FriendlyName,,"DivX MPEG-4 V2 Video Codec"

HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV3,Description,,"DivX MPEG-4 DVD Video Codec (Low-Motion)"
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV3,Driver,,DIVXc32.dll
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV3,FriendlyName,,"DivX MPEG-4 (Low-Motion)"

HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV4,Description,,"DivX MPEG-4 DVD Video Codec (Fast-Motion)"
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV4,Driver,,DIVXc32f.dll
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV4,FriendlyName,,"DivX MPEG-4 (Fast-Motion)"

HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\DIVXCodec,DisplayName,,"DivX Codec 3e release"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\DIVXCodec,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection Remove_DIVX 132 %17%\divx.inf"

[MPEG4.DoReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,"Registering M$ MPEG4 ActiveX filter...",,"%11%\regsvr32.exe /s %11%\mpg4ds32.ax"
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,"Registering DivX ActiveX filter...",,"%11%\regsvr32.exe /s %11%\DIVX_c32.ax"

[MPEG4.DelReg]
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV1

HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV2

HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV3

HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.DIV4

HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DIVXCodec

[MPEG4.Unregister]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,"Unregistering ActiveX filter...",,"%11%\regsvr32.exe /s /u %11%\DIVX_c32.ax"

;---------------------------------------------------------------;

[Remove_DIVX]
AddReg = MPEG4.Unregister
DelReg = MPEG4.DelReg
DelFiles = MPEG4.Copy,MPEG4.Copy.Inf
UpdateInis = MPEG4.DelIni

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

[SourceDisksNames]
1="DivX MPEG-4 DVD Video Codec Install Disk",, 0001

[SourceDisksFiles]
DIVXc32.dll=1
DIVX_c32.ax=1
divx.inf=1

[Strings]
MediaClassName="Media Devices"
mfgname="No more money !"

