It’s going to take a while to duplicate because I have to rebuild and I don’t have KMDF1.0 installed anymore. Thie is why I would much prefer a side-by side install for even a minor revision change.
Beverly
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Brown, Beverly
Sent: Thursday, May 18, 2006 6:18 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Install issue with KMDF 1.1
There were no other KMDF drivers on the system - just the two that get installed from the same INF (one is a filter driver for the other). The existing coinstaller DLL (version 1.0) did not get touched.
Before the setup program does an update, it removes the old device nodes and finds and removes old INF and PNF files as well. It then tells the system to do a rescan. It does this so that it closely resembles a clean system when the driver gets re-installed. In the past, this has worked out best for test environments to avoid cluttering up the system with old INF and PNF files and sometimes getting the old driver re-installed inadvertently because of those files being present on the system. One thing that this setup program didn’t do, that I had done in the past was delete the old services after removing the device nodes. I’m thinking now that might be the step that I missed. Hmmm, if that’s the step that I missed, maybe I have a leak in the driver unload that was keeping the old WDF from getting unloaded completely therefore preventing a new one from getting installed for it. If that was the case, though, wouldn’t the WDF verifier report a leak?
I’ll try to reproduce it and see what triggered the problem.
In the meantime, this is a direct copy of the text from setupact.log:
WdfCoInstaller: [05/18/2006 11:03.02.625] DIF_INSTALLDEVICE: Pre-Processing
WdfCoInstaller: [05/18/2006 11:03.02.625] ReadComponents: WdfSection for Driver Service mc_tfilt using KMDF lib version Major 0x1, minor 0x1
WdfCoInstaller: [05/18/2006 11:03.02.625] ReadComponents: WdfSection for Driver Service mc_tdev using KMDF lib version Major 0x1, minor 0x1
WdfCoInstaller: [05/18/2006 11:03.02.703] VerifyMSRoot: exit: error(0) The operation completed successfully.
WdfCoInstaller: [05/18/2006 11:03.09.312] Update process returned error code :error(1603) Fatal error during installation.
. Possible causes are running fre version of coinstaller on checked version of OS and vice versa
Beverly
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Thursday, May 18, 2006 5:44 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Install issue with KMDF 1.1
What did setupact.log say exactly? Can you send out the contents? In the process of the install, did you touch wdfcoinstaller01000.dll (e.g. did you delete it?). Our test team ran the following scenario and it worked just fine
- install a driver using KMDF 1.0
- recompile the driver for v1.1 and then update the installed devnode.
If this is the only KMDF driver loaded, then this works w/out a reboot. If there are other KMDF drivers loaded, we cannot unload v1.0 of KMDF and require a reboot to get it loaded.
d
– I can spell, I just can’t type.
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Brown, Beverly
Sent: Thursday, May 18, 2006 2:27 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Install issue with KMDF 1.1
I had an interesting experience. I had delivered a test driver and a test app based on KMDF 1.0 to another developer. I updated the driver and in the process updated it to KMDF 1.1. This driver has an install program that is very similar in nature to devcon.exe.? The update of the driver failed and the error in setupact.log implied that I was using the checked version of the coinstaller on a free system or vice versa. I double-checked the DLL and it was indeed the correct version. I instructed the other developer to remove the old wdf*.sys files and try it again. Same error. He removed the device in device manger, removed the INF and PNF files, and rebooted. It then installed correctly. I assume that there must have been a step that I missed in my install program. Any idea what it was? Unless I missed something really obvious, I can see this becoming a problem in the field once more WDF drivers get released and new KMDF releases start appearing with them.
?
Beverly
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer