From: Kota on
Hi,

I am using 7600.16385.0 WDK build environment for building the driver, used
the xp build env for 32 bit OS(xp, vista, win7) and server 2003 for 64 bit OS.
DPINST tool is used for installing the driver.

Problem:
----------
Driver is installing fine in win-7 32 & 64 bit OS with above build
environments But it is failing in xp & vista OS.

Earlier, I have used WDK-6000 build enviroment, worked fine.

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)

I am using WDF coinstaller 1.5 ver for all os from xp to Win 7.
------------------------------------------------------------------------------------
It is getting executed in win-7 not in other os, is it with new build
environments?, I need to support win-7, so i have to use this build
environment.

For XP: I ensured that, just modifying the the old driver binary, same
installation setup is worked fine.

Any clues for me, is this releated to driver/build environment/any other?


Thanks,
Prafulla
From: Kota on
I also verified the same driver code built in WDK-6000, it worked fine here
and it didnt worked for

WDK- 6001.18002 & WDK - 7600.16385.0

But surprisingly, it is working for Win 7 for(7600.16385.0) but not for
other OS XP, Vista.

Thanks,
Prafulla


"Kota" wrote:

> Hi,
>
> I am using 7600.16385.0 WDK build environment for building the driver, used
> the xp build env for 32 bit OS(xp, vista, win7) and server 2003 for 64 bit OS.
> DPINST tool is used for installing the driver.
>
> Problem:
> ----------
> Driver is installing fine in win-7 32 & 64 bit OS with above build
> environments But it is failing in xp & vista OS.
>
> Earlier, I have used WDK-6000 build enviroment, worked fine.
>
> 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)
>
> I am using WDF coinstaller 1.5 ver for all os from xp to Win 7.
> ------------------------------------------------------------------------------------
> It is getting executed in win-7 not in other os, is it with new build
> environments?, I need to support win-7, so i have to use this build
> environment.
>
> For XP: I ensured that, just modifying the the old driver binary, same
> installation setup is worked fine.
>
> Any clues for me, is this releated to driver/build environment/any other?
>
>
> Thanks,
> Prafulla