;=========================================================
; WinTVCIUSB BDA Vista 64 
; BDA Driver Install 
; Hauppauge Computer Works, Inc
;---------------------------------------------------------
; History:
;---------------------------------------------------------
; 28th of Feb 2008 Version of INF file: 3.6.0.7
;=========================================================
[Version]
signature   = "$Windows NT$"
Class       = Media
ClassGUID   = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider    = %Hauppauge%
DriverVer   = 02/28/2008,1.3607.26059
CatalogFile = hcw11bda_64.cat

[ControlFlags]
ExcludeFromSelect = *

[SourceDisksNames]
1 = %Hauppauge.SourceDisk%,"",,driver11\64Bit

[SourceDisksFiles]
hcw11bda.sys = 1
WinTVCIUSBPlugin.ax = 1

[DestinationDirs]
DefaultDestDir      = 12   ; $(windir)\System32\Drivers
WinTVCIUSBBDA.CopyPPage  = 10,syswow64                    ; $(windir)10,syswow64                    
WinTVCIUSBBDA.CopyFiles  = 12   ; $(windir)\System32\Drivers

[Manufacturer]
%Hauppauge% = HauppaugeModel,NTamd64

[HauppaugeModel.NTamd64]
%WinTVCIUSBBDA.DeviceDesc% = WinTVCIUSBBDA, SW\{10887089-3447-4be3-85F6-75CA7451C02E}

[Uninstall]
AddReg      = WinTVCIUSBBDA.RunOnce.AddUninstallReg 

[WinTVCIUSBBDA.RunOnce.AddUninstallReg]
HKLM,%RunOnce%,"WinTVCIUSBPlugin.ax",,"%11%\regsvr32.exe /u /s %10%\syswow64\WinTVCIUSBPlugin.ax"
HKLM,%RunOnce%,"WinTVCIUSBBDA.Reader.Capture",,"rundll32.exe streamci,StreamingDeviceRemove %WinTVCIUSBBDA.DeviceId%,%KSSTRING_Filter%,%KSCATEGORY_CAPTURE%

[DefaultInstall]
Include       = ks.inf, kscaptur.inf, ksfilter.inf
Needs         = KS.Registration, KSCAPTUR.Registration
CopyFiles   = WinTVCIUSBBDA.CopyFiles,WinTVCIUSBBDA.CopyPPage
AddReg      = WinTVCIUSBBDA.RunOnce.AddReg 

[WinTVCIUSBBDA.RunOnce.AddReg]
HKLM,%RunOnce%,"WinTVCIUSBBDA.Reader.Capture",,"rundll32.exe streamci,StreamingDeviceSetup %WinTVCIUSBBDA.DeviceId%,%KSSTRING_Filter%,%KSCATEGORY_CAPTURE%,""%01%\hcw11bda_64.inf"",WinTVCIUSBBDA.Reader.Install"
HKLM,%RunOnce%,"WinTVCIUSBPlugin.ax",,"%11%\regsvr32.exe /s %10%\syswow64\WinTVCIUSBPlugin.ax"

[WinTVCIUSBBDA.NT]
CopyFiles   = WinTVCIUSBBDA.CopyFiles

[WinTVCIUSBBDA.CopyFiles]
hcw11bda.sys

[WinTVCIUSBBDA.CopyPPage]
WinTVCIUSBPlugin.ax

[WinTVCIUSBBDA.Reader.Install]
AddReg = WinTVCIUSBBDA.Reader.AddReg

[WinTVCIUSBBDA.Reader.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WinTVCIUSBBDA.FriendlyName%

[WinTVCIUSBBDA.NT.Services]
AddService = WinTVCIUSBBDA, 0x00000002, WinTVCIUSBBDA.ServiceInstall

[WinTVCIUSBBDA.ServiceInstall]
DisplayName     = %WinTVCIUSBBDA.DeviceDesc%
ServiceType     = %SERVICE_KERNEL_DRIVER%
StartType       = %SERVICE_DEMAND_START%
ErrorControl    = %SERVICE_ERROR_NORMAL%
ServiceBinary   = %10%\system32\drivers\hcw11bda.sys
LoadOrderGroup  = ExtendedBase

[WinTVCIUSBBDA.NT.Interfaces]
AddInterface=%KSCATEGORY_CAPTURE%,%KSSTRING_Filter%,WinTVCIUSBBDA.interface

[WinTVCIUSBBDA.interface]
AddReg=WinTVCIUSBBDA.interface.AddReg

[WinTVCIUSBBDA.interface.AddReg]
HKR,,FriendlyName,,%WinTVCIUSBBDA.FriendlyName%
HKR,,CLSID,,%Proxy.CLSID%


[Strings]
; non-localizeable
RunOnce                 = "Software\Microsoft\Windows\CurrentVersion\RunOnce"
Proxy.CLSID             = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
WinTVCIUSBBDA.DeviceId     = "{10887089-3447-4be3-85F6-75CA7451C02E}"
KSCATEGORY_CAPTURE      = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSSTRING_Filter         = "{9B365890-165F-11D0-A195-0020AFD156E4}"

SERVICE_KERNEL_DRIVER   = 1
SERVICE_DEMAND_START    = 3
SERVICE_ERROR_NORMAL    = 1

;localizeable
Hauppauge			= "Hauppauge Computer Works, Inc."
WinTVCIUSBBDA.DeviceDesc     	= "Hauppauge WinTV-CI BDA (11xxx)"
WinTVCIUSBBDA.FriendlyName   	= "WinTVCIUSBBDA Source"
Hauppauge.SourceDisk		= "WinTVCIUSBBDA Driver Disk"
