tis-stirling-pdf icon

Stirling-pdf

Silent install package for Stirling-pdf

2.5.1-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.1-2
  • maintainer: Administrator
  • editor: Stirling Tools
  • licence: ©
  • target_os: windows
  • impacted_process: stirling-pdf
  • architecture: x64,arm64
  • signature_date:
  • size: 211.64 Mo

package           : tis-stirling-pdf
version           : 2.5.1-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      : b40f95c5-6c29-4506-a168-5e16513f1ec4
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-18T12:36:01.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         : QsPSI7CIZXSCDfjBi8b6sTbrALVzRZFc+QdscTyWDEiQxNopat+UgX9yJMzk2Nb/X1gsgtma22TFbAkwWRKaEzBVWroUphm6thXlcodViVlrdqV+GqXFblXmwaR4POOFwKy6kBeFL/LTPjfQYt47kWDVJCWcB1D8/v6gcBDRqdY535AgrPV/XegZiYxAKYIluwtdCawEhfoJ/oKF9lCuWIY1RjCcYW/Dt1pjjRy4P34Jnsm/P2cjrpsn9RJCXgDkN35iU02f/SJNWZpsMi3cG6vzNE4M9PiMKkq+sZFI21wbrfFIn0cIq7/w5qmd/J44V930T3e2nE9TSJLJQcRe/A==

# -*- 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

c2bffb6011780aee55d946a78feadc9ad44bbe9f518835cfd4ebffe2c26fbf19 : Stirling-PDF-windows-x86_64.msi
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
8366052e6cf1e2caef6e35cfa0550d843e33a22b07b6f7992a295edaa6208d24 : WAPT/control
5eea3eb768f365d477811646ebc531e84812e9747e24df5f717cd3f146d41afe : WAPT/icon.png
267c8f53c5fdc9480217c73031880c4458a5ee27d164d962c2ef16da75adee92 : luti.json
9d3fa7d0fa22c4359f53e660b1b337ab18420e82dfd4ed67fe089d8045d1b263 : setup.py
f99307d902b2f4a35d374a04809afcc4bdd0ee19d5556c2d6a50a04f080416d4 : update_package.py