WireGuard

Vous souhaitez découvrir comment gérer efficacement le déploiement de vos logiciels en entreprise ?

Découvrez WinAppack
Editeur Jason Donenfeld
Copy to clipboard
Description WireGuard est un protocole de communication et un logiciel libre et open source permettant de créer un réseau privé virtuel (VPN).
Copy to clipboard
Type de licence GPL GNU
Copy to clipboard
Etiquettes / Catégories VPN, Sécurité, Confidentialité, Cryptographie
Copy to clipboard

Package WinAppack

WireGuard est pris en charge par l'agent WinAppack. Retrouvez ci-dessous le script PowerShell utilisé pour son installation et sa désinstallation, ainsi que le package complet à télécharger.

Version 1.1.1
Copy to clipboard
Archive WireGuard_MULTI-2026.09.21-1.1.1-64bits-001_e4a5c8750d.zip
Copy to clipboard
SHA256 417418F8451C6D853CDB50E1524706286BB33C3405CDD370D4FC66EDD324E5AD
Copy to clipboard

Pour vérifier l'intégrité de l'archive, exécutez cette commande PowerShell depuis le dossier de téléchargement. Elle doit renvoyer True.

(Get-FileHash .\WireGuard_MULTI-2026.09.21-1.1.1-64bits-001_e4a5c8750d.zip -Algorithm SHA256).Hash -eq '417418F8451C6D853CDB50E1524706286BB33C3405CDD370D4FC66EDD324E5AD'

Script d'installation PowerShell

Copy to clipboard

Ce script nécessite le module WAP.dll (framework WinAppack) pour fonctionner. Il est fourni dans le package zip ci-dessus, dans le même dossier que le script.

param (
    [switch]$UNINSTALL,
    [switch]$INSTALL,
    [switch]$CLOSEAPPMESSAGE,
    [switch]$CLEAN,
    [switch]$DESKTOPSHORTCUT
)
try {
    Import-Module "$PSScriptRoot\WAP.dll"
    WAP\Invoke-WAPEnv

    $DefaultParamInstall = "-INSTALL -DESKTOPSHORTCUT -CLOSEAPPMESSAGE"
    $DefaultParamUninstall = "-UNINSTALL -CLOSEAPPMESSAGE"
    
    $software.Name = 'WireGuard'
    $software.Language = 'MULTI'
    $software.Release_Date = '2026.09.21'
    $software.Version = '1.1.1'
    $software.Architecture = '64bits'
    $software.Package_Version = '001'
    $software.DiskSpace_Mo_Needed = 500
    $software.RAM_Mo_Needed = 500
    $software.Description = "WireGuard VPN client."
    $software.Publisher = "WireGuard"
    $software.VisibleProcessesToCloseByUser = @("wireguard")
    $software.BackgroundProcessesToKill = @()
    $software.Path_32 = @("$PF86\WireGuard\wireguard.exe")
    $software.Path_64 = @("$PF\WireGuard\wireguard.exe")
    $software.DisplayName = $software.Name

    #############################################################
    # UNINSTALL
    #############################################################
    if($UNINSTALL) {

        WAP\Start-WAPSession "UNINSTALL"

        foreach ($Msi in (WAP\Get-UninstallMSI -PatternDisplayName "^WireGuard.*" -PatternPublisher "")) { $ExitCode = WAP\Start-Execution -Msi $Msi.GUID }

        WAP\Test-AppPath -Path ($software.Path_32)[0] -Expected $false
        WAP\Test-AppPath -Path ($software.Path_64)[0] -Expected $false

        WAP\Clear-DesktopShortcut -TargetPath ($software.Path_32)[0]
        WAP\Clear-DesktopShortcut -TargetPath ($software.Path_64)[0]

        WAP\Stop-WAPSession
    }


    #############################################################
    # INSTALL
    #############################################################
    if($INSTALL) {

        WAP\Start-WAPSession "INSTALL"

        $ExitCode = WAP\Start-Execution -Msi "$Path\App\wireguard*.msi"
        
        WAP\Test-AppPath -Path ($software.Path)[0] -Expected $true

        if($DESKTOPSHORTCUT) {WAP\Set-DesktopShortcut   -TargetPath ($software.Path)[0]}
        else                 {WAP\Clear-DesktopShortcut -TargetPath ($software.Path)[0]}
        
        WAP\Stop-WAPSession
    }
}
catch {
    Write-Output "General Error : $($_.Exception.Message)"
    exit 499
}

Autres logiciels de la même catégorie

Gestion des cookies
Ce site dépose des cookies pour améliorer votre expérience de navigation.
Consulter la politique de confidentialité