Hi,

On Fri, Nov 25, 2016 at 11:39 PM, Илья Шипицин <chipits...@gmail.com> wrote:

>
>
> 2016-11-26 0:55 GMT+05:00 Selva Nair <selva.n...@gmail.com>:
>
>>
>>
>>>
>> I have posted a PR (https://github.com/OpenVPN/openvpn-build/pull/55) using
>> an active-setup registry entry to do this. It will automatically add the
>> required HKCU entry when the user logs-in. As this happens early in the
>> login process (before startup registry key is evaluated) the GUI will
>> startup even on the first login.
>>
>> Should works also for new users, and the user can change override it
>> using the option in GUI settings menu. Changes to the nsis file is minor
>> too.
>>
>
> good.
>
> except for minor issue with not removing HKCU key on uninstall (however,
> it is not removed without that patch too)
>

Aha, I did not consider that. But that is easily fixed.

During uninstall  instead of removing the active setup key we just have to
set IsInstalled=0 and replace StubPath by a command to remove the HKCU reg
entry when user logs in next time after uninstall. The rest will happen
automatically.

I will push a fixup commit.

Selva
------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to