tis-openvpn icon

OpenVPN 2.6.14-I001 x86 (2.6.1401)

Paquet d’installation silencieuse pour OpenVPN 2.6.14-I001 x86 (2.6.1401)

2.6.1401-49

  • package: tis-openvpn
  • name: OpenVPN 2.6.14-I001 x86 (2.6.1401)
  • version: 2.6.1401-49
  • categories: System and network,Drivers,Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
  • editor: OpenVPN Inc.
  • licence: GNU GPL
  • locale: all
  • target_os: windows
  • impacted_process: openvpn,openvpn-gui,openvpnserv,openvpnserv2
  • architecture: x86
  • signature_date:
  • size: 5.08 Mo
  • installed_size: 7.63 Mo
  • homepage : https://openvpn.net/

package           : tis-openvpn
version           : 2.6.1401-49
architecture      : x86
section           : base
priority          : optional
name              : OpenVPN 2.6.14-I001 x86 (2.6.1401)
categories        : System and network,Drivers,Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
description       : OpenVPN Client is an open source VPN client software
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://openvpn.net/community-downloads/
installed_size    : 7632442
impacted_process  : openvpn,openvpn-gui,openvpnserv,openvpnserv2
description_fr    : OpenVPN Client est un logiciel de client VPN open source
description_pl    : OpenVPN Client jest oprogramowaniem klienckim VPN typu open source
description_de    : OpenVPN Client ist eine quelloffene VPN-Client-Software
description_es    : OpenVPN Client es un software cliente VPN de código abierto
description_pt    : OpenVPN Client é um software cliente VPN de código aberto
description_it    : OpenVPN Client è un software client VPN open source
description_nl    : OpenVPN Client is een open source VPN-clientsoftware
description_ru    : OpenVPN Client - это клиентское программное обеспечение VPN с открытым исходным кодом
audit_schedule    : 
editor            : OpenVPN Inc.
keywords          : openvpn,vpn,private,network
licence           : GNU GPL
homepage          : https://openvpn.net/
package_uuid      : 1cae4d47-424f-48ac-87e3-07c014e4fc74
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 18848bc4babf25a75264225d9fd7251453186e19518d4426680a8d93b3c81cdb
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-04-07T19:08:50.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : vvuXYDQjDUpXJHpLHh/jMv13qW9N/6cRo/TUtUBQovuEfaq7skV6LPpJ62uu4LEHUeWC0T+TTr/m/2zH+apHf9SkilP4G/L44LKz//eflhEP6s8pHzxFnZVhLfutefIpW58a9f51VfA3wo7h04DTHHu/E77WA3N1ACy3yV3z2Gxqc9C6AVegFkd5/00eVKd4uxnsgCoP06LLDEBHSnRb8ilQ2v97iPAlxkcEUyl0fPTw9y9y6FIC1u5Vq9i2qxZobTz3x5RhktWZiT8wRIfLOv0/N/QyoAxQ40sy4G819gosQQZPbNNACkcLRxupkttDYosuW8Rvr8yDwL8Xg5UStA==

# -*- coding: utf-8 -*-
from setuphelpers import *

# OpenVPN.GUI,OpenVPN.Service,OpenVPN.Documentation,OpenVPN.SampleCfg,Drivers.OvpnDco,OpenSSL,EasyRSA,OpenVPN,OpenVPN.GUI.OnLogon,OpenVPN.PLAP.Register,Drivers,Drivers.TAPWindows6,Drivers.Wintun
properties = {
    "ADDLOCAL": "OpenVPN.GUI,OpenVPN.Service,OpenVPN,Drivers,Drivers.Wintun,Drivers.TAPWindows6,Drivers.OvpnDco"
}  # ,OpenVPN.GUI.OnLogon,Drivers.OvpnDco


def install():
    # declaring local variables
    bin_name = glob.glob("OpenVPN-*.msi")[0]

    # Uninstalling specific versions of the software
    for to_uninstall in installed_softwares(name="OpenVPN "):
        if Version(to_uninstall["version"]) > Version("2.6") and Version(to_uninstall["version"]) <= Version("2.6.010"):
            print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
            killalltasks(control.get_impacted_process_list())
            run(uninstall_cmd(to_uninstall["key"]))
            wait_uninstallkey_absent(to_uninstall["key"])

    # adding "OpenVPN Inc."" and "WireGuard LLC" trusted driver certificates
    try:
        run('"%s" -addstore TrustedPublisher "%s"' % (makepath(system32, "certutil.exe"), makepath(basedir, "openvpn.cer")), timeout=60)
        run('"%s" -addstore TrustedPublisher "%s"' % (makepath(system32, "certutil.exe"), makepath(basedir, "wireguard.cer")), timeout=60)
    except:
        print("WARNING: Required Publisher Driver certificates have not been applied, you may need to apply them manually or with GPO")

    # installing the package
    install_msi_if_needed(
        bin_name,
        properties=properties,
        min_version=get_msi_properties(bin_name)["ProductVersion"],
    )

    # Removing application's desktop shortcut if allowed
    if params.get("remove_desktop_shortcut"):
        remove_desktop_shortcut("OpenVPN GUI")


def uninstall():
    # removing "OpenVPN Inc." and "WireGuard LLC" trusted driver certificates
    try:
        run('"%s" -delstore TrustedPublisher "OpenVPN Inc."' % (makepath(system32, "certutil.exe")), timeout=60)
        run('"%s" -delstore TrustedPublisher "WireGuard LLC"' % (makepath(system32, "certutil.exe")), timeout=60)
    except:
        print("WARNING: Driver certificates have not been removed")

# -*- coding: utf-8 -*-
from setuphelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    url = "https://openvpn.net/community-downloads/"
    arch_dict = {"x64": "amd64", "x86": "x86"}

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", "class", "ov-button", proxies=proxies):
        if arch_dict[control.architecture] in bs_search.text:
            latest_bin = bs_search.text
            version = latest_bin.split("-")[1]
            download_url = bs_search["href"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin)
    # if not version_from_file.startswith(version) and version_from_file != "":
    if Version(version_from_file) != Version(version) and version_from_file != "":
        print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
        # os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")

    # Changing name of the package
    # OpenVPN 2.6.0-I004 amd64 (2.6.009)
    control.name = get_msi_properties(latest_bin)["ProductName"] + " (%s)" % get_msi_properties(latest_bin)["ProductVersion"]

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin.split("-")[1], filename_contains=latest_bin.split("-")[3])

    # Validating or not update-package-sources
    return package_updated

3bc803edac9e702ff8472d02955732909325f869536ff2123f80942339e6739a : OpenVPN-2.6.14-I001-x86.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
55a446a237295af0ee6be080442fc91e58a8ec132317005a9388d788641b70b9 : WAPT/changelog.txt
1e6a4473d73f48c0bab33098223337f8d0ff43293389a85ed5f7bd59a8b269b5 : WAPT/control
18848bc4babf25a75264225d9fd7251453186e19518d4426680a8d93b3c81cdb : WAPT/icon.png
c1fb7ea55166f371016b2eb4265402007d1b4c9f9e1d9f7b82f33629681b6a96 : luti.json
b36e7095cb428e8c3a3f2bbdc35977116e4521da5e3abee70ebc5b383bbd3ee7 : openvpn.cer
aaa7ec681a526d07c1f1627816cc03ee885dd782cf714ba6777341632b3da6ed : setup.py
e4a12926d24f3a0d78d000cdcba69495b1f5cffde09985d7710b33aac319cc37 : update_package.py
902be7b0c43f00b84ccbf56b21860f981667bf95f9b98bdeec7613d265614699 : wireguard.cer

-48
===
Adding Drivers.OvpnDco feature


2.6.10-46
===
"Drivers.Wintun,Drivers.TAPWindows6" properties were missing by default ; package reinstalls affected versions

2.6.10-44
===
Using file version number to handle editor mistakes
WARNING: you must quickly completely uninstall "OpenVPN 2.6.0-I003" or deploy this package
Show specific filename in control.name

2.5.7-36
===
Removing application's desktop shortcut if allowed
Re-Enabling: Run on startup manually
Switch update_package()