tis-openvpn icon

OpenVPN 2.7.1-I001 amd64 (2.7.101)

Paquet d’installation silencieuse pour OpenVPN 2.7.1-I001 amd64 (2.7.101)

2.7.101-52
System and network
Drivers
Utilities
System and network
Drivers
Utilities

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-openvpn
  • name: OpenVPN 2.7.1-I001 amd64 (2.7.101)
  • version: 2.7.101-52
  • 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: x64
  • signature_date:
  • size: 5.91 Mo
  • installed_size: 7.63 Mo
  • homepage : https://openvpn.net/

package           : tis-openvpn
version           : 2.7.101-52
architecture      : x64
section           : base
priority          : optional
name              : OpenVPN 2.7.1-I001 amd64 (2.7.101)
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          : PREPROD
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      : 32c4e72b-dd9f-49ee-9e28-a7fdc32f83c5
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 18848bc4babf25a75264225d9fd7251453186e19518d4426680a8d93b3c81cdb
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-04-02T13:55:07.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         : Qd4lliV94soP5lcv85NHXKK0NrmITFawoqZyJfJ4YPA9greHxfE/TA+57OTC/akVkAgDidIpSq+F2ikHE0pMiSO57ra55AHU3y2SZeTpW1KgQq4T01Onv3YxoyLMrybBpvMX0TYKs8LRRXWYraNHzvYHsD6BiA331hN3zx3pZqpcVpppa+WK2m7PxMHLqVOWVIsdcjuTKiVCuUpbXt5m8IWq3f0Ct0f9UAQ5aNRcJ/ICM2X2ew9oqkU/yAUGjEPkcC4WkT7YyyGgWT1ZeP98T1DVmJThqiJt3htzstVlZlq+wv/X4c0xTffery4JqkS2EVGTv6j/TJYzErVnvEU1Dg==

# -*- 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")

    # Disabling autostart at start up
    if reg_value_exists(HKEY_CURRENT_USER, makepath('Software', 'Microsoft', 'Windows', 'CurrentVersion', 'Run'), 'OpenVPN-GUI'):
        print('Disabling autostart')
        registry_delete(HKEY_CURRENT_USER, 'Software\\Microsoft\\Windows\\CurrentVersion\\Run', '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", "ovpn-button", proxies=proxies):
        if (not "alpha" in bs_search["href"]) and arch_dict[control.architecture] in bs_search["href"]:
            latest_bin = bs_search["href"].split("/")[-1]
            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

821415899fda40063b2740fa239c557435965c5c9df5a6260cc6f684f02e65b8 : OpenVPN-2.7.1-I001-amd64.msi
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
55a446a237295af0ee6be080442fc91e58a8ec132317005a9388d788641b70b9 : WAPT/changelog.txt
1b56ae466e69b2f9a3351ed7aec06477b8283627d8a03610eddd8cf5a0ad5cf4 : WAPT/control
18848bc4babf25a75264225d9fd7251453186e19518d4426680a8d93b3c81cdb : WAPT/icon.png
d62613900d5a35e62aab7de8b809a336202bdb10696fd4fc8b158e6388e8fd87 : luti.json
b36e7095cb428e8c3a3f2bbdc35977116e4521da5e3abee70ebc5b383bbd3ee7 : openvpn.cer
80168fbdb301f9acf9017b2d16fc6f5196ecca9cba9e7e579c579195d2a0b033 : setup.py
7bbcb0b3c622666a519f00a76efe602129926b13c599dae3244f942ab91ad105 : 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()