install problem with wdfcoinstaller

I have the latest version of the WDK(V1.5), and build my driver.
When install my driver to customer’s notepc(XP Pro) using DPInst.exe,
I get the errorcode 37.
and then I trying find the cause about 3 days.
yesterday, I find hidden install app using sysinternals process
explorer, that is
DPInst.exe
|
–> wdfcoinstaller01005.dll
|
–> Microsoft Kernel-Mode Driver Framework Install-v1.5-WinXP.exe
|
–> update.exe

in %Windir%/temp/wdftemp/…

for install test, I removed %Windir%/system32/drivers/wdf01000.sys, wdfldr.sys
and run “Microsoft Kernel-Mode Driver Framework
Install-v1.5-WinXP.exe” by double click.
but i got another error msgbox “THE INSTRUCTION AT 0X10106022
REFERENCED MEMORY AT 0X00060810, THE MOMORY COULD NOT BE READ” from
“Microsoft Kernel-Mode Driver Framework Install-v1.5-WinXP.exe”.

another customers notepc(same os and service pack) is installed successfully.
What’s problem ???
Thanks,

You are not supposed to run the installer by yourself, it is supposed to be executed through the KMDF coinstaller only. If you want to see why the install failed, look at setupapi.log and wdf01005inst.log. read http://blogs.msdn.com/doronh/archive/2006/08/31/734412.aspx for all the possible spots that could indicate what went wrong.

d

Thanks Doron.

this is log files

[setupact.log]

WdfCoInstaller: [05/02/2007 18:46.59.724] Update process returned error code
:status(C0000005) . Possible causes are running free version
of coinstaller on checked version of OS or vice versa. Look at the Kmdf
documentation as to what steps need to be followed to install the correct
versionof the coinstaller


[Wdf010055Inst.log]

0.410:
================================================================================
0.410: 2007/05/02 18:43:41.289 (local)
0.410: c:\1f121840489f8ddf6f86692a3d73db00\update\update.exe (version
6.3.4.0)
0.431: Hotfix started with following command line: /quiet
1.182: In Function GetBuildType, line 1170, RegOpenKeyEx failed with error
0x2
1.242: C:\WINDOWS\system32\DRIVERS\wdf01000.sys is Not Present
1.242: First Condition in Prerequisite.FilecheckOrOp.Section Succeeded
1.242: Condition succeeded for section Prerequisite.FilecheckOrOp.Section in
Line 1 of PreRequisite
5.308: In Function TestVolatileFlag, line 12013, RegOpenKeyEx failed with
error 0x2
5.308: In Function TestVolatileFlag, line 12045, RegOpenKeyEx failed with
error 0x2
5.308: ---- Old Information In The Registry ------
5.318: Source:C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll
(7.0.7.142)
5.318: Destination:
5.318: Source:C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll
(7.0.7.142)
5.318: Destination:
5.398: Source:C:\Program Files\Adobe\Acrobat 7.0\ActiveX\TBM2B.tmp
(7.0.9.50)
5.398: Destination:C:\Program Files\Adobe\Acrobat
7.0\ActiveX\AcroIEHelper.dll (7.0.7.142)
5.428: Source:C:\Config.Msi\66e38f.rbf (7.0.0.0)
5.428: Destination:
5.508: Source:C:\Config.Msi\66e3a1.rbf (3.2.402.1)
5.508: Destination:
5.538: Source:C:\Config.Msi\66e3a5.rbf (2.7.28.1)
5.538: Destination:
5.638: Source:C:\Config.Msi\66e3a7.rbf (7.0.8.218)
5.638: Destination:
5.688: Source:C:\Config.Msi\66e3ab.rbf (4.14.45.1)
5.688: Destination:
5.718: Source:C:\Config.Msi\66e3ac.rbf (1.1.18.1)
5.718: Destination:
5.778: Source:C:\Config.Msi\66e3ad.rbf (5.1.41.1)
5.778: Destination:
5.868: Source:C:\Config.Msi\66e3b1.rbf (1.0.0.3)
5.868: Destination:
5.928: Source:C:\Config.Msi\66e3bb.rbf (7.0.5.0)
5.928: Destination:
5.928: ---- New Information In The Registry ------
5.928: Source:C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll
(7.0.7.142)
5.928: Destination:
5.928: Source:C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll
(7.0.7.142)
5.928: Destination:
5.928: Source:C:\Program Files\Adobe\Acrobat 7.0\ActiveX\TBM2B.tmp
(7.0.9.50)
5.928: Destination:C:\Program Files\Adobe\Acrobat
7.0\ActiveX\AcroIEHelper.dll (7.0.7.142)
5.928: Source:C:\Config.Msi\66e38f.rbf (7.0.0.0)
5.928: Destination:
5.928: Source:C:\Config.Msi\66e3a1.rbf (3.2.402.1)
5.928: Destination:
5.928: Source:C:\Config.Msi\66e3a5.rbf (2.7.28.1)
5.928: Destination:
5.928: Source:C:\Config.Msi\66e3a7.rbf (7.0.8.218)
5.928: Destination:
5.928: Source:C:\Config.Msi\66e3ab.rbf (4.14.45.1)
5.928: Destination:
5.928: Source:C:\Config.Msi\66e3ac.rbf (1.1.18.1)
5.928: Destination:
5.928: Source:C:\Config.Msi\66e3ad.rbf (5.1.41.1)
5.928: Destination:
5.928: Source:C:\Config.Msi\66e3b1.rbf (1.0.0.3)
5.928: Destination:
5.928: Source:C:\Config.Msi\66e3bb.rbf (7.0.5.0)
5.928: Destination:
5.958: In Function GetBuildType, line 1170, RegOpenKeyEx failed with error
0x2
5.968: SetProductTypes: InfProductBuildType=BuildType.Sel
5.968: SetAltOsLoaderPath: No section uses DirId 65701; done.
6.259: DoInstallation: FetchSourceURL for
c:\1f121840489f8ddf6f86692a3d73db00\update\update.inf failed
6.259: CreateUninstall = 1,Directory = C:\WINDOWS$NtUninstallWdf01005$
6.259: LoadFileQueues: UpdSpGetSourceFileLocation for halacpi.dll failed:
0xe0000102
6.269: BuildCabinetManifest: update.url absent
6.269: Starting AnalyzeComponents
6.269: AnalyzePhaseZero used 0 ticks
6.269: No c:\windows\INF\updtblk.inf file.
6.269: SetupFindFirstLine in LoadExclusionList Failed with error: 0xe0000102
6.269: SetupFindFirstLine in LoadExclusionList Failed with error: 0xe0000102
49.131: Failed to query DriverPath of
PCI\VEN_8086&DEV_2486&SUBSYS_2115144D&REV_02\3&61AAA01&0&FE 0x2
49.791: SetupVerifyInfFile failed with error 0x490 for oem18.inf of device
PCMCIA\ETHERNET-ADAPTER-D51F\1
63.171: Failed to query DriverPath of ROOT\LEGACY_AFD\0000 0x2
63.171: Failed to query DriverPath of ROOT\LEGACY_AFPANSI\0000 0x2
63.171: Failed to query DriverPath of ROOT\LEGACY_AHNFLT2K\0000 0x2
63.171: Failed to query DriverPath of ROOT\LEGACY_AHNREC2K\0000 0x2
63.171: Failed to query DriverPath of ROOT\LEGACY_AHNRGHNT\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_AHNSZE\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_ANFDIONT\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_ANFDTDNT\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_APFIPXX\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_ARP1394\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_ASZFLTNT\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_BEEP\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_DGIVECP\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_DMBOOT\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_DMLOAD\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_FIPS\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_F_KP\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_GPC\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_HTTP\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_IPNAT\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_IPSEC\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_KDSS\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_KSECDD\0000 0x2
63.181: Failed to query DriverPath of ROOT\LEGACY_MNMDD\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_MOUNTMGR\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_NDIS\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_NDISHK\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_NDISTAPI\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_NDISUIO\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_NDPROXY\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_NEOKDSS\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_NETBT\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_NETMINE\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_NPPTNT2\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_NULL\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_PARTMGR\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_PARVDM\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_PDNFENT\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_RASACD\0000 0x2
63.191: Failed to query DriverPath of ROOT\LEGACY_RDPCDD\0000 0x2
63.201: Failed to query DriverPath of ROOT\LEGACY_TCPIP\0000 0x2
63.201: Failed to query DriverPath of ROOT\LEGACY_V3ENGINE\0000 0x2
63.201: Failed to query DriverPath of ROOT\LEGACY_V3FLT2K\0000 0x2
63.201: Failed to query DriverPath of ROOT\LEGACY_V3IFT2K\0000 0x2
63.201: Failed to query DriverPath of ROOT\LEGACY_V3IPXX\0000 0x2
63.201: Failed to query DriverPath of ROOT\LEGACY_V3NFENT\0000 0x2
63.201: Failed to query DriverPath of ROOT\LEGACY_VGASAVE\0000 0x2
63.201: Failed to query DriverPath of ROOT\LEGACY_VOLSNAP\0000 0x2
63.201: Failed to query DriverPath of ROOT\LEGACY_WANARP\0000 0x2
80.486: SetupVerifyInfFile failed with error 0x490 for
c:\windows\inf\tjusbdev.inf of device
USB\VID_06E6&PID_B210&MI_00\6&349FC3D&0&0000
80.736: SetupVerifyInfFile failed with error 0x490 for
c:\windows\inf\tjusbdev.inf of device
USB\VID_06E6&PID_B210&MI_00\7&13773A47&0&0000
95.187: Failed to query DriverPath of
USB\VID_1BE1&PID_0010\00010002000300040005000600070008 0x2
103.389: OEM file scan used 97120 ticks
103.399: AnalyzePhaseOne: used 97130 ticks
103.399: AnalyzeComponents: Hotpatch analysis disabled; skipping.
103.399: AnalyzeComponents: Hotpatching is disabled.
103.829: AnalyzePhaseTwo used 430 ticks
103.829: AnalyzePhaseThree used 0 ticks
103.829: AnalyzePhaseFive used 0 ticks
103.829: AnalyzePhaseSix used 0 ticks
103.829: AnalyzeComponents used 97560 ticks
103.829: Downloading 0 files
103.829: bPatchMode = FALSE
103.829: Inventory complete: ReturnStatus=0, 97570 ticks
103.849: Num Ticks for invent : 97590
103.849: Allocation size of drive C: is 4096 bytes, free space = 13493755904
bytes
103.889: AnalyzeDiskUsage: Skipping EstimateDiskUsageForUninstall.
103.889: Drive C: free 12868MB req: 7MB w/uninstall: NOT CALCULATED.
103.889: CabinetBuild complete
103.889: Num Ticks for Cabinet build : 40
103.889: DynamicStrings section not defined or empty.
104.019: FileInUse:: Added to Filelist: c:\windows\wdf01005.cat
104.019: FileInUse:: Added to Filelist:
c:\windows\system32\drivers\wdfldr.sys
104.019: FileInUse:: Added to Filelist:
c:\windows\system32\drivers\wdf01000.sys
104.630: FileInUse:: PrintTasksUsingModule: No tasks found using
c:\windows\wdf01005.cat
104.811: FileInUse:: PrintTasksUsingModule: No tasks found using
c:\windows\system32\drivers\wdfldr.sys
105.031: FileInUse:: PrintTasksUsingModule: No tasks found using
c:\windows\system32\drivers\wdf01000.sys
106.022: LoadFileQueues: UpdSpGetSourceFileLocation for halacpi.dll failed:
0xe0000102
106.453: Num Ticks for Backup : 2564
107.645: Num Ticks for creating uninst inf : 1192
107.705: Registering Uninstall Program for -> Wdf01005, Wdf01005 , 0x0
108.356: LoadFileQueues: UpdSpGetSourceFileLocation for halacpi.dll failed:
0xe0000102
109.307: System Restore Point set.
109.638: Copied file: C:\WINDOWS\system32\spmsg.dll
111.490: PFE2: Not avoiding Per File Exceptions.
111.650: GetCatVersion: Failed to retrieve version information from
C:\WINDOWS\system32\CatRoot{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Wdf01005.cat
with error 0x57
111.711: GetCatVersion: Failed to retrieve version information from
C:\WINDOWS\Wdf01005.cat with error 0x80092004
112.392: Copied file: C:\WINDOWS\system32\DRIVERS\wdfldr.sys
112.612: Copied file: C:\WINDOWS\system32\DRIVERS\wdf01000.sys
114.224: DoInstallation: Installing assemblies with source root path:
c:\1f121840489f8ddf6f86692a3d73db00<br>114.224: Num Ticks for Copying files : 6579
114.284: Num Ticks for Reg update and deleting 0 size files : 60
114.344: ---- Old Information In The Registry ------
114.354: Source:C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll
(7.0.7.142)
114.354: Destination:
114.354: Source:C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll
(7.0.7.142)
114.354: Destination:
114.525: Source:C:\Program Files\Adobe\Acrobat 7.0\ActiveX\TBM2B.tmp
(7.0.9.50)
114.525: Destination:C:\Program Files\Adobe\Acrobat
7.0\ActiveX\AcroIEHelper.dll (7.0.7.142)
114.665: Source:C:\Config.Msi\66e38f.rbf (7.0.0.0)
114.665: Destination:
114.775: Source:C:\Config.Msi\66e3a1.rbf (3.2.402.1)
114.775: Destination:
114.895: Source:C:\Config.Msi\66e3a5.rbf (2.7.28.1)
114.895: Destination:
115.186: Source:C:\Config.Msi\66e3a7.rbf (7.0.8.218)
115.186: Destination:
115.306: Source:C:\Config.Msi\66e3ab.rbf (4.14.45.1)
115.306: Destination:
115.456: Source:C:\Config.Msi\66e3ac.rbf (1.1.18.1)
115.456: Destination:
115.576: Source:C:\Config.Msi\66e3ad.rbf (5.1.41.1)
115.576: Destination:
115.716: Source:C:\Config.Msi\66e3b1.rbf (1.0.0.3)
115.716: Destination:
115.746: Source:C:\Config.Msi\66e3bb.rbf (7.0.5.0)
115.746: Destination:
115.746: ---- New Information In The Registry ------
115.746: Source:C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll
(7.0.7.142)
115.746: Destination:
115.746: Source:C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll
(7.0.7.142)
115.746: Destination:
115.746: Source:C:\Program Files\Adobe\Acrobat 7.0\ActiveX\TBM2B.tmp
(7.0.9.50)
115.746: Destination:C:\Program Files\Adobe\Acrobat
7.0\ActiveX\AcroIEHelper.dll (7.0.7.142)
115.746: Source:C:\Config.Msi\66e38f.rbf (7.0.0.0)
115.746: Destination:
115.746: Source:C:\Config.Msi\66e3a1.rbf (3.2.402.1)
115.746: Destination:
115.746: Source:C:\Config.Msi\66e3a5.rbf (2.7.28.1)
115.746: Destination:
115.746: Source:C:\Config.Msi\66e3a7.rbf (7.0.8.218)
115.746: Destination:
115.746: Source:C:\Config.Msi\66e3ab.rbf (4.14.45.1)
115.746: Destination:
115.746: Source:C:\Config.Msi\66e3ac.rbf (1.1.18.1)
115.746: Destination:
115.746: Source:C:\Config.Msi\66e3ad.rbf (5.1.41.1)
115.746: Destination:
115.746: Source:C:\Config.Msi\66e3b1.rbf (1.0.0.3)
115.746: Destination:
115.746: Source:C:\Config.Msi\66e3bb.rbf (7.0.5.0)
115.746: Destination:
182.252: UpdateSpUpdSvcInf: Source [ProcessesToRunAfterReboot] section is
empty; nothing to do.
184.415: RebootNecessary = 0,WizardInput = 1 , DontReboot = 1, ForceRestart
= 0
1.162:
================================================================================


according to your indication, problem is checked version of os(or not)??
so then how can I detect “checked version of os( or not )” programmatically
at install time?

Thanks.

wrote in message news:xxxxx@ntdev…
> You are not supposed to run the installer by yourself, it is supposed to
> be executed through the KMDF coinstaller only. If you want to see why the
> install failed, look at setupapi.log and wdf01005inst.log. read
> http://blogs.msdn.com/doronh/archive/2006/08/31/734412.aspx for all the
> possible spots that could indicate what went wrong.
>
> d
>
>