2016-11-26 0:55 GMT+05:00 Selva Nair <selva.n...@gmail.com>: > > On Fri, Nov 25, 2016 at 10:27 AM, Gert Doering <g...@greenie.muc.de> > wrote: > >> Hi, >> >> On Fri, Nov 25, 2016 at 09:38:31AM -0500, Selva Nair wrote: >> > Even if the GUI cjecks HKLM and HKCU, toggling the option will not work >> as >> > the GUI cannot reset HKLM values. We do not want to be requiring admin >> > rights to run the GUI and that option becomes "readonly" for the user if >> > startup is set in HKLM. >> >> How do other packagages handle "this is the system default, but users >> can change their own setting"? (So the admin could say "I want this >> started >> by default, for all users" and individual users can uncheck this "leave >> me alone!") >> >> Just thinking aloud, no idea how much effort this is, and whether it's >> a useful consideration in the first place. >> >> > 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) > > Selva >
------------------------------------------------------------------------------
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel