OpenVPN provides flexible VPN solutions to secure your data communications, whether it's for Internet privacy, remote access for employees, securing IoT, or for networking Cloud data centers.
This Chocolatey package:
These steps were needed in order to fix the following upstream bug:
This Chocolatey package considers the following upstream parameters. By default, when not specified, they are considered as being set to
/SELECT_OPENVPN: Install OpenVPN user-space components, including openvpn.exe.
/SELECT_OPENVPNGUI: Install OpenVPN GUI by Mathias Sundman.
/SELECT_TAP: Install/upgrade the TAP virtual device driver.
/SELECT_EASYRSA: Install OpenVPN RSA scripts for X509 certificate management. Due to popular demand and contrary to the upstream installer, this Chocolatey package is installing them by default.
/SELECT_OPENSSLDLLS: Install OpenSSL DLLs locally (may be omitted if DLLs are already installed globally).
/SELECT_LZODLLS: Install LZO DLLs locally (may be omitted if DLLs are already installed globally).
/SELECT_PKCS11DLLS: Install PKCS#11 helper DLLs locally (may be omitted if DLLs are already installed globally).
/SELECT_SERVICE: Install the OpenVPN service wrappers.
/SELECT_OPENSSL_UTILITIES: Install the OpenSSL Utilities (used for generating public/private key pairs).
/SELECT_PATH: Add OpenVPN executable directory to the current user's PATH.
/SELECT_SHORTCUTS: Add OpenVPN shortcuts to the current user's desktop and start menu.
/SELECT_ASSOCIATIONS: Register OpenVPN config file association (*.ovpn).
/SELECT_LAUNCH: Launch OpenVPN GUI on user logon.
Setting options to
0 while previous installations defined them to
1 won't necessarily disable/remove the feature. This hugely depends on the underling upstream installer. e.g. if you set
/SELECT_TAP=0 while the TAP driver has been previously installed by other means, this doesn't automatically uninstall the TAP driver.
Using these parameters is done like described in the Chocolatey docs. e.g. to prevent desktop and start menu shortcuts and file associations from being created, use the following command:
choco install openvpn --params "'/SELECT_SHORTCUTS=0 /SELECT_ASSOCIATIONS=0'"
An additional Chocolatey package argument (
/USING_INTUNE=1) is available to remove tests potentially failing with the Microsoft Intune deployment tool.