From: =?UTF-8?Q?Samuli_Sepp=c3=a4nen?= Message-ID: Date: Thu, 30 Jun 2016 18:04:28 +0300 MIME-Version: 1.0 Subject: [Openvpn-devel] Windows service changes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15"; format=flowed Content-Transfer-Encoding: quoted-printable To: "openvpn-devel@lists.sourceforge.net" Hi, I integrated openvpnserv2 to the NSI installer today. A test installer=20 is available here: This installer bundles two service binaries, openvpnserv.exe and=20 openvpnserv2.exe. These binaries register three different system services: 1) OpenVPNService ("OpenVPN Service") This service comes from openvpnserv2.exe. Its "startupmode" is set to=20 "manual", so that VPN connections do not suddenly start launching behind=20 the user's back. Previously "OpenVPNService" name was registered by the "automatic" part=20 of openvpnserv.exe. The old name was retained here to make upgrades as=20 smooth as possible, and to encourage people to actually use the new (and=20 better) service. 2) OpenVPNServiceInteractive ("OpenVPN Interactive Service") This service is registered by openvpnserv.exe. This part is still very=20 useful, as it allows OpenVPN GUI to be used without admin privileges. Right now this service has "startupmode" hardcoded to "automatic" in=20 src/openvpnserv/interactive.c. 3) OpenVPNServiceLegacy ("OpenVPN Legacy Service") For the time being the old OpenVPN service wrapper will be available as=20 a fallback. Based on issues people have been having with it it will not=20 be sorely missed. The "startupmode" for this is set to "manual". --- The installer linked to above implement all of the above. However, these=20 three changes are required for things to work properly: The only thing missing is launching the "Interactive Service" at install=20 time, and adding a checkbox "Enable Interactive Service" to the=20 installer, as agreed upon in this email thread: Let me know if you have any comments regarding these changes. --=20 Samuli Sepp=E4nen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock