> * Gert Doering <g...@greenie.muc.de>:
>> Hi,
>>
>> On Thu, Dec 05, 2013 at 09:52:08AM +0100, Ralf Hildebrandt wrote:
>>> Problem: Even upon reinstallation with correct (default) paths, the
>>> error message above tends to stick.
>>>
>>> Where is that path stored? How can I fix this?
>> As far as I understand, it's stored at installation time in the registry,
>> and *should* be deleted upon deinstall.  Samuli, Heiko?
> Of course I cannot trust my users, but at some time one user came
> around and deinstallation DID NOT delete the values.
The 2.3.2 installer does not delete any OpenVPN-GUI registry keys when
OpenVPN is uninstalled - only the GUI executable and the desktop icon:

    !ifdef USE_OPENVPN_GUI
        Delete "$INSTDIR\bin\openvpn-gui.exe"
        Delete "$DESKTOP\${PACKAGE_NAME} GUI.lnk"
    !endif

When OpenVPN-GUI is launched the first time (as admin) it creates the
registry keys it needs, which include the location of the OpenVPN
executable. Moreover, it does not update the registry keys if OpenVPN is
relocated, e.g. by reinstalling it. Afaik the only way to fix this
situation is to manually remove the entire OpenVPN-GUI registry entry
entirely and then start OpenVPN-GUI as admin. This way correct registry
keys will be regenerated.

I fixed this problem along with some others by creating a separate NSIS
installer for OpenVPN-GUI. This installer is not, however, included in
2.3.x, and probably never will, because it might cause other issues
which we don't want in stable releases. It will be bundled with the
upcoming OpenVPN 2.4 installers, though.

-- 
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to