Error installing OpenVPN

P

Perro Flaco

Hi everybody!

I'm trying to install OpenVPN in my Windows XP Embedded. Everything is
ok except when it tries to install the TAP-Win32 adapter. I got this
message:

---
tapinstall install returned: 2
tapinstall cumulative status: 2
---

I've been reading about it, and I found this:

---
The TAP driver will not install on Windows XP 64 bit edition. Here's
the log:

tapinstall hwids returned: 0
TAP-Win32 REMOVE OLD TAP
No devices removed.
tapinstall remove TAP returned: 0
No devices removed.
tapinstall remove TAPDEV returned: 0
TAP-Win32 INSTALL (tap0801)
tapinstall.exe failed.
tapinstall install returned: 2
tapinstall cumulative status: 2
---

This is weird, I'm getting the same message but using Windows XP
Embedded :blush:.

Has anybody tried to install OpenVPN in XP Embedded? I haven't found
any information about this, and I hope you can help me.

Thanks in advanced!!!
 
P

Perro Flaco

Well, now I guess I know the problem, but I don't know how to fix it
yet. If I install OpenVPN in my Windows XP, when it tries to install
the TAP-Win32 adapter, it prompts telling me that the hardware hasn't
pass the "Hardware Compatibility Test" of Windows. The problem is that
in Windows XP Embedded, it doesn't ask me this. Simply it doesn't allow
me to install the TAP-Win32 adapter, without giving me the oportunity
to install it.

Any idea?

Thank you!
 
K

KM

Perro,

You may want to try to disable driver signing on your image.
To do that add the following registry keys:
[HKLM\SOFTWARE\Microsoft\Driver Signing],"Policy"=00 (REG_BINARY)

KM
 
P

Perro Flaco

I've spent two days trying to disable driver signing but without any
success. Only doing this little change in the registry doesn't fix the
problem. It doesn't let me install the driver for the OpenVPN
(tapWin32). It doesn't even ask me if I want to install it (now, I
would accept that as a perfect solution).

I know I can include "Driver Signing User Interface" component, so I
can go to Control Panel and disable driver signing, but I don't want to
do that, because the application doesn't have the "explorer shell".

Now, I am going to include the following: FBA: Driver Signing,
Signature Verifier; but I don't have much faith that this can solve my
problem.

Please, if anybody knows how to do this, help me!!!

Thanks in advanced!

(Thanks KM for your response)
 
K

KM

Perro,

Just to make it clear, did you try setting [HKLM\SOFTWARE\Microsoft\Driver Signing],"Policy"=0 ?


=========
Regards,
KM
 
P

Perro Flaco

Yes, and it didn't work :(

By the way, I found a piece of code that let you set what you told me
in the registry
[HKLM\SOFTWARE\Microsoft\Driver Signing],"Policy"=0, among other things
that are necesary to avoid the "Hardware Compatibility Test" (just
setting what you told me, it is not enough). Again, it works OK in
Windows XP Professional, but I found more problems in XP Embedded.

If you have any suggestion, please let me know.
 
P

Perro Flaco

I found the problem. I added the "Add Hardware Control Panel" and now
it's working (I don't know why yet). It asks me if I want to install
it, I can click on YES and that's all.

My VPN is working pretty well :)

Thanks!
 
K

KM

Perro,

Sorry, I wasn't careful enough while reading your previous messages.
It is obvious why including the Add Hardware Wizard helped you to fix the issue - you were *manually* installing the VPN client at
run time.

You may want to consider componentizing the software (since there are non PnP driver there you would need to capture the right
registry entries for those or just import INF files).
Then you won't need the unnecessary Add Hardware Wizard component in your image.

http://msdn.microsoft.com/library/e...bsComponentizingApplicationsDeviceDrivers.asp

=========
Regards,
KM
 
Joined
Jan 15, 2010
Messages
3
Reaction score
0
I am trying to install OPENVPN on VISTA Ultimate and I get " TAPI Error 0x80000022 " i.e it does not install the TAPI in the process..any idea what to do? I tried most version of the VPNs available on the VPN website and still the same result..thank you in advance or the help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top