Could anyone tell me how to write inf file to install/uninstall
them?
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
ma...@storagecraft.com
http://www.storagecraft.com
"bluestar" <bluest...@gmail.com> wrote in message
news:06b1c838-8abd-4102...@i36g2000prf.googlegroups.com...
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"bluestar" <bluest...@gmail.com> wrote in message
news:06b1c838-8abd-4102...@i36g2000prf.googlegroups.com...
I hope to add my usb filters for HDD and ODD(separate 2 inf
files) on
XP 32/64 and Vista 32/64 platforms. Both drivers are lower
filter.
I try to modify sample inf and show below for HDD.
But it failed to work.
Could you tell me how to modify it to work well?
By the way, if i want to remove this filter driver, how
to modify inf file?
Thanks for your kindly help.
//----------------------------------------------------------------------------------------------------------------------------//
;
; USBFilter.INF (for Windows XP and Vista)
;
; Copyright (c) 2007, Prolific Technology Inc.
[version]
signature="$CHICAGO$"
Class=USB
;DiskClassGuid
ClassGuid={53f56307L-B6BF-11D0-94F2-00A0C91EFB8B}
Provider=%PRO%
DriverVer=05/23/2008,1.3.0.7
CatalogFile=usbfilter.cat
; ================= Device Install section =====================
[ControlFlags]
ExcludeFromSelect=*
[Manufacturer]
%PRO%=PRO,NT,NTAMD64
[SourceDisksFiles]
usbfilter.sys=1
usbfilter64.sys=1
[SourceDisksNames]
1=%DISK_NAME%,
[DestinationDirs]
DefaultDestDir = 12
[PRO.NT]
%DeviceDesc_3303% = USBFast, USB\VID_067B&PID_3303
[PRO.NTAMD64]
%DeviceDesc_3303% = USBFast, USB\VID_067B&PID_3303
[USBFast.NT]
CopyFiles=USBFast.NT.Copy
AddReg=USBFast.NT.AddReg
[USBFast.NT.Services]
AddService = usbfilter, 0x00000002, Serial_Service_Inst.NT
[USBFast.NT.Copy]
usbfilter.sys
[USBFast.NT.AddReg]
HKLM, System\CurrentControlSet\Control\Class\{53f56307L-
B6BF-11D0-94F2-00A0C91EFB8B}, LowerFilters, 0x00010000, usbfilter
;[USBFast.HW.AddReg]
;HKR,,"LowerFilters",0x00010000,"usbfilter"
[USBFast.NTAMD64]
CopyFiles=USBFast.NTAMD64.Copy
AddReg=USBFast.NTAMD64.AddReg
;[USBFast.NTAMD64.HW]
;AddReg=USBFast.HW.AddReg
[USBFast.NTAMD64.Services]
AddService = usbfilter, 0x00000002, Serial_Service_Inst.NTAMD64
[USBFast.NTAMD64.Copy]
usbfilter64.sys
[USBFast.NTAMD64.AddReg]
HKLM, System\CurrentControlSet\Control\Class\{53f56307L-
B6BF-11D0-94F2-00A0C91EFB8B}, LowerFilters, 0x00010000, usbfilter64
[Serial_Service_Inst.NT]
DisplayName = %Serial.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbfilter.sys
LoadOrderGroup = "PnP Filter"
[Serial_Service_Inst.NTAMD64]
DisplayName = %Serial.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbfilter64.sys
LoadOrderGroup = "PnP Filter"
[Strings]
PRO = "Prolific"
DeviceDesc_3303 = "USB Filter for device 3303"
Serial.SVCDESC = "USB filter driver"
should be
[USBFast.NT.Services]
AddService = usbstor,2 ,
AddService = usbfilter, , Serial_Service_Inst.NT
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"bluestar" <bluest...@gmail.com> wrote in message
news:b9018337-b848-42e2...@q27g2000prf.googlegroups.com...
On 5月22日, 上午5時19分, "Doron Holan [MSFT]" <dor...@online.microsoft.com>
wrote: