tis-stirling-pdf icon

Stirling-pdf

Silent install package for Stirling-pdf

2.5.0-2

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-stirling-pdf
  • name: Stirling-pdf
  • version: 2.5.0-2
  • maintainer: Administrator
  • editor: Stirling Tools
  • licence: ©
  • target_os: windows
  • impacted_process: stirling-pdf
  • architecture: x64,arm64
  • signature_date:
  • size: 211.62 Mo

package           : tis-stirling-pdf
version           : 2.5.0-2
architecture      : x64,arm64
section           : base
priority          : optional
name              : Stirling-pdf
categories        : 
maintainer        : Administrator
description       : Stirling helps you read and edit PDFs privately. Control access by people, companies, and AI.
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : stirling-pdf
description_fr    : Stirling vous aide à lire et éditer des PDFs de façon privée. Controlez les accès par personnes, entreprises, ou IA.
description_pl    : Stirling pomaga czytać i edytować pliki PDF prywatnie. Kontroluj dostęp przez ludzi, firmy i AI.
description_de    : Stirling hilft dir, PDFs privat zu lesen und zu bearbeiten. Kontrolliere den Zugang von Menschen, Unternehmen und KI.
description_es    : Stirling te ayuda a leer y editar PDFs de forma privada. Controla el acceso de personas, empresas e IA.
description_pt    : O Stirling ajuda-te a ler e editar PDFs de forma privada. Controla o acesso por pessoas, empresas e IA.
description_it    : Stirling ti aiuta a leggere e modificare PDF in privato. Controlla l'accesso da parte di persone, aziende e IA.
description_nl    : Stirling helpt je privé PDF's te lezen en te bewerken. Beheer toegang door mensen, bedrijven en AI.
description_ru    : Stirling помогает читать и редактировать PDF в приватном режиме. Контроль доступа людей, компаний и искусственного интеллекта.
audit_schedule    : 
editor            : Stirling Tools
keywords          : 
licence           : ©
homepage          : 
package_uuid      : a41057de-3458-4d62-b09e-8e1b2a05f5cb
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : 5eea3eb768f365d477811646ebc531e84812e9747e24df5f717cd3f146d41afe
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-02-17T07:56:10.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         : ZyqVQmf48jNpHmcH7Au2jllh0XR/ofKPMojYHiyh7w5Zm5rznOb7O5Z0/Kfj4Cn3wLMXL7dpoAD2OBNkUFuNo8SoUr+f9oOCOENw0Z5UibyrhX28/smiUQ+Vrx4EmFdgjHqdXEhxblTuOzNokgSOhSk1Cdvcdrp7iokMVayh84+sQf1aaXUL08927xNEyA2NmyZH72j+7XgNOChuxWHF1L88l02avSe1umzXmzEZozfveNcXU1nUDk34MZqIqLMe6YiiQUklmI5PYd4IWwCIUJg/33q8o27utRY6hM1k0cp/xLG17Rash67JDeB4TaKYBajfbc8ZfR4X/I7Bn0p1rQ==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
   "key":"{8C8335D0-E0C3-36B7-8255-6A42BD17CC83}_is1",
   "name":"Stirling PDF 1.5.0.0",
   "version":"1.5.0.0",
   "install_location":"C:\\Program Files\\Stirling PDF\\",
   "uninstall_string":"MsiExec.exe /X{8C8335D0-E0C3-36B7-8255-6A42BD17CC83}"",
   "publisher":"Stirling Tools"
    },

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob("Stirling-PDF*")[0]
    # Installing the software
    print("Installing: Stirling-PDF")
    install_msi_if_needed(bin_name
    )

from setuphelpers import *



def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    update_dict = {"windows": ".msi"}
    api_url = "https://api.github.com/repos/Stirling-Tools/Stirling-PDF/releases/latest"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    version = json_load["tag_name"].replace("v", "")
    for to_download in json_load["assets"]:
        if update_dict[control.target_os] in to_download["name"]:
            download_url = to_download["browser_download_url"]
            latest_bin = to_download["name"]
            break

    # Downloading latest binaries
    print(f"Latest version of {control.name} is: {version}")
    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)

    
    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    # Deleting binaries
    for f in glob.glob("*.exe"):
        if f != latest_bin:
            remove_file(f)
    
    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

74774ecff1f2f9c0d1ec9b6f16a41e5f743b6dc59adff98b3f264bbbfac8ba73 : Stirling-PDF-windows-x86_64.msi
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
30ecbd85c9620a99b334d989c68f067dbe50ae35a3fbf8c0aaf9ddf6d63796a6 : WAPT/control
5eea3eb768f365d477811646ebc531e84812e9747e24df5f717cd3f146d41afe : WAPT/icon.png
a5e0b55a29ab46c726b5fa23687815e99be334c7820bc6d834a9077166bd4868 : luti.json
9d3fa7d0fa22c4359f53e660b1b337ab18420e82dfd4ed67fe089d8045d1b263 : setup.py
f99307d902b2f4a35d374a04809afcc4bdd0ee19d5556c2d6a50a04f080416d4 : update_package.py