; ; $History: $ ; ; Win98 or WinME install for APA USB sample device. ; ; Install for USB device VID = 0x0BD7 PID = 0xA021 ; ;This .inf will create the following registry entries on Win98, SE, ME ; ;HKLM\system\Enum\USB\Vid_0BD7&Pid_A021 ; ;This is the service entry with subkeys named 0000 and 0001 created ;HKLM\system\CurrentControlSet\Services\Class\APAUSB ; ;Note: for the next key subkeys named 0000,0001, etc. are created. ;HKLM\system\CurrentControlSet\Services\Class\{8B021AA5-A319-45c1-932C-90AA82E6478D} ; ;Depending on whether you are running ME, SE, or 98 on of the ;following is created: ;HKLM\system\CurrentControlSet\Control\Class\{8B021AA5-A319-45c1-932C-90AA82E6478D} ; or ;HKLM\system\CurrentControlSet\Control\DeviceClasses\{8B021AA5-A319-45c1-932C-90AA82E6478D} ; ;In windows\inf\other file called ????.inf is also created. ; ;In Windows\system32\drivers the following file is created: ; apausb.sys ; ; To completely remove this .inf file from the system you must ; delete above mentioned files, registry entries, and the ; windows\inf\*.bin files. Rebooting is not "normally" required. ; [Version] ; copyright 2003 Andrew Pargeter & Associates ;this install will only work on Win98 WinME! Signature="$Windows 95$" 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.SysFiles] apausb.sys [SourceDisksFiles] apausb.sys=1 [SourceDisksNames] 1=%InstallDisk%,,, [ControlFlags] ExcludeFromSelect=* [ClassInstall] AddReg=ClassInstall.AddReg [ClassInstall.AddReg] HKR,,,0,%ClassDesc% HKR,,Icon,0,-20 [APA] ;the DeviceDesc parameter is the name of the service in ;HKLM\system\CurrentControlSet\Services\Class ;the service is named APAUSB in this case %USB\VID_0BD7&PID_A021.DeviceDesc%=APAUSB, USB\VID_0BD7&PID_A021 [APAUSB] AddReg=APAUSB.AddReg CopyFiles=APAUSB.SysFiles ;Win98/ME only [APAUSB.AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,apausb.sys HKR,,Icon,0,-20 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="USBDriverInstallationDisk" ClassDesc="APAUSB Devices" APAClassGUID="{8B021AA5-A319-45c1-932C-90AA82E6478D}" AuthKey="bc085d6e4d0f29c7"