From: Tim Roberts on
ddixon <ddixon(a)discussions.microsoft.com> wrote:
>
>The driver is x64, using the WDF coinstaller from the 7.0.0 WDK 7600.16385.
>We receive the following failure. The file size of the .dll is 1,721,576. Not
>sure why the wdftester is reporting it as 1748992. The dll is the correct
>size in Windows\System32.

Is it possible you tested your driver on this machine from one of the beta
WDKs or the RC WDK? The co-installer will not upgrade in that case.

>Message 9/22/2009 4:14:02.088 PM Find the timestamp and version for file :
>C:\Windows\system32\wdfcoinstaller01009.dll
>Message 9/22/2009 4:14:02.088 PM TimeStamp is 1247529899 Size is 1748992

The timestamp is wrong, too. That's 2009/07/13 17:04:59, and all of the
DLLs in the 7.0 WDK are dated just after noon on 2009/07/14.
--
Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.
From: Hannes on
Found the answer myself - compile the driver with an older WDK will "embed"
an older version WDF.

/ Hannes.

"Hannes" wrote:

> Yes, we use WDK 7600.16385
>
> A follow-up issue has occurred - when installing on Vista, the newer
> WdfCoInstaller version used by our driver, does cause the machine to prompt
> for a restart (Vista seems has Wdf 1007, our driver uses 1009)
>
> -How do we instead build our driver with Wdf 1007? Do we need to download
> and use WDK 6001 ?
>
> / Hannes.
>
> "Doron Holan [MSFT]" wrote:
>
> > which specific wdk are you gettting wdfcoinstaller01009.dll from?
> > 7600.16385?
> >
> > --
> >
> > This posting is provided "AS IS" with no warranties, and confers no rights.
> >
> >
> > "Hannes" <hannes.news(a)newsgroup.nospam> wrote in message
> > news:0A14582C-BBC3-4642-AFC4-39698D59B030(a)microsoft.com...
> > > We are developing a driver that should work on both XP, Vista, and Win7.
> > > (To achieve this, we have learned we should compile for Windows Server
> > > 2003.)
> > >
> > > What WdfCoInstaller should be used?
> > >
> > > The one shipping with WDK7600 seems to be WdfCoInstaller01009.dll, but we
> > > get a WLK test failure on Vista when using this one:
> > >
> > > WdfCoinstaller \WdfCoInstaller01009.dll has been found
> > > Find the timestamp and version for file :
> > > C:\Windows\system32\WdfCoInstaller01009.dll
> > > TimeStamp is 1247528983 Size is 1482752
> > > CoInstaller version doesn't match any of the RTM fre versions
> > > Fail
> > >
> > > Please advice which coinstaller should be used for XP, Vista, and Win7.
> > >
> > > Thanks,
> > >
> > > / Hannes.
> >
> >
From: Joshua Chuang Joshua on
Dear Hannes,

Did you mean that you had solved the problem by using older version of WDK?
I have the same problem and still look for a solution.
I use 1009, on XP it works well, but on VISTA it will cause restart and
system may hang for a long period.


"Hannes" wrote:

> Found the answer myself - compile the driver with an older WDK will "embed"
> an older version WDF.
>
> / Hannes.
>
> "Hannes" wrote:
>
> > Yes, we use WDK 7600.16385
> >
> > A follow-up issue has occurred - when installing on Vista, the newer
> > WdfCoInstaller version used by our driver, does cause the machine to prompt
> > for a restart (Vista seems has Wdf 1007, our driver uses 1009)
> >
> > -How do we instead build our driver with Wdf 1007? Do we need to download
> > and use WDK 6001 ?
> >
> > / Hannes.
> >
> > "Doron Holan [MSFT]" wrote:
> >
> > > which specific wdk are you gettting wdfcoinstaller01009.dll from?
> > > 7600.16385?
> > >
> > > --
> > >
> > > This posting is provided "AS IS" with no warranties, and confers no rights.
> > >
> > >
> > > "Hannes" <hannes.news(a)newsgroup.nospam> wrote in message
> > > news:0A14582C-BBC3-4642-AFC4-39698D59B030(a)microsoft.com...
> > > > We are developing a driver that should work on both XP, Vista, and Win7.
> > > > (To achieve this, we have learned we should compile for Windows Server
> > > > 2003.)
> > > >
> > > > What WdfCoInstaller should be used?
> > > >
> > > > The one shipping with WDK7600 seems to be WdfCoInstaller01009.dll, but we
> > > > get a WLK test failure on Vista when using this one:
> > > >
> > > > WdfCoinstaller \WdfCoInstaller01009.dll has been found
> > > > Find the timestamp and version for file :
> > > > C:\Windows\system32\WdfCoInstaller01009.dll
> > > > TimeStamp is 1247528983 Size is 1482752
> > > > CoInstaller version doesn't match any of the RTM fre versions
> > > > Fail
> > > >
> > > > Please advice which coinstaller should be used for XP, Vista, and Win7.
> > > >
> > > > Thanks,
> > > >
> > > > / Hannes.
> > >
> > >
From: Hannes on
Hi Joshua,

I think the machine will prompt for a restart if your driver has a highwer
WDF version that preiously present on the machine.

I think XP ships with WDF 1.5, Vista with 1.7, and Win7 with 1.9. If your
driver has 1.9, a restart should be requested on both XP and Vista, but
perhaps your XP machine was walready upgraded to 1.9 by some other driver
installation.

Check c:\windows\setupact.log for why or a restart was or wasn't requested.

/ Hannes.

"Joshua Chuang" wrote:

> Dear Hannes,
>
> Did you mean that you had solved the problem by using older version of WDK?
> I have the same problem and still look for a solution.
> I use 1009, on XP it works well, but on VISTA it will cause restart and
> system may hang for a long period.
>
>
> "Hannes" wrote:
>
> > Found the answer myself - compile the driver with an older WDK will "embed"
> > an older version WDF.
> >
> > / Hannes.
> >
> > "Hannes" wrote:
> >
> > > Yes, we use WDK 7600.16385
> > >
> > > A follow-up issue has occurred - when installing on Vista, the newer
> > > WdfCoInstaller version used by our driver, does cause the machine to prompt
> > > for a restart (Vista seems has Wdf 1007, our driver uses 1009)
> > >
> > > -How do we instead build our driver with Wdf 1007? Do we need to download
> > > and use WDK 6001 ?
> > >
> > > / Hannes.
> > >
> > > "Doron Holan [MSFT]" wrote:
> > >
> > > > which specific wdk are you gettting wdfcoinstaller01009.dll from?
> > > > 7600.16385?
> > > >
> > > > --
> > > >
> > > > This posting is provided "AS IS" with no warranties, and confers no rights.
> > > >
> > > >
> > > > "Hannes" <hannes.news(a)newsgroup.nospam> wrote in message
> > > > news:0A14582C-BBC3-4642-AFC4-39698D59B030(a)microsoft.com...
> > > > > We are developing a driver that should work on both XP, Vista, and Win7.
> > > > > (To achieve this, we have learned we should compile for Windows Server
> > > > > 2003.)
> > > > >
> > > > > What WdfCoInstaller should be used?
> > > > >
> > > > > The one shipping with WDK7600 seems to be WdfCoInstaller01009.dll, but we
> > > > > get a WLK test failure on Vista when using this one:
> > > > >
> > > > > WdfCoinstaller \WdfCoInstaller01009.dll has been found
> > > > > Find the timestamp and version for file :
> > > > > C:\Windows\system32\WdfCoInstaller01009.dll
> > > > > TimeStamp is 1247528983 Size is 1482752
> > > > > CoInstaller version doesn't match any of the RTM fre versions
> > > > > Fail
> > > > >
> > > > > Please advice which coinstaller should be used for XP, Vista, and Win7.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > / Hannes.
> > > >
> > > >