7 zip

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

Découvrez WinAppack
Editeur Igor Pavlov
Copy to clipboard
Description 7-Zip est un logiciel de compression de fichiers gratuit et open source qui offre un taux de compression élevé. Il prend en charge une variété de formats de fichiers, notamment 7z, ZIP, GZIP, BZIP2 et TAR.
Copy to clipboard
Type de licence LGPL GNU
Copy to clipboard
Etiquettes / Catégories Compression, Bureautique
Copy to clipboard

Package WinAppack

7 zip 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 26.05
Copy to clipboard
Archive 7_zip_MULTI-2026.10.22-26.05-64bits-001_8c3b3686c6.zip
Copy to clipboard
SHA256 E2261AF82C23BA221A429EC879C0D7C0D379C9391D7607503B19C7C843237A82
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 .\7_zip_MULTI-2026.10.22-26.05-64bits-001_8c3b3686c6.zip -Algorithm SHA256).Hash -eq 'E2261AF82C23BA221A429EC879C0D7C0D379C9391D7607503B19C7C843237A82'

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]$DESKTOPSHORTCUT
)
try {
    Import-Module "$PSScriptRoot\WAP.dll"
    WAP\Invoke-WAPEnv

    $DefaultParamInstall = "-INSTALL -CLOSEAPPMESSAGE"
    $DefaultParamUninstall = "-UNINSTALL -CLOSEAPPMESSAGE"
    
    $software.Name = '7 zip'
    $software.Language = 'MULTI'
    $software.Release_Date = '2026.10.22'
    $software.Version = '26.05'
    $software.Architecture = '64bits'
    $software.Package_Version = '001'
    $software.DiskSpace_Mo_Needed = 500
    $software.RAM_Mo_Needed = 500
    $software.Description = "Free and open-source file compression software."
    $software.Publisher = "Igor Pavlov"
    $software.VisibleProcessesToCloseByUser = @("7zFM","7zG","7z")
    $software.BackgroundProcessesToKill = @()
    $software.Path_32 = @("$PF86\7-Zip\7zFM.exe")
    $software.Path_64 = @("$PF\7-Zip\7zFM.exe")
    $software.DisplayName = $software.Name
    
    
    #############################################################
    # UNINSTALL
    #############################################################
    if($UNINSTALL) {

        WAP\Start-WAPSession "UNINSTALL"

        foreach ($Msi in (WAP\Get-UninstallMSI -PatternDisplayName '^7-zip.*' -PatternPublisher 'Igor Pavlov')) { $ExitCode = WAP\Start-Execution -Msi $Msi.GUID }
        foreach ($Exe in (WAP\Get-UninstallEXE -PatternDisplayName '^7-zip.*' -PatternPublisher 'Igor Pavlov')) { $ExitCode = WAP\Start-Execution -Exe $Exe.UninstallExe -Arg '/S' }
        
        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]

        
    }

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

        # Pre-install
        WAP\Start-WAPSession "UNINSTALL"
        foreach ($Msi in (WAP\Get-UninstallMSI -PatternDisplayName '^7-zip.*' -PatternPublisher 'Igor Pavlov')) { $ExitCode = WAP\Start-Execution -Msi $Msi.GUID }
        WAP\Stop-WAPSession

        # Install
        WAP\Start-WAPSession "INSTALL"

        $ExitCode = WAP\Start-Execution -Exe "$Path\App\7z*.exe" -Arg "/S"
        
        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é