tis-pdfsam icon

PDFsam Basic

Silent install package for PDFsam Basic

5.4.5-6
Utilities
Office
Utilities
Office

  • package: tis-pdfsam
  • name: PDFsam Basic
  • version: 5.4.5-6
  • categories: Utilities,Office
  • maintainer: WAPT Team,Jimmy PELÉ
  • editor: Andrea Vacondio
  • licence: AGPLv3
  • locale: all
  • target_os: windows
  • impacted_process: javaw.exe
  • architecture: x64
  • signature_date:
  • size: 98.30 Mo
  • installed_size: 131.71 Mo
  • homepage : https://pdfsam.org/

package           : tis-pdfsam
version           : 5.4.5-6
architecture      : x64
section           : base
priority          : optional
name              : PDFsam Basic
categories        : Utilities,Office
maintainer        : WAPT Team,Jimmy PELÉ
description       : PDFsam Basic or PDF Split and Merge is a free and open-source cross-platform desktop application to split, merge, extract pages, rotate and mix PDF documents.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://github.com/torakiki/pdfsam/releases
installed_size    : 131706880
impacted_process  : javaw.exe
description_fr    : PDFsam Basic ou PDF Split and Merge est un logiciel libre multiplateforme pour diviser, fusionner, extraire des pages, faire pivoter et associer des documents PDF.
description_pl    : PDFsam Basic lub PDF Split and Merge jest darmową i open-source cross-platformową aplikacją desktopową do dzielenia, łączenia, wyodrębniania stron, obracania i mieszania dokumentów PDF
description_de    : PDFsam Basic oder PDF Split and Merge ist eine kostenlose und quelloffene, plattformübergreifende Desktop-Anwendung zum Teilen, Zusammenführen, Extrahieren von Seiten, Drehen und Mischen von PDF-Dokumenten
description_es    : PDFsam Basic o PDF Split and Merge es una aplicación de escritorio multiplataforma gratuita y de código abierto para dividir, fusionar, extraer páginas, rotar y mezclar documentos PDF
description_pt    : PDFsam Basic ou PDF Split and Merge é uma aplicação de ambiente de trabalho livre e de código aberto para dividir, fundir, extrair páginas, rodar e misturar documentos PDF
description_it    : PDFsam Basic o PDF Split and Merge è un'applicazione desktop multipiattaforma gratuita e open-source per dividere, unire, estrarre pagine, ruotare e mescolare documenti PDF
description_nl    : PDFsam Basic of PDF Splitsen en Samenvoegen is een gratis en open-source cross-platform desktop toepassing om PDF-documenten te splitsen, samen te voegen, pagina's te extraheren, te roteren en te mengen
description_ru    : PDFsam Basic или PDF Split and Merge - это бесплатное кроссплатформенное настольное приложение с открытым исходным кодом для разделения, слияния, извлечения страниц, поворота и смешивания документов PDF
audit_schedule    : 
editor            : Andrea Vacondio
keywords          : pdfsam,pdf,sam,split,merge,basic,extract,page,pages,rotate,mix,document,documents
licence           : AGPLv3
homepage          : https://pdfsam.org/
package_uuid      : 26353974-99c4-4cc8-b271-d8836b81f49a
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 6.0
max_os_version    : 
icon_sha256sum    : 7332a01aa80f667ce3cd79545bc9d3974baabe25bc7bc476deaee6bf5df4ad11
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-02-01T09:10:51.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         : OUqD4PKcqnuZ7o3pDjE1LK1y4Fe2NKdiBgp+kv3X2b1kLUuoDcqNfroanwNmHRIr4AVc6d4jne+ARfSLBzRPgQWW5mlndgdTUWR2jig1pqeN8nmr6KPwsfHrHTEzKTSfzcXsv2QQTlBJbY0NHiv3Blwj5S1oSBFp6Xz3wkIuUBdDokGfEdAhS5amdRqKfXpO3NUkRVj0J7RA41iefKCDoSPhCLyRc7l51jiKFtY7Zv2yW9RBTTot6S87TOcVIaulHA2P72QX+IzwG4p2gl6Kff5tVEb6hirHe6b5bqjmya9z5ZobxJfmkwCG/2/oPBBTUYPVUVcf4dhBAqKmGQl36Q==

# -*- coding: utf-8 -*-
from setuphelpers import *

# Installation procedure: https://github.com/torakiki/pdfsam/wiki/Properties-and-arguments


def install():
    # Initializing variables
    package_version = control.get_software_version()

    # Installing the package
    print("Installing: %s" % control.name)
    install_msi_if_needed(
        "pdfsam-%s.msi" % package_version,
        properties="PREMIUM_MODULES=false CHECK_FOR_NEWS=false CHECK_FOR_UPDATES=false SKIPTHANKSPAGE=true DONATE_NOTIFICATION=false PLAY_SOUNDS=false",
        min_version=package_version,
    )

    remove_desktop_shortcut("PDFsam Basic")

# -*- coding: utf-8 -*-
from setuphelpers import *
import json


def update_package():
    print("Downloading/Updating package content from upstream binary sources")

    # Initializing variables
    proxies = get_proxies()
    bin_name_string = "pdfsam-%s.msi"
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url_api = "https://api.github.com/repos/torakiki/pdfsam/releases/latest"

    # Getting latest informations from Github API
    json_load = json.loads(wgets(url_api, proxies=proxies))
    for download in json_load["assets"]:
        if download["browser_download_url"].endswith(".msi"):
            url_dl = download["browser_download_url"]
            break

    version = json_load["tag_name"].replace("v", "")
    latest_bin = bin_name_string % version

    print("Latest %s version is: %s" % (app_name, version))
    print("Download url is: %s" % url_dl)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: " + latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

        # Changing version of the package
        control.version = "%s-%s" % (version, int(control.version.split("-")[-1]) + 1)
        control.save_control_to_wapt()
        print("Changing package version to: %s in WAPT\\control" % control.version)

    # Deleting outdated binaries
    remove_outdated_binaries(version)

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
43a6f9768542aee1c81a303d9fdc9310a1260f7c0044e893a97b504d5cadb5d9 : WAPT/control
7332a01aa80f667ce3cd79545bc9d3974baabe25bc7bc476deaee6bf5df4ad11 : WAPT/icon.png
3ddb1098b9b84d5fc33e2f9fa13aa611227d49f88284132291353cc182ac10eb : luti.json
f3215eaad4b22ac8e0b75f098cd4061e5997d32b73f7fdb4cdff1801bd7b8bd7 : pdfsam-5.4.5.msi
d60442dfab8319bbe0fcc842f98a66d22f1bfa87d9206842c11614b1d3f6cde1 : setup.py
3569c66debff02b920a9e8f8221642530cee7e3dddcd1347a0d38463dcbd47ae : update_package.py