; 
; Install Hauppauge Digital Cable Receiver (Model 143xxx)
;
; Copyright (c) 2011-2013, Hauppauge Computer Works, Inc.
;*******************************************************

[Version]
Signature   = "$Windows NT$"
Class       =system
Class       =PNPX
ClassGuid={46162fd1-d6ed-4a13-8cae-273b9498c251}
Provider    = %HCW%
DriverVer=03/05/2013,1.0.31064
CatalogFile=HCWe3PNPx64.cat

[DestinationDirs]
DefaultDestDir = 12

[ClassInstall32]
Addreg=PNPXDevices_ClassReg

[PNPXDevices_ClassReg]
HKR,,,,%ClassName%
HKR,,SilentInstall,,1
HKR,,Icon,,"-52"

[Manufacturer]
%HCW% = HCW,NTamd64...1

[HCW]

[HCW.NTamd64...1]
%PnpxDevice.DeviceDesc1%=PnpxDevice_Install, UMB\VEN_0120&DEV_E300&SUBSYS_0000

[PnpxDevice_Install]

[PnpxDevice_Install.HW]
AddReg=PnpxDevice_Install.HW.AddReg

[PnpxDevice_Install.HW.AddReg]
HKR,,InterfaceGUIDs,0x10000, "{6639fe91-e2e7-4bed-a066-8ddfcf64049d}"

[PnpxDevice_Install.Services]         ; Setup the UMPass service for our device
AddService = UMPass, %SPSVCINST_ASSOCSERVICE%, UMPassService_Install

[UMPassService_Install]
DisplayName    = %umpass.SVCDESC%     ; Friendly Name of the Service
ServiceType    = 1                    ; SERVICE_KERNEL_DRIVER
StartType      = 3                    ; SERVICE_DEMAND_START 
ErrorControl   = 1                    ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\umpass.sys
LoadOrderGroup = Extended Base

[Strings]
HCW                    = "Hauppauge"
ClassName              = "PNP X Devices"
SPSVCINST_ASSOCSERVICE = 0x00000002
umpass.SVCDESC         = "Microsoft UMPass Driver"
PnpxDevice.DeviceDesc1 = "Hauppauge OpenCable Receiver (PNP-X)"

