Skip to contentSkip to conversation

Problem with installation on Windows7 (64bit)

Openvpn-devel Jan Just Keijser 1 participant 1 message Jul 21, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]...

#1 lore raw

Hi Ralf,

Quoted 19 lines · Ralf Hildebrandt

After installation of openvpn-2.1.1, I was able to start openvpn-gui as NORMAL user (not admin). No problems there.

But in order to actually *use* openvpn, I have to start openvpn-gui via "run as admin". When I would do that, openvpn gui would report:

CreateProcess failed, exe='C:\Program Files\OpenVPN\bin\openvpn.exe' cmdline='openvpn --version' dir='c:\Program Files\OpenVPN\bin'

Alas, this path does indeed not exist, since OpenVPN installed itself into:

C:\Program Files (x86)\OpenVPN
not
C:\Program Files\OpenVPN

so I deinstalled everything and during reinstallation I overrode the default installation path to:

Quoted 8 lines

C:\Program Files\OpenVPN

and after that it would work, even when run as admin.

What's wrong here? Why does it choose C:\Program Files (x86)\OpenVPN during installation but expects C:\Program Files\OpenVPN during runtime?

see for example

http://www.sevenforums.com/general-discussion/30857-installing-program-files-x86.html

openvpn is a 32bit program using a 64bit driver; the windows 7 installer decides to place openvpn in the 32bit folder unless you override this. I guess the proper solution is to build a 64bit version of openvpn for windows Vista/7/2003 64bit
(I'm including the -devel list to see if anybody has any comments about that :))

cheers,

JJK