;==============================================================================
; TerraTec T3
; Driver Install Script for Windows XP/Vista (32 bit)
; Copyright (c) 2008-09, TerraTec Electronic GmbH
;------------------------------------------------------------------------------        
; History:
;------------------------------------------------------------------------------
; 31-Oct-08 FMB 1st driver version 2.03.03.12
; 29-Jan-09 MS new driver 2.03.03.27
; 18-Feb-09 FMB cleanup
;------------------------------------------------------------------------------

[Version]
Signature   = "$CHICAGO$"
Class       = Media
ClassGUID   = {4d36e96c-e325-11ce-bfc1-08002be10318} 
Provider    = %Provider% 
CatalogFile = TerraTec_T3.cat
DriverVer   = 02/18/2009,2.03.03.27

[SourceDisksNames]
1 = %DiskName%,,

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

[DestinationDirs]
Cinergy.CopySys   = 12                  ; driver files

Cinergy.CopyDll32 = 11                  ; 32-bit DLLs

[ControlFlags]
ExcludeFromSelect    = *


[Manufacturer]
%Provider% = TerraTec, NTx86

[TerraTec.NTx86]
; Cinergy T3 (C version + 2260 single)
%Cinergy.DeviceDesc%  = Cinergy,USB\VID_0CCD&PID_10A0          

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

[Cinergy.NTx86.HW]
AddReg = Cinergy.HW.AddReg


[Cinergy.CopySys]
dvb7700all.sys

[Cinergy.CopyDll32]
avfcp.ax

[Cinergy.RegisterDlls]
11,,avfcp.ax,1
 

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

[Cinergy.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,dvb7700all.sys
;HKR,,OkToHibernate                 ,3,1
HKR,,PageOutWhenUnopened            ,3,1
;HKR,,DontSuspendIfStreamsAreRunning,3,1

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

;===============================================================
;                I n t e r f a c e s
;===============================================================

[Cinergy.HW.AddReg]
HKR,,"ProductId"     ,0x00010001,0x00000000
HKR,,"MaskDevicePath",0x00010001,0x00000000

;---------------------------------------------------------------
; WDM streaming interfaces (audio)
;---------------------------------------------------------------
HKR,,"AnlgAudioCaptureFilterName",0,%DShow.AudioCapture%      

;---------------------------------------------------------------
; WDM streaming interfaces (analog TV/capture)
;---------------------------------------------------------------
HKR,,"AnlgCaptureFilterName"  ,0,%DShow.AnalogCapture%

HKR,,"AnlgTunerFilterName"    ,0,%DShow.AnalogTvTuner%

HKR,,"AnlgXBarFilterName"     ,0,%DShow.AnalogCrossbar%

HKR,,"AnlgTVAudioFilterName"  ,0,%DShow.AnalogTvAudio%

;---------------------------------------------------------------
; BDA interfaces
;---------------------------------------------------------------
HKR,,"BdaDigCaptureFilterName",0,%DShow.DigitalCapture%

HKR,,"BdaDigTunerFilterName"  ,0,%DShow.DigitalTuner%   

HKR,,"ControlFilterName"      ,0,%DShow.Control%        

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

[Cinergy.NTx86.Services]
AddService = mod7700, 0x00000002, Cinergy.ServiceInstall


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

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

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

[Strings]
;---------------------------------------------------------------
; Non-Localizable (Windows)
;---------------------------------------------------------------
; Registry types
REG_SZ                           = 0x00000000
REG_MULTI_SZ                     = 0x00010000
REG_EXPAND_SZ                    = 0x00020000
REG_DWORD                        = 0x00010001

; 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

; DirectShow filter categories                                                DirectShow category name
KSCATEGORY_AUDIO                 = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER                = "{65E8773E-8F56-11D0-A3B9-00A0C9223196}" ; Audio Renderers
KSCATEGORY_TOPOLOGY              = "{DDA54A40-1E4C-11D1-A050-405705C10000}" ; Audio Mixer Devices

KSCATEGORY_VIDEO                 = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}" ;

KSCATEGORY_CAPTURE               = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}" ; WDM Streaming capture Devices (audio & video)
KSCATEGORY_TVTUNER               = "{A799A800-A46D-11D0-A18C-00A02401DCD4}" ; WDM Streaming TV Tuner Devices 
KSCATEGORY_CROSSBAR              = "{A799A801-A46D-11D0-A18C-00A02401DCD4}" ; WDM Streaming Crossbar Devices
KSCATEGORY_TVAUDIO               = "{A799A802-A46D-11D0-A18C-00A02401DCD4}" ; WDM Streaming TV Audio Devices

KSCATEGORY_ENCODER               = "{19689BF6-C384-48fd-AD51-90E58C79F70B}" ; WDM Streaming Encoder Devices
KSCATEGORY_MULTIPLEXER           = "{7A5DE1D3-01A1-452c-B481-4FA2B96271E8}" ; WDM Streaming Multiplexer Devices

KSCATEGORY_BDA_RECEIVER          = "{FD0A5AF4-B41D-11D2-9C95-00C04F7971E0}" ; BDA Receiver Component
KSCATEGORY_BDA_TUNER             = "{71985F48-1CA1-11D3-9CC8-00C04F7971E0}" ; BDA Source Filters


; Proxy CLSIDs (KsProxy.ax)
PROXY_CAPTURE                    = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
PROXY_TVTUNER                    = "{266EEE40-6C63-11cf-8A03-00AA006ECB65}"
PROXY_CROSSBAR                   = "{71F96460-78F3-11D0-A18C-00A0C9118956}"
PROXY_TVAUDIO                    = "{71F96462-78F3-11D0-A18C-00A0C9118956}"



;---------------------------------------------------------------
; Non-localizable (this driver)
;---------------------------------------------------------------


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

Provider                 = "TerraTec "
DiskName                 = "TerraTec Driver CD"

; Service strings
Service.FriendlyName     = "TerraTec T3 service"

;Device Manager
Cinergy.DeviceDesc       = "TerraTec T3"

; DirectShow filter names
DShow.AudioCapture       = "TerraTec T3 Audio"               ; KSCATEGORY_AUDIO 

DShow.AnalogCapture      = "TerraTec T3 Analog Capture"      ; KSCATEGORY_CAPTURE
DShow.AnalogTvTuner      = "TerraTec T3 Analog TV Tuner"     ; KSCATEGORY_TVTUNER    
DShow.AnalogCrossbar     = "TerraTec T3 Analog Crossbar"     ; KSCATEGORY_CROSSBAR   
DShow.AnalogTvAudio      = "TerraTec T3 Analog TV Audio"     ; KSCATEGORY_TVAUDIO    

DShow.DigitalCapture     = "TerraTec T3 Digital Capture"     ; KSCATEGORY_BDA_RECEIVER(BDA Receiver Component)
DShow.DigitalTuner       = "TerraTec T3 Digital Tuner"       ; KSCATEGORY_BDA_TUNER   (BDA Source Filters)

DShow.Control            = "TerraTec T3 Control"           


