[Version]
Signature = "$Chicago$"
AdvancedINF = 2.0

[ResetBackgroundBug] ; This fixes a bug in Windows that deletes the background image
win.ini,Desktop,Wallpaper,HKLM,%WallpaperKey%,2
win.ini,Desktop,TileWallpaper,HKLM,%WallpaperKey%,2

[VXIS2.Updateini]
system.ini, drivers32,,"vidc.VXIS=vxiscodec.dll"

[VXIS2.DelIni]
system.ini, drivers32,"vidc.VXIS=vxiscodec.dll"

[InstallReg]
HKLM,%UninstallKey%\%ShortDesc%,"DisplayName",,"VXIS nAVI DShow-Codec (Remove only)"
HKLM,%UninstallKey%\%ShortDesc%,"UninstallString",,"%10%\rundll32.exe advpack.dll,LaunchINFSection %17%\%InfDesc%,DefaultUninstall"
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.VXIS,Description,,"VXIS VX7000 DirectShow Codec"
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.VXIS,Driver,,vxiscodec.dll
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.VXIS,FriendlyName,,"VXIS VX7000 DirectShow Codec"
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup,"Registering nAVI VXIS VX7000 Filter",,"%11%\regsvr32.exe /s %11%\vxisfilt.ax"

; CameraControl Property Page
HKCR,CLSID\{71F96465-78F3-11d0-A18C-00A0C9118956},,,%PropPage_CameraControl%
HKCR,CLSID\{71F96465-78F3-11d0-A18C-00A0C9118956}\InprocServer32,,,kswdmcap.ax
HKCR,CLSID\{71F96465-78F3-11d0-A18C-00A0C9118956}\InprocServer32,ThreadingModel,,Both
; Associate the property set with the above property page
HKLM,System\CurrentControlSet\Control\MediaSets\{C6E13370-30AC-11d0-A18C-00A0C9118956}\PropertyPages\{71F96465-78F3-11d0-A18C-00A0C9118956},,,%PropPage_CameraControl%

; VideoDecoder Property Page
HKCR,CLSID\{71F96466-78F3-11d0-A18C-00A0C9118956},,,%PropPage_VideoDecoder%
HKCR,CLSID\{71F96466-78F3-11d0-A18C-00A0C9118956}\InprocServer32,,,kswdmcap.ax
HKCR,CLSID\{71F96466-78F3-11d0-A18C-00A0C9118956}\InprocServer32,ThreadingModel,,Both
; Associate the property set with the above property page
HKLM,System\CurrentControlSet\Control\MediaSets\{C6E13350-30AC-11d0-A18C-00A0C9118956}\PropertyPages\{71F96466-78F3-11d0-A18C-00A0C9118956},,,%PropPage_VideoDecoder%


; VideoStreamConfig Property Page
HKCR,CLSID\{71F96467-78F3-11d0-A18C-00A0C9118956},,,%PropPage_VideoStreamConfig%
HKCR,CLSID\{71F96467-78F3-11d0-A18C-00A0C9118956}\InprocServer32,,,kswdmcap.ax
HKCR,CLSID\{71F96467-78F3-11d0-A18C-00A0C9118956}\InprocServer32,ThreadingModel,,Both
; Associate the property set with the above property page
HKLM,System\CurrentControlSet\Control\MediaSets\{C6E13340-30AC-11d0-A18C-00A0C9118956}\PropertyPages\{71F96467-78F3-11d0-A18C-00A0C9118956},,,%PropPage_VideoStreamConfig%
HKLM,System\CurrentControlSet\Control\MediaCategories\%GUID.CapturePin%\PropertyPages\{71F96467-78F3-11d0-A18C-00A0C9118956},,,
HKLM,System\CurrentControlSet\Control\MediaCategories\%GUID.Preview%\PropertyPages\{71F96467-78F3-11d0-A18C-00A0C9118956},,,

;Tuner
HKCR,CLSID\{266EEE40-6C63-11cf-8A03-00AA006ECB65},,,%Filter_TVTuner%
HKCR,CLSID\{266EEE40-6C63-11cf-8A03-00AA006ECB65}\InprocServer32,,,kstvtune.ax
HKCR,CLSID\{266EEE40-6C63-11cf-8A03-00AA006ECB65}\InprocServer32,ThreadingModel,,Both
HKCR,CLSID\{266EEE41-6C63-11cf-8A03-00AA006ECB65},,,%PropPage_TVTuner%
HKCR,CLSID\{266EEE41-6C63-11cf-8A03-00AA006ECB65}\InprocServer32,,,kstvtune.ax
HKCR,CLSID\{266EEE41-6C63-11cf-8A03-00AA006ECB65}\InprocServer32,ThreadingModel,,Both
;Corssbar
HKCR,CLSID\{71F96460-78F3-11d0-A18C-00A0C9118956},,,%Filter_XBar%
HKCR,CLSID\{71F96460-78F3-11d0-A18C-00A0C9118956}\InprocServer32,,,ksxbar.ax
HKCR,CLSID\{71F96460-78F3-11d0-A18C-00A0C9118956}\InprocServer32,ThreadingModel,,Both
HKCR,CLSID\{71F96461-78F3-11d0-A18C-00A0C9118956},,,%PropPage_XBar%
HKCR,CLSID\{71F96461-78F3-11d0-A18C-00A0C9118956}\InprocServer32,,,ksxbar.ax
HKCR,CLSID\{71F96461-78F3-11d0-A18C-00A0C9118956}\InprocServer32,ThreadingModel,,Both
;TVAudio
HKCR,CLSID\{71F96462-78F3-11d0-A18C-00A0C9118956},,,%Filter_TVAudio%
HKCR,CLSID\{71F96462-78F3-11d0-A18C-00A0C9118956}\InprocServer32,,,ksxbar.ax
HKCR,CLSID\{71F96462-78F3-11d0-A18C-00A0C9118956}\InprocServer32,ThreadingModel,,Both
HKCR,CLSID\{71F96463-78F3-11d0-A18C-00A0C9118956},,,%PropPage_TVAudio%
HKCR,CLSID\{71F96463-78F3-11d0-A18C-00A0C9118956}\InprocServer32,,,ksxbar.ax
HKCR,CLSID\{71F96463-78F3-11d0-A18C-00A0C9118956}\InprocServer32,ThreadingModel,,Both


[UninstallReg]
HKLM,%UninstallKey%\%ShortDesc%
HKLM,SYSTEM\CurrentControlSet\Control\MediaResources\icm\vidc.VXIS
HKCR,CLSID\{65E8773D-8F56-11D0-A3B9-00A0C9223196}
HKCR,CLSID\{860BB310-5D01-11D0-BD3B-00A0C911CE86}
HKCR,CLSID\{F505F430-E809-45AE-9085-104F3C65A5A5}
HKCR,CLSID\{53495856-0000-0010-8000-00AA00389B71}
HKCR,CLSID\{083863F1-70DE-11d0-BD40-00A0C911CE86}\Instance\{53495856-0000-0010-8000-00AA00389B71}
HKCR,CLSID\{33D9A760-90C8-11d0-BD43-00A0C911CE86}\Instance\VXIS Decoder Filter
HKLM,Software\CLASSES\CLSID\{53495856-0000-0010-8000-00AA00389B71}
HKLM,Software\CLASSES\CLSID\{083863F1-70DE-11d0-BD40-00A0C911CE86}\Instance\{53495856-0000-0010-8000-00AA00389B71}
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\setup

[UninstallPrompt]
Prompt = "Do you really want to remove %AppDesc%?"
Title  = "%AppDesc% uninstaller"
Button = YESNO

[Strings]
AppDesc = "setup"
ShortDesc = "setup"
InfDesc = "setup.inf"
ProgFiles = "progra~1"
ProgGroup = "setup"
UninstallKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
WallpaperKey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup"
PropPage_VideoProcAmp = "VideoProcAmp Property Page"
PropPage_CameraControl = "CameraControl Property Page"
PropPage_VideoDecoder = "VideoDecoder Property Page"
PropPage_VideoStreamConfig = "VideoStreamConfig Property Page"

PropPage_XBar = "Crossbar Property Page"
PropPage_TVAudio = "TV Audio Property Page"
PropPage_TVTuner = "TV Tuner Property Page"
Filter_XBar = "WDM Crossbar Filter"
Filter_TVAudio = "WDM TV Audio Filter"
Filter_TVTuner = "WDM TV Tuner Filter"

[SourceDisksNames]
1 = %AppDesc%, setup.cab, 0

[SourceDisksFiles]
vxiscodec.dll = 1
vxisfilt.ax = 1
kswdmcap.ax =1 
kstvtune.ax =1
ksxbar.ax =1


[InfFolder]
setup.inf

[SystemFolder]
vxiscodec.dll
vxisfilt.ax
kswdmcap.ax 
kstvtune.ax
ksxbar.ax

[DestinationDirs]
InfFolder = 17
SystemFolder = 11

[DefaultInstall]
Copyfiles = InfFolder, SystemFolder
AddReg = InstallReg
Updateinis = VXIS2.Updateini
Ini2Reg = ResetBackgroundBug ; This fixes a bug in Windows that deletes the background image

[DefaultUnInstall]
BeginPrompt = UninstallPrompt
Delfiles = InfFolder, SystemFolder
DelReg = UninstallReg
DelReg = VXIS2.DelIni

