none
WHCK error for WDK 8.0 user mode driver - coinstaller does not match RTM fre version

    Question

  • Hi,
    We are trying to run the Windows 8 WHCK tests on a user mode driver developed with WDK 8.0. We are using the latest version for WDK 8.0 (Aug 15th 2012 release) and have the latest version of the WDF CoInstallers v1.11 (Aug 17th 2012 release). We are consistently getting a coinstaller related failure:

    CoInstaller version does not match any of the RTM fre versions
    CoInstaller version does not meet the requirements

    We were hoping that the latest version of the 1.11 coinstaller will fix this issue but does not look like that is the case. Is this failure still expected with the new coinstaller? If so, is there an expected date for the RTM fre version of the WDK 8 coinstaller?

    Thanks,
    Rahul


    Rahul Ghosh

    Thursday, August 23, 2012 9:26 PM

Answers

  • the errata to cover the new coinstallers released on 8/17 was released today, you can get it at http://msdn.microsoft.com/en-us/windows/hardware/hh852367.aspx

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Friday, August 24, 2012 4:36 AM
  • The timestamp and size shows that the coinstaller is still from an old release (instead of Aug 17 one).

    You can verify it is the case by:

    • Right click %windir%\system32\WudfUpdate_01011.dll, select "Properties | Digital Signatures | Timestamp"
    • If the sign time is July 27, 2012, that is an old release and should not be used
    • The correct sign time should be Aug 17, 2012

    To fix the problem, please:

    • On your WDK / VS12 machine, go to "control panel | uninstall a program", uninstall "Windows Driver Frameworks Update Packages"
    • Download and install Aug 17 version of WDF redistributable from http://msdn.microsoft.com/en-us/windows/hardware/br259104
    • Verify digital signature of wudfupdate_01011.dll in \redist folder again and make sure it is Aug 17, 2012
    • Use the new coinstaller in your driver project

    This posting is provided "AS IS" with no warranties, and confers no rights.

    • Marked as answer by rdghosh Thursday, August 30, 2012 12:38 AM
    Wednesday, August 29, 2012 5:27 PM

All replies

  • the errata to cover the new coinstallers released on 8/17 was released today, you can get it at http://msdn.microsoft.com/en-us/windows/hardware/hh852367.aspx

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Friday, August 24, 2012 4:36 AM
  • Thanks a bunch Doron. We will try out the tests after applying the filter.

    Rahul Ghosh

    Friday, August 24, 2012 5:40 AM
  • Hi Doron,
        We applied the filter you directed me to and it looks like the filter did get installed correctly. Just to check if it did solve the problem we enabled all the filters in the patch:
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    C:\Program Files (x86)\Windows Kits\8.0\Hardware Certification Kit\Controller>updatefilters.exe UpdateFilters.sql /Activate:*
    UPDATE Filter SET Status = 1
    444 filter(s) activated. Success.
    Applying 'UpdateFilters.sql' script to localhost...
    888 rows were updated. Success.
    --------------------------------------------------------------------------------------------------------------------------------------------------------------

    However, even with the filter applied we still see the coinstaller error.

    I am copying some excerpts from the wtl file for the error, hopefully this will help figuring out if we have the right coinstaller. 

      <Msg UserText="Find the timestamp and version for file : C:\Windows\system32\WudfUpdate_01011.dll" CA="821766" LA="821850">
        <Data>
          <WexTraceInfo ThreadId="3556" ProcessId="3012" TimeStamp="202559897" />
        </Data>
        <rti id="4120903850" />
        <ctx id="3199423121" />
      </Msg>
      <Msg UserText="TimeStamp is 1343266143 Size is 2375680" CA="849573" LA="849653">
        <Data>
          <WexTraceInfo ThreadId="3556" ProcessId="3012" TimeStamp="202587525" />
        </Data>
        <rti id="4120903850" />
        <ctx id="3199423121" />
      </Msg>
      <Error File="" Line="-1" ErrCode="0x0" ErrType="" ErrorText="Error 0x00000000" UserText="CoInstaller version doesn't match any of the RTM fre versions" CA="851107" LA="851188">
        <Data>
          <WexTraceInfo ThreadId="3556" ProcessId="3012" TimeStamp="202588680" />
        </Data>
        <rti id="4120903850" />
        <ctx id="3199423121" />
      </Error>
      <Error File="" Line="-1" ErrCode="0x0" ErrType="" ErrorText="Error 0x00000000" UserText="CoInstaller version doesn't meet the requirements" CA="852613" LA="852687">
        <Data>
          <WexTraceInfo ThreadId="3556" ProcessId="3012" TimeStamp="202590130" />
        </Data>
        <rti id="4120903850" />
        <ctx id="3199423121" />
      </Error>
      <EndTest Title="wdflogotestcoinstallerversion::CoInstallerVersionCheck::VerifyCoInstallerVersion" TUID="" Result="Fail" Repro="" CA="853667" LA="853704">
        <Data>
          <WexTraceInfo ThreadId="3040" ProcessId="3340" TimeStamp="202591875" />
        </Data>
        <rti id="952941334" />
        <ctx id="3199423121" />
      </EndTest>



    Rahul Ghosh

    Tuesday, August 28, 2012 6:00 PM
  • The timestamp and size shows that the coinstaller is still from an old release (instead of Aug 17 one).

    You can verify it is the case by:

    • Right click %windir%\system32\WudfUpdate_01011.dll, select "Properties | Digital Signatures | Timestamp"
    • If the sign time is July 27, 2012, that is an old release and should not be used
    • The correct sign time should be Aug 17, 2012

    To fix the problem, please:

    • On your WDK / VS12 machine, go to "control panel | uninstall a program", uninstall "Windows Driver Frameworks Update Packages"
    • Download and install Aug 17 version of WDF redistributable from http://msdn.microsoft.com/en-us/windows/hardware/br259104
    • Verify digital signature of wudfupdate_01011.dll in \redist folder again and make sure it is Aug 17, 2012
    • Use the new coinstaller in your driver project

    This posting is provided "AS IS" with no warranties, and confers no rights.

    • Marked as answer by rdghosh Thursday, August 30, 2012 12:38 AM
    Wednesday, August 29, 2012 5:27 PM
  • Thanks! That solved it.

    Rahul Ghosh

    Thursday, August 30, 2012 12:38 AM
  • this is correct solution for umdf coinstaller problem ah
    Sunday, February 10, 2013 9:42 PM