Error code: 0x80070002

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
pzr
Level 1
Level 1
Posts: 5
Joined: Mon Sep 05, 2011 9:55 pm

Error code: 0x80070002

Post by pzr »

Hi, I use wine to run an application, the app needs to install a driver, but the app failed with following information. Would you please tell me the meaning of "..failed. Error code: 0x80070002". Thank you very much!

Following is the end part of the error messages.
...
CertMgr Succeeded
Current full path - C:\windows\temp\~ndtmp~\ndisrd.inf
Current miniport full path - C:\windows\temp\~ndtmp~\ndisrd_m.inf
Trying to install 'nt_ndisrd'...
...C:\windows\temp\~ndtmp~\ndisrd.inf was copied to C:\windows\inf\oem0.inf
...C:\windows\temp\~ndtmp~\ndisrd_m.inf was copied to C:\windows\inf\oem1.inf
fixme:advapi:CheckTokenMembership ((nil) 0x1220c8 0x33f1a4) stub!
..failed. Error code: 0x80070002
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Error code: 0x80070002

Post by jjmckenzie »

On 9/5/11 7:58 PM, pzr wrote:
Hi, I use wine to run an application, the app needs to install a driver
Wine cannot support Windows drivers and most likely will not.

The questions I have are:

What is the program name you are trying to install?
What is the name of the product you are trying to install Windows
drivers for?

Thank you.

James
pzr
Level 1
Level 1
Posts: 5
Joined: Mon Sep 05, 2011 9:55 pm

Post by pzr »

The program is freegate 7.16, the app itself will install a driver of its own, not a hardware driver, maybe a network filter. Just now, I tried to put the app under directory drive_c, and starts the app use command:
wine start 'C:\fg716p.exe'

Seems no previous error, but the driver still can't be installed. Any idea?
Following is the end part of the log.

fixme:advapi:CheckTokenMembership ((nil) 0x129b38 0x33ec30) stub!
fixme:crypt:CertAddEncodedCTLToStore (0x12ab60, 00010001, 0x460000, 1666, 00000004, (nil)): stub
fixme:crypt:CertAddEncodedCTLToStore (0x12ab60, 00010001, 0x12b390, 1169, 00000004, (nil)): stub
fixme:crypt:CertEnumCTLsInStore (0x12ab60, (nil)): stub
fixme:crypt:CertEnumCTLsInStore (0x12af40, (nil)): stub
fixme:advapi:CheckTokenMembership ((nil) 0x122130 0x33f1a4) stub!
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Error code: 0x80070002

Post by jjmckenzie »

On 9/5/11 8:48 PM, pzr wrote:
The program is freegate 7.16, the app itself will install a driver of its own, not a hardware driver, maybe a network filter. Just now, I tried to put the app under directory drive_c, and starts the app use command:
wine start 'C:\fg716p.exe'

Seems no previous error, but the driver still can't be installed. Any idea?
Following is the end part of the log.

fixme:advapi:CheckTokenMembership ((nil) 0x129b38 0x33ec30) stub!
fixme:crypt:CertAddEncodedCTLToStore (0x12ab60, 00010001, 0x460000, 1666, 00000004, (nil)): stub
fixme:crypt:CertAddEncodedCTLToStore (0x12ab60, 00010001, 0x12b390, 1169, 00000004, (nil)): stub
fixme:crypt:CertEnumCTLsInStore (0x12ab60, (nil)): stub
fixme:crypt:CertEnumCTLsInStore (0x12af40, (nil)): stub
fixme:advapi:CheckTokenMembership ((nil) 0x122130 0x33f1a4) stub!
Can you capture the entire log and post it to a site like pastebin.com
and then post the URL for the 'pastie' here? Looks like there is more
to this than what is here.

James
pzr
Level 1
Level 1
Posts: 5
Joined: Mon Sep 05, 2011 9:55 pm

Post by pzr »

Would you please tell me use which command to gather entire log?
More information, the app shows a dialog to reboot Windows after it finished the installation. I don't know how to make wine to reboot. Is this the possilble reason?
pzr
Level 1
Level 1
Posts: 5
Joined: Mon Sep 05, 2011 9:55 pm

Post by pzr »

I checked just now. On Windows, the application can put a .sys file under windows\system32\drivers before the appearing of the dialog to reboot the Windows. So, on wine, maybe issues exist.
pzr
Level 1
Level 1
Posts: 5
Joined: Mon Sep 05, 2011 9:55 pm

Post by pzr »

Hi James:
I use command
WINDEBUG=+relay,+seh,+tid wine start 'C:\fg716p.exe' 2>&1 | cat > wine_log.txt
to gather the log info. Since the entire log is not so long, I paste it here. Hope that can help.

fixme:exec:SHELL_execute flags ignored: 0x00000500
fixme:reg:GetNativeSystemInfo (0x579e39) using GetSystemInfo()
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:thread:NtSetInformationThread info class 17 not supported yet
fixme:imagehlp:CheckSumMappedFile (0xcc0000, 1773564, 0x5e4e4f, 0x5e4e53): stub
fixme:debugstr:CheckRemoteDebuggerPresent (0xffffffff)->(0x5eb189): Stub!
fixme:advapi:CheckTokenMembership ((nil) 0x128440 0x33cfc4) stub!
fixme:wininet:InternetGetConnectedStateExW always returning LAN connection.
fixme:wininet:INET_QueryOptionHelper INTERNET_OPTION_PER_CONNECTION_OPTION stub
fixme:wininet:INET_QueryOptionHelper Unhandled dwOption 4
fixme:wininet:INET_QueryOptionHelper Unhandled dwOption 2
fixme:wininet:INET_QueryOptionHelper Unhandled dwOption 3
fixme:wininet:INET_QueryOptionHelper Unhandled dwOption 5
fixme:psapi:EnumDeviceDrivers (0x33c01c, 4096, 0x33bc18): stub
fixme:psapi:EnumDeviceDrivers (0x33bfc8, 4096, 0x33bbc4): stub
fixme:psapi:EnumDeviceDrivers (0x33b204, 4096, 0x33ae00): stub
fixme:advapi:CheckTokenMembership ((nil) 0x129b90 0x33ec30) stub!
fixme:crypt:CertAddEncodedCTLToStore (0x12abc8, 00010001, 0x460000, 1666, 00000004, (nil)): stub
fixme:crypt:CertAddEncodedCTLToStore (0x12abc8, 00010001, 0x12b3f8, 1169, 00000004, (nil)): stub
fixme:crypt:CertEnumCTLsInStore (0x12abc8, (nil)): stub
fixme:crypt:CertEnumCTLsInStore (0x12afa8, (nil)): stub
fixme:advapi:CheckTokenMembership ((nil) 0x122190 0x33f1a4) stub!
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Error code: 0x80070002

Post by jjmckenzie »

On Mon, Sep 5, 2011 at 9:33 PM, pzr <[email protected]> wrote:
I checked just now. On Windows, the application can put a .sys file under windows\system32\drivers before the appearing of
the dialog to reboot the Windows. So, on wine, maybe issues exist.
This is a Windows driver file and Wine cannot support them.

James
Locked