Hi,
The problem with installing driver - KMDF (WDF) not installed.
What’s wrong?
;-------------------------------------------------------------------------
; Testd.INF – Test NDIS Protocol Driver
;-------------------------------------------------------------------------
[version]
Signature = “$Windows NT$”
Class = NetTrans
ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318}
Provider = %Mnft%
DriverVer = 06/11/2008,1.0.0.1
CatalogFile = Testd.cat
[Manufacturer]
%Mnft%=Test,NTx86
; For XP
[Test.NTx86]
%Testd_Desc%=Install_xp32, Testd_hwid
;-------------------------------------------------------------------------
; Installation Section
;-------------------------------------------------------------------------
[Install_xp32]
AddReg=Inst_Ndi
CopyFiles= CopyFiles_xp32
Characteristics=0x0
[CopyFiles_xp32]
Testd32.sys
;-------------------------------------------------------------------------
; Ndi installation support
;-------------------------------------------------------------------------
[Inst_Ndi]
HKR, Ndi, Service, “Testd”
HKR, Ndi, HelpText, %Testd_HelpText%
HKR, Ndi\Interfaces, UpperRange, “noupper”
;HKR, Ndi\Interfaces, LowerRange, “ndis5, ndis5_prot”
HKR, Ndi\Interfaces, LowerRange, “ndis5”
;-------------------------------------------------------------------------
; Service installation support
;-------------------------------------------------------------------------
[Install_xp32.Services]
AddService=Testd,Testd_Service_xp32
[Testd_Service_xp32]
LoadOrderGroup = NDIS
Description = %Testd_Desc%
DisplayName = %Testd_Desc%
ServiceType = 1 ;SERVICE_KERNEL_DRIVER
StartType = 3 ;SERVICE_MANUAL_START
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary = %12%\Testd32.sys
[Install_xp32.Remove.Services]
; 0x200 - Stop the service before deleting it.
DelService=Testd,0x200
[Install_xp32.Remove]
DelFiles=CopyFiles_xp32
;-------------------------------------------------------------------------
; Testd Coinstaller installation
;-------------------------------------------------------------------------
[Install_xp32.CoInstallers]
AddReg=WDF_AddReg
CopyFiles=WDF_CopyFiles
[WDF_AddReg]
HKR,CoInstallers32,0x00010000, “WdfCoInstaller01007.dll,WdfCoInstaller”
[WDF_CopyFiles]
WdfCoInstaller01007.dll
[Install_xp32.Wdf]
KmdfService = Testd, Testd_WdfSection
[Testd_WdfSection]
KmdfLibraryVersion = 1.7
[SourceDisksFiles]
WdfCoInstaller01007.dll = 1
[DestinationDirs]
WDF_CopyFiles = 11
;-------------------------------------------------------------------------
; Declare Destination Directories for file copy/deletion
;-------------------------------------------------------------------------
[SourceDisksNames]
1=%DiskDescription%,“”,
[SourceDisksFiles]
Testd32.sys = 1
[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS
[Strings]
Mnft = “Testsoft”
DiskDescription = “Test Protocol Driver Disk”
Testd_Desc = “Test NDIS Protocol Driver”
Testd_HelpText = “Test NDIS Protocol Driver”