;==============================================================================
; Elgato EyeTV Hybrid (2014)
; Driver Install Script (64 bit)
; Copyright (c) 2014, Elgato Systems GmbH
;------------------------------------------------------------------------------        
; History:
;------------------------------------------------------------------------------
; 08-Mai-14 MS 1st driver
;------------------------------------------------------------------------------
; Notes:
;------------------------------------------------------------------------------
;==============================================================================

[Version]
Signature   = "$CHICAGO$"
Class       = Media
ClassGUID   = {4d36e96c-e325-11ce-bfc1-08002be10318} 
Provider    = %Provider% 
DriverVer	= 07/14/2014,2.3.3.64

CatalogFile = EyeTV_Hybrid_(2014).cat  


[SourceDisksNames]
1 = %DiskName%,,

[SourceDisksFiles]
dvb7700all.sys = 1
avfcp.ax=1
avfcp32.ax=1


[DestinationDirs]
EyeTV.CopySys   = 12                  ; driver files
EyeTV.CopyDll32 = 10,SysWow64          ; 32-bit DLLs
EyeTV.CopyDll64 = 11                   ; 64-bit DLLs

[ControlFlags]
ExcludeFromSelect    = *
ExcludeFromSelect.NT = *


[Manufacturer]
%Provider% = Elgato, NTamd64

[Elgato.NTamd64]
%EyeTV.DeviceDesc% = EyeTV,USB\VID_0FD9&PID_005B       

[EyeTV.NTamd64]
Include       = ks.inf, kscaptur.inf, bda.inf, wdmaudio.inf
Needs         = KS.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
AddReg        = EyeTV.AddReg
CopyFiles     = EyeTV.CopySys, EyeTV.CopyDll32, EyeTV.CopyDll64
RegisterDlls  = EyeTV.RegisterDlls

[EyeTV.NTamd64.HW]
AddReg = EyeTV_DEVICE_AddReg

[EyeTV.CopySys]
dvb7700all.sys

[EyeTV.CopyDll32]
avfcp32.ax

[EyeTV.CopyDll64]
avfcp.ax

;===============================================================
;                RegisterDlls
;===============================================================
[EyeTV.RegisterDlls]
11,,avfcp.ax,1
10,SysWOW64,avfcp32.ax,1

;===============================================================
;                R e g i s t r y
;===============================================================

[EyeTV.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,dvb7700all.sys

HKR,,PageOutWhenUnopened,3,01
HKLM,System\CurrentControlSet\Control\MediaCategories\{FF7451BA-42F1-4a9e-9908-E12406A48D6D}
HKLM,System\CurrentControlSet\Control\MediaCategories\{FF7451BA-42F1-4a9e-9908-E12406A48D6D},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{FF7451BA-42F1-4a9e-9908-E12406A48D6D},Name,,"Tuner Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{7969986E-A637-4e4e-8AC8-0BD9A02DFC1F}
HKLM,System\CurrentControlSet\Control\MediaCategories\{7969986E-A637-4e4e-8AC8-0BD9A02DFC1F},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{7969986E-A637-4e4e-8AC8-0BD9A02DFC1F},Name,,"Demodulator Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{54B37042-5CED-48dd-BF4B-16FF7D6E8C81}
HKLM,System\CurrentControlSet\Control\MediaCategories\{54B37042-5CED-48dd-BF4B-16FF7D6E8C81},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{54B37042-5CED-48dd-BF4B-16FF7D6E8C81},Name,,"Antenna In Pin"
;avfcp.ax
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{868de3d7-1ed1-4698-af07-0a4b57662572},,,"Notify Copy Protect Filter"
HKLM,System\CurrentControlSet\Control\MediaInterfaces\{868de3d7-1ed1-4698-af07-0a4b57662572},IID,1,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

[EyeTV_DEVICE_AddReg]
HKR,,"ProductId",0x00010001,0x00000000
HKR,,"MaskDevicePath",0x00010001,0x00000001
HKR,,"BdaDigCaptureFilterName",0,"EyeTV Hybrid DVB-T Capture"
HKR,,"BdaDigTunerFilterName",0,"EyeTV Hybrid DVB-T Tuner"
HKR,,"BdaDigDVBCCaptureFilterName",0,"EyeTV Hybrid DVB-C Capture"
HKR,,"BdaDigDVBCTunerFilterName",0,"EyeTV Hybrid DVB-C Tuner"
HKR,,"AnlgTunerFilterName",0,"EyeTV Hybrid Analog TV Tuner"
HKR,,"AnlgCaptureFilterName",0,"EyeTV Hybrid Analog Capture"
HKR,,"AnlgXBarFilterName",0,"EyeTV Hybrid Analog Xbar"
HKR,,"AnlgTVAudioFilterName",0,"EyeTV Hybrid Analog TV Audio"
HKR,,"DeviceCtrlFilterName",0,"EyeTV Hybrid Filter"

;===============================================================
;                S e r v i c e s
;===============================================================

[EyeTV.NTamd64.Services]
AddService = DVB7700ALL, 0x00000002, EyeTV.ServiceInstall

[EyeTV.ServiceInstall]
DisplayName   = %Service.FriendlyName%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  =%12%\dvb7700all.sys
LoadOrderGroup = Base
AddReg         = EyeTV.Service.AddReg

[EyeTV.Service.AddReg]
HKR,,DigitalJmp,0x00010001,0x00

;===============================================================
;                S t r i n g s
;===============================================================

[Strings]
;---------------------------------------------------------------
; Non-localizable (Windows)
;---------------------------------------------------------------
MediaCategories         = "SYSTEM\CurrentControlSet\Control\MediaCategories"
; Service: ServiceType values
SERVICE_KERNEL_DRIVER            = 0x00000001
SERVICE_FILE_SYSTEM_DRIVER       = 0x00000002
SERVICE_ADAPTER                  = 0x00000004
SERVICE_RECOGNIZER_DRIVER        = 0x00000008
SERVICE_WIN32_OWN_PROCESS        = 0x00000010
SERVICE_WIN32_SHARE_PROCESS      = 0x00000020
SERVICE_INTERACTIVE_PROCESS      = 0x00000100
SERVICE_INTERACTIVE_SHARE_PROCESS= 0x00000120

; Service: StartType values
SERVICE_BOOT_START               = 0x00000000
SERVICE_SYSTEM_START             = 0x00000001
SERVICE_AUTO_START               = 0x00000002
SERVICE_DEMAND_START             = 0x00000003
SERVICE_DISABLED                 = 0x00000004

; Service: ErrorControl values
SERVICE_ERROR_IGNORE             = 0x00000000
SERVICE_ERROR_NORMAL             = 0x00000001
SERVICE_ERROR_SEVERE             = 0x00000002
SERVICE_ERROR_CRITICAL           = 0x00000003

; Characteristic flags
NCF_VIRTUAL                 = 0x0001
NCF_WRAPPER                 = 0x0002
NCF_PHYSICAL                = 0x0004
NCF_HIDDEN                  = 0x0008
NCF_NO_SERVICE              = 0x0010
NCF_NOT_USER_REMOVABLE      = 0x0020
NCF_HAS_UI                  = 0x0080
NCF_MODEM                   = 0x0100

; Registry types
REG_MULTI_SZ                = 0x10000
REG_EXPAND_SZ               = 0x20000
REG_DWORD                   = 0x10001

; Win9x Compatible Types
REG_BINARY                  = 17
REG_SZ                      = 0

; Service install flags
SPSVCINST_TAGTOFRONT        = 0x1
SPSVCINST_ASSOCSERVICE      = 0x2

;---------------------------------------------------------------
; Localizable
;---------------------------------------------------------------

Provider                 = "Elgato "
DiskName                 = "EyeTV Driver CD"

; Service strings
Service.FriendlyName     = "EyeTV Hybrid 2014 Service"

EyeTV.DeviceDesc  	= "EyeTV Hybrid"








