Sumatra PDF
Paquet d’installation silencieuse pour Sumatra PDF
3.6-10
Media
Utilities
Media
Utilities
- package: tis-sumatrapdf
- name: Sumatra PDF
- version: 3.6-10
- categories: Media,Utilities
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
- editor: Krzysztof Kowalczyk, Simon Bünzli and others
- licence: GPLv3
- locale: all
- target_os: windows
- impacted_process: SumatraPDF
- architecture: x64
- signature_date:
- size: 9.09 Mo
- homepage : https://www.sumatrapdfreader.org/
package : tis-sumatrapdf
version : 3.6-10
architecture : x64
section : base
priority : optional
name : Sumatra PDF
categories : Media,Utilities
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
description : Sumatra PDF is a free PDF, eBook (ePub, Mobi), XPS, DjVu, CHM, Comic Book (CBZ and CBR) reader for Windows.
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://www.sumatrapdfreader.org/download-free-pdf-viewer.html
installed_size :
impacted_process : SumatraPDF
description_fr : Sumatra PDF est un lecteur gratuit de PDF, eBook (ePub, Mobi), XPS, DjVu, CHM, Comic Book (CBZ et CBR) pour Windows
description_pl : Sumatra PDF to darmowy czytnik plików PDF, eBooków (ePub, Mobi), XPS, DjVu, CHM, komiksów (CBZ i CBR) dla Windows
description_de : Sumatra PDF ist ein kostenloser PDF, eBook (ePub, Mobi), XPS, DjVu, CHM, Comic Book (CBZ und CBR) Reader für Windows
description_es : Sumatra PDF es un lector gratuito de PDF, eBook (ePub, Mobi), XPS, DjVu, CHM, Comic Book (CBZ y CBR) para Windows
description_pt : Sumatra PDF é um leitor gratuito de PDF, eBook (ePub, Mobi), XPS, DjVu, CHM, Comic Book (CBZ e CBR) para Windows
description_it : Sumatra PDF è un lettore gratuito di PDF, eBook (ePub, Mobi), XPS, DjVu, CHM, fumetti (CBZ e CBR) per Windows
description_nl : Sumatra PDF is een gratis PDF, eBook (ePub, Mobi), XPS, DjVu, CHM, Stripboek (CBZ en CBR) lezer voor Windows
description_ru : Sumatra PDF - это бесплатная программа для чтения PDF, электронных книг (ePub, Mobi), XPS, DjVu, CHM, комиксов (CBZ и CBR) для Windows
audit_schedule :
editor : Krzysztof Kowalczyk, Simon Bünzli and others
keywords :
licence : GPLv3
homepage : https://www.sumatrapdfreader.org/
package_uuid : 9cd4f340-11c9-4378-a865-7d21c04dbbe7
valid_from :
valid_until :
forced_install_on :
changelog : https://www.sumatrapdfreader.org/docs/Version-history.html
min_os_version : 6.0
max_os_version :
icon_sha256sum : c57c7bd4990f3117be1a77cb7bb6244a88b5331c216a61bc3d4f6bf7b804bf4d
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2026-03-28T16:03:13.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 : GtR+3hcIct0UXASFDumFlZwXUEPbnYR5jjw+3Z8M3vIiAYlsd2Wxemd5ZQaAS2t1kwS9H7TtItmHMYD6cLJcwNicrX/fWwGzpgT4Q1ZhQ6S+l9GhG6eThhCXZ34y7SdPjZCLWeOHlMqMEwVsV7nY5m/KnVdPwYV745x00DZ/uSiqYRm9BqbtrwF2ww52i6N2tqHhSAc2VpIb5DyittvPtJC+h1OU7RiWJkLFLVEQZHGe/3slzSgJkNfItaZNGOaDcIpP5UnW1KWtDWZton9i10okZB3oCRC7wbWq+st6lLjEJyJurLeUZnlGSDscSiptGS4/TZuCJvfd/64w3M2ILA==
# -*- coding: utf-8 -*-
from setuphelpers import *
import time
# Installation procedure: https://www.sumatrapdfreader.org/docs/Installer-cmd-line-arguments.html
# Defining variables
##silent_args = '-s -d "%s"' % makepath(programfiles,'SumatraPDF')
app_uninstallkey = "SumatraPDF"
def install():
# Initializing variablesS
package_version = control.get_software_version()
bin_name = "SumatraPDF-%s-64-install.exe" % package_version
app_name = control.name
# Uninstalling older versions
for uninstall in installed_softwares(uninstallkey=app_uninstallkey):
if Version(uninstall["version"]) < Version(package_version):
print("Older %s version found (%s)" % (app_name, uninstall["version"]))
print("Removing: %s" % uninstall["name"])
killalltasks(control.impacted_process)
run(uninstall_cmd(uninstall["key"]))
wait_uninstallkey_absent(uninstall["key"])
if isdir(makepath(programfiles, "SumatraPDF")):
remove_tree(makepath(programfiles, "SumatraPDF"))
time.sleep = 60
# Installing the package
install_exe_if_needed(
bin_name,
silentflags="-s -all-users",
key=app_uninstallkey,
min_version=package_version,
)
# -*- coding: utf-8 -*-
from setuphelpers import *
import bs4 as BeautifulSoup
import requests
import platform
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
url = "https://www.sumatrapdfreader.org/download-free-pdf-viewer"
base = "https://files2.sumatrapdfreader.org/software/sumatrapdf/"
# Getting latest version from official sources
print("URL used is: %s" % url)
for bs_search in bs_find_all(url, "a", proxies=proxies):
href = bs_search.get("href", "")
if href.endswith(".exe") and "/dl/" in href:
download_url = base + href.split("/dl/")[1]
latest_bin = download_url.split("/")[-1]
version = latest_bin.replace("SumatraPDF-", "").replace("-install.exe", "")
break
# Downloading latest binaries
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)
control.set_software_version(version)
control.save_control_to_wapt()
810183f4f89da182639d7c30f529242df6c2c6444697790806db50b0e14bee54 : SumatraPDF-3.6-64-install.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e6a13135683ebe156fa048148523cedeafc7ce0923c9b922be6f41fc2481c38d : WAPT/control
c57c7bd4990f3117be1a77cb7bb6244a88b5331c216a61bc3d4f6bf7b804bf4d : WAPT/icon.png
55636725f174aed1c076881e61f598f0eb75942c0a407d84c235e4e6cb81f95e : luti.json
47f62d17de54982d7f75c4500c41e874617b97793bf6b1e65a814ffe11640544 : setup.py
03dc0dccb56678d84743817a42cbf9bf80af788992269d18f4b982d6d76a712c : update_package.py