Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-25 Thread Илья Шипицин
2016-11-26 0:55 GMT+05:00 Selva Nair : > > On Fri, Nov 25, 2016 at 10:27 AM, Gert Doering > 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 >>

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-25 Thread Selva Nair
On Fri, Nov 25, 2016 at 10:27 AM, Gert Doering 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

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-25 Thread Marvin
Yes, as long as we can specify any switches from the new installer itself. For instance, this is the cli we use for programatically (script) installing/updating: "...\openvpn-install-2.xxx /S /SELECT_SHORTCUTS=0 /SELECT_OPENVPNGUI=0" I imagine there will be more switches required with the 2.4+

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-25 Thread Marvin Adeff
How about a "preferences" file in %Users%\AppData...? The installer would apply whatever basic choices during install (%defaultUser%\AppData). Then a user could set his personal preferences which WinGUI would save to %Users%\AppData. Sent from my iPhone > On Nov 25, 2016, at 8:39 AM, Selva

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-25 Thread David Sommerseth
On 25/11/16 16:35, Илья Шипицин wrote: > > > 2016-11-25 20:27 GMT+05:00 Gert Doering >: > > 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

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-25 Thread Selva Nair
Typo alert: On Fri, Nov 25, 2016 at 11:39 AM, Selva Nair wrote: > reg add HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run > /v "OPENVPN-GUI" /d "path_to_openvpn_gui" /t REG_SZ /f" > That should be HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-25 Thread Selva Nair
On Fri, Nov 25, 2016 at 10:27 AM, Gert Doering wrote: > 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 > >

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-25 Thread Илья Шипицин
2016-11-25 20:27 GMT+05:00 Gert Doering : > 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 > >

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-25 Thread Gert Doering
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 >

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-25 Thread Selva Nair
On Fri, Nov 25, 2016 at 9:00 AM, Илья Шипицин wrote: > >> >>> 2) enable openvpn-gui startup in HKLM >>> >> >> This will make the "launch on startup" toggle in the gui settings dialog >> meaningless. >> > > > not meaningless. > I think, it makes sense if gui will check both

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-25 Thread Илья Шипицин
2016-11-25 18:56 GMT+05:00 Selva Nair : > > On Fri, Nov 25, 2016 at 8:21 AM, Илья Шипицин > wrote: > >> >> I need an advice, what to do next >> >> 1) do nothing >> > > What about recreating the HKLM\Software\OpenVPN regkey in full at install? > Was the

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-25 Thread Selva Nair
On Fri, Nov 25, 2016 at 8:21 AM, Илья Шипицин wrote: > > I need an advice, what to do next > > 1) do nothing > What about recreating the HKLM\Software\OpenVPN regkey in full at install? Was the consensus to leave it as is? > 2) enable openvpn-gui startup in HKLM > This

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-25 Thread Илья Шипицин
hello, I need an advice, what to do next 1) do nothing 2) enable openvpn-gui startup in HKLM 3) add http://nsis.sourceforge.net/UAC_plug-in to installer ? 2016-11-22 0:51 GMT+05:00 Илья Шипицин : > > > 2016-11-22 0:46 GMT+05:00 Gert Doering : > >>

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-25 Thread Илья Шипицин
2016-11-22 0:56 GMT+05:00 Marvin Adeff : > Hi, > > Power User Perspective: > Please ensure that these [X] selections can be controlled (as in > "disabled") if openvpn is installed by command line (quiet mode). > when installing in silent mode, you can specify any switches,

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-21 Thread Marvin Adeff
Hi, Power User Perspective: Please ensure that these [X] selections can be controlled (as in "disabled") if openvpn is installed by command line (quiet mode). Thanks, Marvin Adeff > On Nov 21, 2016, at 11:46 AM, Gert Doering wrote: > > Hi, > >> On Tue, Nov 22, 2016 at

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-21 Thread Gert Doering
Hi, On Mon, Nov 21, 2016 at 02:54:13PM -0500, Selva Nair wrote: > On Mon, Nov 21, 2016 at 2:41 PM, ?? > wrote: > > > should we also start openvpn-gui if "launch gui on windows startup" is > > selected ? > That would start the GUI with admin rights,

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-21 Thread Gert Doering
Hi, On Tue, Nov 22, 2016 at 12:51:21AM +0500, ?? wrote: > > I tend to de-couple this - what about a second checkbox "launch gui now"? > > I like the approach of starting services: > > https://github.com/OpenVPN/openvpn-build/blob/master/windows-nsis/openvpn.nsi#L540 > > if

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-21 Thread Selva Nair
On Mon, Nov 21, 2016 at 2:41 PM, Илья Шипицин wrote: > should we also start openvpn-gui if "launch gui on windows startup" is > selected ? That would start the GUI with admin rights, so we should not start the GUI. Selva

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-21 Thread Илья Шипицин
2016-11-22 0:46 GMT+05:00 Gert Doering : > Hi, > > On Tue, Nov 22, 2016 at 12:41:24AM +0500, ?? wrote: > > should we also start openvpn-gui if "launch gui on windows startup" is > > selected ? > > I tend to de-couple this - what about a second checkbox

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-21 Thread Gert Doering
Hi, On Tue, Nov 22, 2016 at 12:41:24AM +0500, ?? wrote: > should we also start openvpn-gui if "launch gui on windows startup" is > selected ? I tend to de-couple this - what about a second checkbox "launch gui now"? (With both defaulting to [X] checked) gert -- USENET is

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-21 Thread Илья Шипицин
should we also start openvpn-gui if "launch gui on windows startup" is selected ? 2016-11-22 0:13 GMT+05:00 Илья Шипицин : > > > 2016-11-16 23:47 GMT+05:00 Gert Doering : > >> Hi, >> >> On Wed, Nov 16, 2016 at 11:39:04PM +0500, ??

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-21 Thread Илья Шипицин
2016-11-16 23:47 GMT+05:00 Gert Doering : > Hi, > > On Wed, Nov 16, 2016 at 11:39:04PM +0500, ?? wrote: > > > Samuli, Ilya, any idea how hard this is to do? > > > > it is trivial. > > Cool :-) > https://github.com/OpenVPN/openvpn-build/pull/50 as for

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-16 Thread Илья Шипицин
2016-11-16 23:35 GMT+05:00 Gert Doering : > Hi, > > On Wed, Nov 16, 2016 at 11:04:29PM +0500, ?? wrote: > > very common answer was "it would be great if openvpn-gui could start > > automatically" > > Weird thing is that I seem to remember that it *used*

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-16 Thread Gert Doering
Hi, On Wed, Nov 16, 2016 at 11:39:04PM +0500, ?? wrote: > > Samuli, Ilya, any idea how hard this is to do? > > it is trivial. Cool :-) > I'm going to finish "x86 + x64" installer. The next thing is "check for > .net 4 if openvpnserv2 is checked" and third maybe "start

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-16 Thread Gert Doering
Hi, On Wed, Nov 16, 2016 at 11:04:29PM +0500, ?? wrote: > very common answer was "it would be great if openvpn-gui could start > automatically" Weird thing is that I seem to remember that it *used* to have such a button... but that might be "some other piece of windows".

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-16 Thread Илья Шипицин
2016-11-16 23:12 GMT+05:00 Selva Nair : > > On Wed, Nov 16, 2016 at 1:04 PM, Илья Шипицин > wrote: > >> recently we asked our 900+ users what do they think about our openvpn >> installation. >> >> very common answer was "it would be great if

Re: [Openvpn-devel] launch openvpn-gui at windows startup

2016-11-16 Thread Selva Nair
On Wed, Nov 16, 2016 at 1:04 PM, Илья Шипицин wrote: > recently we asked our 900+ users what do they think about our openvpn > installation. > > very common answer was "it would be great if openvpn-gui could start > automatically" > > I guess most of people do not go to