Could someone please offer suggestions. I keep getting “The
system cannot find the file specified” error when I try to
add this driver.
It copies the driver just fine and it’s the only file being
copied yet I still get this error.
[Version]
;Class=HIDClass
;ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Signature=“$CHICAGO$”
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%VENDOR%
DriverVer=08/06/1999,5.00.2000.1
;CatalogFile=fake.cat
LayoutFile=layout.inf
[SourceDisksNames]
99=%DiskId%,
;
[SourceDisksFiles]
joystick.sys = 99
[DestinationDirs]
CopyFilesSYS = 12
DefaultDestDir = 12
CopyFilesDLL = 11
;[ControlFlags]
;ExcludeFromSelect = GamePort\VID_045E&PID_01FF
[Manufacturer]
%VENDOR%=Vendor
[Vendor]
%Joystick% = Joystick.Inst, GamePort\VID_045E&PID_01FF
[Joystick.Inst]
CopyFiles = CopyFilesSYS, CopyFilesDLL
AddReg = Joystick.AddReg, AddReg.Vendor_Driver
[Joystick.Inst.NT]
CopyFiles = CopyFilesSYS, CopyFilesDLL
AddReg = Joystick.AddReg
[Joystick.AddReg]
HKLM,%KEY_OEM%\VID_045E&PID_01FF,OEMName,%Joystick%
HKLM,%KEY_OEM%\VID_045E&PID_01FF,OEMData,1, 0, 0, 0, 0, 2, 0, 0, 0
HKLM,%KEY_OEM%\VID_045E&PID_01FF,OEMHardwareID,“GamePort\VID_045E&PID_01FF”
[Joystick.Inst.NT.Services]
AddService = VendorJoystickEnabler,0x00000002,Vendor_Service_Inst
[CopyFilesSYS]
joystick.sys
;HidClass.sys
;HidParse.sys
[CopyFilesDLL]
;Hid.dll
[AddReg.Vendor_Driver]
HKR,DevLoader,*ntkern
HKR,NTMPDriver,“joystick.sys”
[Vendor_Service_Inst]
DisplayName = %SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 0 ; SERVICE_ERROR_IGNORE
ServiceBinary = C:\WINNT\system32\drivers\joystick.sys
LoadOrderGroup = Extended Base
[Strings]
; non localized strings
KEY_OEM=“SYSTEM\CurrentControlSet\Control\MediaProperties\PrivateProperties\Joystick\OEM”
;localized strings
VENDOR = “Acme”
SvcDesc = “Acme Game Device Driver”
Joystick = “Acme Joystick”
DiskId = “Acme Joystick Installation and Drivers Disk”