Hi,
I am finding trouble with WDF Coinstaller DLL 1.5 version for all OS with
WDK 7600 build environments.
I have build the binary for xp-32 bit, It is working fine for Win-7 32 bit
with 1.5 dll, but it is not working for older os for xp & vista.
Instead 1.5, i have replaced with 1.9 in inf, it is working fine for xp &
vista.
I want to use 1.5 to avoid system restart for all OS, but it is not working
in 7600 build environment, I have tried with 6000 environment, It installed
fine in XP, this way i ensured that, my inf, sys everything is fine for xp as
well.
Can i build the driver in wdk-6000 and can i use the same for Win-7 32 as
well?, 6000 doesnt support win-7.
Is there any incompatbility trouble with 7600 & coinstaller for older OS.
But surprisingly, it is working fine for win-7.
Here is my inf file, related to coinstaller and service sections: ;----------------------------------------------------------------------------------
; For x86
[GE-IP.NTX86]
; DisplayName Section DeviceId
; ----------- ------- --------
%Device.Description%= pmc55xx_Inst_x86, pci\ven_114a&dev_5565
[pmc55xx_Inst_X86.NT]
CopyFiles = PMC55XX.Files_12,PMC55XX.Files_11_32
Characteristics=0x04
BusType=5
;------------------------------------------------------
; For AMD64 Arch
[GE-IP.NTAMD64]
; DisplayName Section DeviceId
; ----------- ------- --------
%Device.Description%= pmc55xx_Inst_AMD64, pci\ven_114a&dev_5565
[pmc55xx_Inst_AMD64.NT]
CopyFiles = PMC55XX.Files_12,PMC55XX.Files_10_32,PMC55XX.Files_11_64
Characteristics = 0x04
BusType = 5 ;--------------------common--------------------------------------------------------
[pmc55xx_Inst_$ARCH$.NT.Services]
AddService =PMC55XXSERV,%SPSVCINST_ASSOCSERVICE%,pmc55xx_Service
[pmc55xx_Service]
DisplayName = "Rfm2g PCI5565 Driver"
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_SYSTEM_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\pmc55xx.sys
AddReg = pmc55xx_Parameters_AddReg
LoadOrderGroup = "Base"
[pmc55xx_Parameters_AddReg]
HKR,Ndi,Service,0,"pmc55xx"
;-------------- Coinstaller installation
[DestinationDirs]
CoInstaller_CopyFiles = 11
[pmc55xx_Inst_$ARCH$.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles
[pmc55xx_Inst_$ARCH$.NT.Wdf]
KmdfService = PMC55XXSERV, pmc55xx_wdfsect
;--------------------coinstaller common-----------------------------
[CoInstaller_CopyFiles]
WdfCoInstaller01005.dll
[SourceDisksFiles]
WdfCoInstaller01005.dll=1 ; make sure the number matches with SourceDisksNames
[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01005.dll,WdfCoInstaller"
[pmc55xx_wdfsect]
KmdfLibraryVersion = 1.5
Setup api log file for XP & Vista
Here is log observed in xp, Vista:
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [pmc55xx_Inst_X86.NT.Interfaces] from "c:\windows\system32\drvstore\pmc55xx_1a0936efbfe3c187fb3dff3e11d3fdb74dde842f\pmc55xx.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of
"PCI\VEN_114A&DEV_5565&SUBSYS_00801556&REV_00\7&33B3AFA5&0&00002000E0".
#E360 An unsigned or incorrectly signed file "c:\windows\system32\drvstore\pmc55xx_1a0936efbfe3c187fb3dff3e11d3fdb74dde842f\pmc55xx.inf"
for driver "Rfm2g PCI/PMC 5565 Driver" will be installed (Policy=Ignore).
Error 0xe000022f: The third-party INF does not contain digital signature
information.
#I163 Device not started: Device has problem: 0x27:
CM_PROB_DRIVER_FAILED_LOAD.
#I121 Device install of
"PCI\VEN_114A&DEV_5565&SUBSYS_00801556&REV_00\7&33B3AFA5&0&00002000E0"
finished successfully.
CM_PROB_DRIVER_FAILED_LOAD ==> Err msg appeared here, but same binary works
fine for Win7-32 os.
vista setup api log
\driverstore\filerepository\pmc55xx.inf_45cdb725\pmc55xx.inf'.
dvi: Class GUID of device remains:
{6121c478-7b3f-45b8-a2e3-330f04991213}.
dvi: Set selected driver complete.
dvi: Selected:
dvi: Description - [Rfm2g PCI/PMC 5565 Driver]
dvi: InfFile - [c:\windows\system32\driverstore\filerepository\pmc55xx.inf_45cdb725\pmc55xx.inf]
dvi: Section - [pmc55xx_Inst_X86]
dvi: Signer - [ge fanuc automation americas,
inc.]
dvi: Rank - [0x0fff2001]
dvi: {Select Best Driver - exit(0x00000000)}
dvi: Default installer: Exit
dvi: {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 18:49:12.074
dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL} 18:49:12.074
dvi: No class installer for 'Rfm2g PCI/PMC 5565 Driver'
dvi: CoInstaller 1: Enter 18:49:12.074
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 18:49:12.074
dvi: Default installer: Exit
dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL - exit(0xe000020e)} 18:49:12.074
dvi: {DIF_DESTROYPRIVATEDATA} 18:49:12.074
dvi: CoInstaller 1: Enter 18:49:12.074
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 18:49:12.074
dvi: Default installer: Exit
dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 18:49:12.074
dvi: {DIF_DESTROYPRIVATEDATA} 18:49:12.074
dvi: CoInstaller 1: Enter 18:49:12.074
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 18:49:12.090
dvi: Default installer: Exit
dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 18:49:12.090
<<< Section end 2010/03/03 18:49:12.090
<<< [Exit status: SUCCESS]
Here DIF_NEWDEVICEWIZARD_FINISHINSTALL - exit(0xe000020e)
Thanks,
Kota