Changes between Initial Version and Version 1 of openvpn-gui-reinstall-to-different-path-breaks-it


Ignore:
Timestamp:
05/22/14 13:27:33 (10 years ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • openvpn-gui-reinstall-to-different-path-breaks-it

    v1 v1  
     1This FAQ entry was originally taken from [http://thread.gmane.org/gmane.network.openvpn.user/34867 this email thread].
     2
     3----
     4
     5I installed openvpn to a wrong folder, then I reinstalled and installed it to the correct folder. Now I'm getting:
     6
     7{{{
     8CreateProcess failed, exe=’D:\Lukas\Apps\personalVPN\bin\openvpn.exe’ cmdline=’openvpn—version’ dir=’D:\Lukas\Apps\personalVPN\bin’
     9}}}
     10
     11How can that be fixed?
     12
     13----
     14
     15This happens because OpenVPN-GUI adds it's registry keys when it launches the first time (as an administrator) but never ever validates or changes them again. Basically OpenVPN-GUI is looking for openvpn.exe from the old location and gets confused. In the upcoming 2.4 releases this problem will be fixed, as openvpn-gui has it's own installer which should do a pretty good job at automatically sorting out this kind of problems.
     16
     17For now you can fix this by either removing OpenVPN-GUI's registry keys (HKEY_LOCAL_MACHINE\Software\OpenVPN-GUI) and running OpenVPN-GUI (as an admin), or by changing the value of the registry key which tells OpenVPN-GUI where to look for openvpn.exe.