I have built a KMDF driver with Win7 x86 Free Build environment of
WINDDK 7600.16385.0
This driver installs properly on Vista and Win 7, but when I try to
install it on WinXP SP3 I get an error code 39.
I have the WinDbg hooked and it shows no prints in my driver entry,
which means my driver is not yet loaded.
I have also run the chkinf on my INF and it gave no errors.
The XP system is a fresh one and its setupact.log gives this info:
---------------------->>
WdfCoInstaller: [05/16/2011 13:14.28.453] DIF_INSTALLDEVICE: Pre-
Processing
WdfCoInstaller: [05/16/2011 13:14.28.484] ReadComponents: WdfSection
for Driver Service MYDRV using KMDF lib version Major 0x1, minor 0x9
WdfCoInstaller: [05/16/2011 13:14.28.515] DIF_INSTALLDEVICE:
Coinstaller version: 1.9.7600
WdfCoInstaller: [05/16/2011 13:14.28.531] GetControlKey:
RegOpenKeyEx(HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Wdf
\Kmdf\KmdfLibrary\Versions) failed: error(2) The system cannot find
the file specified.
WdfCoInstaller: [05/16/2011 13:14.28.546] KMDF control key was not
found
WdfCoInstaller: [05/16/2011 13:14.28.578] Using default name for KMDF
service: Wdf01000
WdfCoInstaller: [05/16/2011 13:14.28.609] GetInMemoryVersionUlong: No
information about in-memory KMDF version
WdfCoInstaller: [05/16/2011 13:14.28.656] DIF_INSTALLDEVICE: KMDF in-
memory version: 0.0.0
WdfCoInstaller: [05/16/2011 13:14.28.687] GetLatestInstalledVersion:
KMDF was not previously installed in the system
WdfCoInstaller: [05/16/2011 13:14.28.703] DIF_INSTALLDEVICE: No need
for reboot, because KMDF was not found in the system
WdfCoInstaller: [05/16/2011 13:14.28.906] VerifyMSRoot: exit: error(0)
The operation completed successfully.
WdfCoInstaller: [05/16/2011 13:14.29.531] Invoking "C:\WINDOWS\Temp
\WdfTemp\Microsoft Kernel-Mode Driver Framework Install-v1.9-Win2k-
WinXP-Win2k3.exe /quiet /norestart /o /ER".
WdfCoInstaller: [05/16/2011 13:14.42.203] The package was installed
successfully: error(0) The operation completed successfully.
WdfCoInstaller: [05/16/2011 13:14.42.250] InstallComponents: KMDF
installed successfully
WdfCoInstaller: [05/16/2011 13:14.44.921] DIF_INSTALLDEVICE: Post-
Processing
<<------------------------
The coinstaller section in my INF file is as below:
------------------------>>
[MyDrv.NT.CoInstallers]
AddReg=MyDrv_CoInstaller_AddReg
CopyFiles=MyDrv_CoInstaller_CopyFiles
[MyDrv_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,
"WdfCoInstaller01009.dll,WdfCoInstaller"
[MyDrv_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll
[MyDrv.NT.Wdf]
KmdfService = MOSUMAC, MOSUMAC_wdfsect
[MOSUMAC_wdfsect]
KmdfLibraryVersion = 1.9
<<------------------------
I am using the WdfCoInstaller01009.dll file with timestamp 7/14/2009
12.27 PM present in the WINDDK.
Any suggestions are welcome.
Thanks,
Regards,
Abhijit
Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
"Abhijit" <abhijit....@gmail.com> wrote in message
news:dcff2013-e915-4f04...@d26g2000prn.googlegroups.com: