17
edits
Changes
OpenVPN
,Easier install on Windows 10 hosts with the openvpn driver certificate
[http://www.dualsoft.net/majstorije/?p=6 DriverSigning-On/Off tool] or direct link [http://www.boot-land.net/forums/index.php?act=attach&type=post&id=4073 DriverSigning.zip] (you have to register on forum). This tool removes the window that pops-up when unsigned driver installation is required. OpenVPN installs the TAP driver interface.
''If you can't find it there, try: http://bit.ly/jlpBO9 or [http://reboot.pro/topic/3095-how-to-circumvent-driver-signing-policy-elevation/?p=27510 here]''
==Alternative installation by Vince==
It installs the Openvpn certificate first, that allows to get rid of the drivers install confirmation popup.
Tested on Windows 10, it may not working on Windows 7.
A) Install first openvpn on a temporary host and extract the certificate as openvpn.cer via certmgr.msc
B) Copy the openvpn.cer into your openvpn install folder, on your wpkg server
C) Copy your config(s) file(s) info the "config" subfolder
<source lang="xml">
<packages>
<package
id="Openvpn"
name="OpenVPN"
revision="%version%"
reboot="false"
priority="0">
<variable name="version" value="2.4.3-I602" />
<check type='uninstall' condition='exists' path='OpenVPN .+' />
<install cmd='certutil -addstore TrustedPublisher %SOFTWARE%\Openvpn\openvpn.cer' />
<install cmd='"%SOFTWARE%\Openvpn\openvpn-install-%version%.exe" /S /SELECT_SHORTCUTS=0 ' />
<install cmd='%COMSPEC% /c copy "%SOFTWARE%\Openvpn\config\*.*" "%PROGRAMFILES%\OpenVPN\config\"' />
<install cmd='ping -n 10 127.0.0.1' />
<!--<install cmd='sc start openvpnservice' />-->
<remove cmd='%COMSPEC% /c del /q "%PROGRAMFILES%\OpenVPN\config\*.*"' />
<remove cmd='"%PROGRAMFILES%\OpenVPN\Uninstall.exe" /S' />
<remove cmd='ping -n 10 127.0.0.1' />
</package>
</source>
==Alternative installation by SkyBeam==