SumatraPDF

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

Découvrez WinAppack
Editeur Krzysztof Kowalczyk
Copy to clipboard
Description Lecteur de documents PDF, EPUB, MOBI, XPS et CBZ léger, rapide et open source.
Copy to clipboard
Type de licence GPL GNU
Copy to clipboard
Etiquettes / Catégories
Copy to clipboard

Package WinAppack

SumatraPDF 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 3.6.1
Copy to clipboard
Archive SumatraPDF_MULTI-2026.04.07-3.6.1-64bits-001_ec0869799a.zip
Copy to clipboard
SHA256 E68541E3BF7570684D2D867D0E0E060AB7F79CA42EAD345151F5CAAF9AC28484
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 .\SumatraPDF_MULTI-2026.04.07-3.6.1-64bits-001_ec0869799a.zip -Algorithm SHA256).Hash -eq 'E68541E3BF7570684D2D867D0E0E060AB7F79CA42EAD345151F5CAAF9AC28484'

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 = 'SumatraPDF'
    $software.Language = 'MULTI'
    $software.Release_Date = '2026.04.07'
    $software.Version = '3.6.1'
    $software.Architecture = '64bits'
    $software.Package_Version = '001'
    $software.DiskSpace_Mo_Needed = 500
    $software.RAM_Mo_Needed = 500
    $software.Description = "Fast, lightweight and open-source PDF reader."
    $software.Publisher = "Krzysztof Kowalczyk"
    $software.VisibleProcessesToCloseByUser = @("SumatraPDF")
    $software.BackgroundProcessesToKill = @()
    $software.Path_32 = @("$PF86\SumatraPDF\SumatraPDF.exe")
    $software.Path_64 = @("$PF\SumatraPDF\SumatraPDF.exe")
    $software.DisplayName = $software.Name

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

        WAP\Start-WAPSession "UNINSTALL"

        foreach ($Exe in (WAP\Get-UninstallEXE -PatternDisplayName "^SumatraPDF.*" -PatternPublisher "")) { $ExitCode = WAP\Start-Execution -Exe $Exe.UninstallExe -Arg " -uninstall -all-users -silent" }

        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 -Exe "$Path\App\SumatraPDF*.exe" -Arg "-install -s -all-users"
        
        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 du catalogue

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