Hi All,
When a catalog file is generated by
compiling using visual studio 2012, the dll for advanced property page is copied to
system32 but the advanced property page could not be seen on the driver properties. The dll main is not
called. I have posted the inx below.Is the issue is due to inx?why the dll is not loaded with catalog file?
;
; Featuredrv.inf
;
[Version]
Signature=“$WINDOWS NT$”
Class=FeatureDrv
ClassGuid={F7F1F0C5-0B4A-424C-AA8A-281845B7F5DC}
Provider=%ManufacturerName%
CatalogFile=Featuredrv.cat
DriverVer= 1.0
[DestinationDirs]
DriverDir=12
DllDir=11
; ================= Class section =====================
[ClassInstall32]
Addreg=FeatureClassReg
[FeatureClassReg]
HKR,0,%ClassName%
HKR,Icon,-5
[SourceDisksNames]
1 = %DiskName%,“”
[SourceDisksFiles]
Featuredrv.sys = 1,
FeatureAdvPage.dll =1,
;*****************************************
; Install Section
;*****************************************
[Manufacturer]
%ManufacturerName%=Standard,NT$ARCH$
[Standard.NT$ARCH$]
%Featuredrv.DeviceDesc%=Featuredrv_Device, Root\SamFeaturedrv
[Featuredrv_Device.NT]
CopyFiles=DriverDir,DllDir
AddReg = FeatureDevAdvanceSection
[FeatureDevAdvanceSection]
HKR,EnumPropPages32,“FeatureAdvPage.dll,FeaturePropPageProvider”
[DriverDir]
Featuredrv.sys
[DllDir]
FeatureAdvPage.dll
[Featuredrv_Device.NT.HW]
AddReg=Featuredrv_Device.NT.AddReg
[Featuredrv_Device.NT.AddReg]
HKR,DeviceCharacteristics,0x10001,0x0100
HKR,Security,“D:P(A;;GA;;;BA)(A;;GA;;;SY)”
HKR,DebugLogLevel,0x10001,0x3
HKR,MaxDevicesSupported,0x10001,0x0001
;-------------- Service installation
[Featuredrv_Device.NT.Services]
AddService = Featuredrv,%SPSVCINST_ASSOCSERVICE%, Featuredrv_Service_Inst
; -------------- Featuredrv driver install sections
[Featuredrv_Service_Inst]
DisplayName = %Featuredrv.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\Featuredrv.sys
LoadOrderGroup = Extended Base
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName=“Feature learners”
ClassName=“Feature”
DiskName = “Featuredrv Installation Disk”
Featuredrv.DeviceDesc = “Featuredrv Device”
Featuredrv.SVCDESC = “Featuredrv Service”