; ; $History: $ ; ; Win2K or WinXP install for APA USB sample device. ; ; Install for USB device VID = 0x0BD7 PID = 0xA021 ; This VID/PID combination is licensed from Andrew Pargeter & Associates ; for the Amptek DP4 Digital Pulse Processor. ; ;This .inf will create the following registry entries on Win2000 ; ;HKLM\system\CurrentControlSet\Enum\USB\Vid_0BD7&Pid_A021 ; ;Note: for the next key subkeys named 0000,0001, etc. are created. ;HKLM\system\CurrentControlSet\Control\Class\{8B021AA5-A319-45c1-932C-90AA82E6478D} ; ;These are the service entries: ;HKLM\system\CurrentControlSet\Services\apausb ; ;In winnt\inf files called OEMnn.inf and OEMnn.pnf are also created. ;Search the OEM00.inf to OEMnn.inf files and delete the appropriate ;.inf file along with the matching .pnf file. ; ;In Winnt\system32\drivers the following files are created: ; apausb.sys ; apausbprop.dll ; ; To completely remove this .inf file from the system you must ; delete above mentioned files, registry entries and then REBOOT! ; [Version] ; copyright 2003 Andrew Pargeter & Associates ;this install will only on work Win2k and WinXP! Signature="$Windows NT$" Class=APAUSB ClassGUID="{8B021AA5-A319-45c1-932C-90AA82E6478D}" Provider=%APA% DriverVer=02/02/2006,2.0 [Manufacturer] %APA%=APA [DestinationDirs] ; Destination dirs have to be this way (not just 12) as per DDK info on USB DefaultDestDir=10,System32\Drivers APAUSB.SysFiles=10,System32\Drivers APAUSB.DllFiles=10,System32 [APAUSB.SysFiles] apausb.sys [APAUSB.DLLFiles] apausbprop.dll [SourceDisksFiles] apausb.sys=1 apausbprop.dll=1 [SourceDisksNames] 1=%InstallDisk%,,, [ControlFlags] ExcludeFromSelect=* ;Win2k+ only [ClassInstall32] DelFiles=APAUSB.SysFiles,APAUSB.DllFiles ;Copyfiles=APAUSB.SysFiles,APAUSB.DllFiles AddReg=ClassInstall32.AddReg ;Win2k+ only [ClassInstall32.AddReg] HKR,,,0,%ClassDesc% HKR,,Icon,,-20 HKR,,EnumPropPages32,,"apausbprop.dll,PropPageProvider" [APA] %USB\VID_0BD7&PID_A021.DeviceDesc%=APAUSB, USB\VID_0BD7&PID_A021 ;Win2k+ only [APAUSB.NT] CopyFiles=APAUSB.DllFiles,APAUSB.SysFiles ;Win2k+ only [APAUSB.NT.Services] ;the first parameter is the name of the service in ;HKLM\system\CurrentControlSet\Services ;the service is named APAUSB in this case AddService = APAUSB, 0x00000002, APAUSB.AddService ;Win2k+ only [APAUSB.AddService] DisplayName = %APAUSB.SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\System32\Drivers\apausb.sys AddReg=APAUSB.AddReg [APAUSB.AddReg] HKR,,ClassGUID,0,%APAClassGUID% HKR,%ConfigKey%,MaxTransfer,0x00010001,32768 HKR,%ConfigKey%,AuthKey,0,%AuthKey% HKR,%ConfigKey%,RenumOnHibernate,0x00010001,0 ;------------------------ Strings ----------------------------; [Strings] APA="Andrew Pargeter & Associates." ConfigKey="Vid_0bd7&Pid_A021" USB\VID_0BD7&PID_A021.DeviceDesc="Amptek DP4" APAUSB.SvcDesc="APA Generic USB Driver" InstallDisk="DP4 CD-ROM" ClassDesc="APAUSB Devices" APAClassGUID="{8B021AA5-A319-45c1-932C-90AA82E6478D}" AuthKey="bc085d6e4d0f29c7"