New
#1
need help for making this driver work on win7
Hello,
i've some specific hardware i have to make works on windows 7 as we have to reinstall it completely on more than 50 devices.
The driver is for a builtin chip for wich i have no info since the vendor does not exists anymore, but i have to make it works or the device reboot every 5 mins if it is not installed (watchdog style).
the driver does not load on windows 7 but i think it's an .inf issue, message from hdwwiz is that the "data is invalid" but without more information. The device is not pnp since i have to add it manually even on Xp.
here's the inf, i need clues to know where to look, i read some about chkinf, wdbg but i'm a bit lost
[Version]
Signature=$CHICAGO$
Class = System
ClassGuid = {4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%MFGNAME%
DriverVer=21/06/2005
[Manufacturer]
%MFGNAME%=DeviceList
[DestinationDirs]
DefaultDestDir=10,System32\Drivers
SystemFiles=10,System32
SystemFiles9x=10,System32
[SourceDisksFiles]
xxxx.sys
[SourceDisksNames]
1=%INSTDISK%,,,
[DeviceList]
%DESCRIPTION%=DriverInstall,
;------------------------------------------------------------------------------
; Windows 2000 Sections
;------------------------------------------------------------------------------
; TODO Add a LogConfig command to the following install section if this is a legacy device
[DriverInstall.NT]
CopyFiles=DriverCopyFiles
[DriverCopyFiles]
xxxx.sys,,,2
[DriverInstall.NT.Services]
AddService=xxxx,2,DriverService,EventLogging
[EventLogging]
AddReg=EventLogAddReg
[EventLogAddReg]
HKR,,EventMessageFile,0x00020000,"%11%\IoLogMsg.dll;%12%\xxxx.sys"
HKR,,TypesSupported,0x00010001,7
[DriverService]
ServiceType=1
StartType=1
ErrorControl=1
ServiceBinary=%12%\xxxx.sys
[DriverInstall.nt.hw]
AddReg=DriverHwAddReg
[DriverHwAddReg]
HKR,,FriendlyName,,%FRIENDLYNAME%
;------------------------------------------------------------------------------
; Windows 98 Sections
;------------------------------------------------------------------------------
[DriverInstall]
AddReg=DriverAddReg
CopyFiles=DriverCopyFiles
[DriverAddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,dzboard.sys
[DriverInstall.HW]
AddReg=DriverHwAddReg
;------------------------------------------------------------------------------
; String Definitions
;------------------------------------------------------------------------------
[Strings]
MFGNAME="xxxx"
INSTDISK="xxxx"
DESCRIPTION="xxxx Driver"
FRIENDLYNAME="xxxx Driver"