I am posting the INF file, but I have removed and/or modified certain details from the INF.
==============================================================
;***********************************************************************
;
; Test.inf
;
;***********************************************************************
[Version]
DriverVer =
Signature = “$Windows NT$”
Compatible = 1
Class = Net
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider = %VER_VENDOR_NAME_STR%
CatalogFile =
[ControlFlags]
;Exclude all PNP adapters from user selection
ExcludeFromSelect = *
[Manufacturer]
; We will need to add specific OS version here as well. Our driver will be different for Vista and Win7
%VER_VENDOR_NAME_STR% = my_models, NTx86.6.0, NTx86.5.1, NTia64, NTamd64
[my_models.NTx86.6.0]
%DESC_STR% = install_section.NTx86, (hw-id)
[my_models.NTx86.5.1]
%DESC_STR% = install_section.NTx86.5.1, (hw-id)
[my_models.NTia64]
%DESC_STR% = install_section.NTia64, (hw-id)
[my_models.NTamd64]
%DESC_STR% = install_section.NTamd64, (hw-id)
;********************************************************************************
; x86 Install section for Windows XP
;********************************************************************************
[install_section.NTx86.5.1]
AddReg = install_section.reg
CopyFiles = install_section.copyfiles.NTx86.5.1
BusType = 1
Characteristics = 0x84 ; NCF_PHYSICAL, NCF_HAS_UI
[install_section.NTx86.5.1.Services]
AddService = %SERVICE_STR%, 2, install_section.Service.NTx86.5.1, install_section.EventLog
[install_section.Service.NTx86.5.1]
DisplayName = %SERVICE_STR%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\drv51x86.sys
LoadOrderGroup = NDIS
;********************************************************************************
; x86 Install section for Windows 7
;********************************************************************************
[install_section.NTx86]
AddReg = install_section.reg,
CopyFiles = install_section.copyfiles.NTx86
; BusType is not required in Win7, this is here just to satisfy ChkINF
BusType = 1
Characteristics = 0x84 ; NCF_PHYSICAL, NCF_HAS_UI
*IfType =
*MediaType =
*PhysicalMediaType =
[install_section.NTx86.Services]
AddService = %SERVICE_STR%, 2, install_section.Service.NTx86, install_section.EventLog
[install_section.Service.NTx86]
DisplayName = %SERVICE_STR%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\drv62x86.sys
LoadOrderGroup = NDIS
;********************************************************************************
; IA-64 Install section for Windows 7
;********************************************************************************
[install_section.NTia64]
AddReg = install_section.reg
CopyFiles = install_section.copyfiles.NTia64
; BusType is not required in Win7, this is here just to satisfy ChkINF
BusType = 1
Characteristics = 0x84 ; NCF_PHYSICAL, NCF_HAS_UI
*IfType =
*MediaType =
*PhysicalMediaType =
[install_section.NTia64.Services]
AddService = %SERVICE_STR%, 2, install_section.NTia64.Service, install_section.EventLog
[install_section.NTia64.Service]
DisplayName = %SERVICE_STR%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\drv62ia64.sys
LoadOrderGroup = NDIS
;********************************************************************************
; x64 Install section for Windows 7
;********************************************************************************
[install_section.NTamd64]
AddReg = install_section.reg,
CopyFiles = install_section.copyfiles.NTamd64
; BusType is not required in Win7, this is here just to satisfy ChkINF
BusType = 1
Characteristics = 0x84 ; NCF_PHYSICAL, NCF_HAS_UI
*IfType =
*MediaType =
*PhysicalMediaType =
[install_section.NTamd64.Services]
AddService = %SERVICE_STR%, 2, install_section.NTamd64.Service, install_section.EventLog
[install_section.NTamd64.Service]
DisplayName = %SERVICE_STR%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\drv62x64.sys
LoadOrderGroup = NDIS
;********************************************************************************
; Add Reg Section
;********************************************************************************
[install_section.reg]
;*********************************************************************************************
[install_section.EventLog]
AddReg = install_section.EventLog.reg
[install_section.EventLog.reg]
;*********************************************************************************************
[DestinationDirs]
DefaultDestDir = 12 ; %windir%\system32\drivers
[SourceDisksNames]
1 = %INSTALL_DISK_STR%
[SourceDisksFiles]
drv62x86.sys = 1
drv51x86.sys = 1
drv62x64.sys = 1
drv62ia64.sys = 1
OtherDRV.sys = 1
[install_section.copyfiles.NTx86]
drv62x86.sys
OtherDRV.sys
[install_section.copyfiles.NTx86.5.1]
drv51x86.sys
OtherDRV.sys
[install_section.copyfiles.NTamd64]
drv62x64.sys
OtherDRV.sys
[install_section.copyfiles.NTia64]
drv62ia64.sys
OtherDRV.sys
;*********************************************************************************************
[Strings]
================================================================
-Rakesh