;
; Ids MJPEG AVI video codec
;
; Copyright (c) 2001 Imaging Development Systems
;
[version]
Signature="$CHICAGO$"
Class=MEDIA

[DefaultInstall]
CopyFiles=MJPG.Files.Inf,MJPG.Files.Dll
AddReg=MJPG.Reg,MJPG.Reg9x
UpdateInis=MJPG.INIs

[DefaultInstall.ntx86]
CopyFiles=MJPG.Files.Inf,MJPG.Files.Dll
AddReg=MJPG.Reg,MJPG.RegNT
UpdateInis=MJPG.INIs

[Uninstall9x]
DelFiles=MJPG.Files.Inf,MJPG.Files.Dll
DelReg=MJPG.Reg,MJPG.Reg9x
UpdateInis=MJPG.INIs.Del

[UninstallNT]
DelFiles=MJPG.Files.Inf,MJPG.Files.Dll
DelReg=MJPG.Reg,MJPG.RegNT
UpdateInis=MJPG.INIs.Del

[SourceDisksNames]
1="IDS MJPEG CODEC - install disk","",0

[SourceDisksFiles]
IdsMjpeg.inf=1
IdsMjpeg.dll=1
ijl11.dll=1

[DestinationDirs]
MJPG.Files.Inf = 17
MJPG.Files.Dll = 11

[MJPG.Files.Inf]
IdsMjpeg.inf

[MJPG.Files.Dll]
IdsMjpeg.dll
ijl11.dll

[MJPG.Reg]
HKLM,%ICMpath%
HKLM,%ICMpath%,Description,,%description%
HKLM,%ICMpath%,Driver,,"IdsMjpeg.dll"
HKLM,%ICMpath%,FriendlyName,,%description%
HKLM,%uninstalpath%
HKLM,%uninstalpath%,DisplayName,,%UninstallDispName%

[MJPG.Reg9x]
HKLM,%uninstalpath%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection Uninstall9x 132 %17%\IdsMjpeg.inf"

[MJPG.RegNT]
HKLM,SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc,IdsMjpeg.dll,,%description%
HKLM,%uninstalpath%,UninstallString,,"%11%\rundll32.exe setupapi,InstallHinfSection UninstallNT 132 %17%\IdsMjpeg.inf"

[MJPG.INIs]
system.ini,drivers32,,"VIDC.MJPG=IdsMjpeg.dll"

[MJPG.INIs.Del]
system.ini,drivers32,"VIDC.MJPG=IdsMjpeg.dll"

[Strings]
uninstalpath="Software\Microsoft\Windows\CurrentVersion\Uninstall\IdsMjpegCodec"
description="IDS MJPEG AVI video codec [MJPG]"
UninstallDispName="IDS MJPEG AVI video codec [MJPG] (Remove only)"
ICMpath=SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.MJPG

