tis-pdf-xchange-pro icon

PDF-XChange PRO

Paquet d’installation silencieuse pour PDF-XChange PRO

10.5.2.395-2

  • package: tis-pdf-xchange-pro
  • name: PDF-XChange PRO
  • version: 10.5.2.395-2
  • maintainer: Amel FRADJ
  • licence: https://www.pdf-xchange.com/licensing
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 430.29 Mo
  • homepage : https://pdf-xchange.eu/DL/pdf-xchange.htm

package           : tis-pdf-xchange-pro
version           : 10.5.2.395-2
architecture      : x64
section           : base
priority          : optional
name              : PDF-XChange PRO
categories        : 
maintainer        : Amel FRADJ
description       : PDF-XChange PRO is the ultimate PDF solution. It's a bundle package that combines the three best-selling applications that Tracker Software produces
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : PDF-XChange PRO est la solution PDF ultime. Il s'agit d'une offre groupée qui combine les trois applications les plus vendues de Tracker Software
description_pl    : PDF-XChange PRO to najlepsze rozwiązanie do obsługi plików PDF. Jest to pakiet, który łączy w sobie trzy najlepiej sprzedające się aplikacje produkowane przez Tracker Software
description_de    : PDF-XChange PRO ist die ultimative PDF-Lösung. Es ist ein Bundle-Paket, das die drei meistverkauften Anwendungen von Tracker Software kombiniert
description_es    : PDF-XChange PRO es la solución PDF definitiva. Es un paquete que combina las tres aplicaciones más vendidas que produce Tracker Software
description_pt    : O PDF-XChange PRO é a derradeira solução para PDF. Trata-se de um pacote que combina as três aplicações mais vendidas produzidas pela Tracker Software
description_it    : PDF-XChange PRO è la soluzione PDF definitiva. È un pacchetto che combina le tre applicazioni più vendute prodotte da Tracker Software
description_nl    : PDF-XChange PRO is de ultieme PDF-oplossing. Het is een bundelpakket dat de drie best verkopende toepassingen van Tracker Software combineert
description_ru    : PDF-XChange PRO - это идеальное решение для работы с PDF. Это пакет, объединяющий три самых продаваемых приложения, которые производит Tracker Software
audit_schedule    : 
editor            : 
keywords          : 
licence           : https://www.pdf-xchange.com/licensing
homepage          : https://pdf-xchange.eu/DL/pdf-xchange.htm
package_uuid      : 9c89f5b0-b616-438d-bbf2-c00824f2f3ab
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 6906db0f2253d1a05bd5933269255f91e0f830e192f01b7ce5152416aa5dbb6b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-02-18T02:12:03.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         : cJslDhGHFKO6Lwj8I+LEQbZ3qkYJETXeOfQeEQevpMebdHJeKdFKlHV6exmHquZUawW/KvIZ4VUIJvERFXJSv3HjOQ132BtlFEm2iT4pF8Nuf7GpS0M5fvQiMNT0TklLujYJ3+XjJnSf67DAWkkD1kKD4JkzTqREGpBHV2bDF/yFnqqwUVcONpadrlLFAezjhhxVuZ5PwQp8QTlRFA8MFjK47YeDYPm/STPDY2l4d8us0fFJrlNi0ipw2Oir9TLmom0RGntdkDOYMYkqMPQd7yXeX+mMIp6BqISc0FnBrY4Wn0+CymTMDOYGxm+5Ssq9H4AELnsTDdfzWksHQHAWBA==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# 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('*.x64.msi')[0]
    # Installing the software
    install_msi_if_needed(bin_name)



# -*- coding: utf-8 -*-
from setuphelpers import *
import setupdevhelpers 
import re
import requests


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    download_dict = {
         "windows": "https://pdf-xchange.eu/DL/pdf-xchange.htm",
    }

    # Fetch the HTML content of the download page
    response = requests.get(download_dict[control.target_os], proxies=proxies)
    response.raise_for_status()
    page_content = response.content
    paragraph = bs_find(download_dict[control.target_os],"div", "class", "content p7ehc-1")
    
    # Extract the version from the h1 tag
    h1_tag = paragraph.find('h1')
    if h1_tag is None:
        print("Error: Could not find the h1 tag within the paragraph.")
        return package_updated

    version_text = h1_tag.text
    version = version_text.split(" ")[4]  # Assuming the version is the last element
    
    dict_arch = {
        "x64" : "Pro{}.x64.msi".format(version),
        "x86" : "Pro{}.x86.msi".format(version)
    }
    download_url = f"https://downloads.pdf-xchange.com/{dict_arch[control.architecture]}"
    latest_bin = download_url.split("/")[-1]

    # Deleting binaries
    for f in glob.glob("*.msi"):
        if f != latest_bin:
            remove_file(f)

    print("Downloading: %s" % latest_bin)
    wget(download_url, latest_bin, proxies=proxies)

    version =get_version_from_binary(latest_bin)
    # Updating the package
    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

9df79fc3a077c2836dd7bc4dd3b5d351880148fda10fc685e1f28537f86d96f7 : ProV10.x64.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
45c34865de584ba950c4e6b23bfda519cbfc0382c1115dad1d3254a057ec30e3 : WAPT/control
6906db0f2253d1a05bd5933269255f91e0f830e192f01b7ce5152416aa5dbb6b : WAPT/icon.png
86cdc955fe2eab076292e75fd9fbc0efbfccfc01e8997a1bc3394d917641bd82 : luti.json
47a1f9fa070a783f71c00c5ccc151e6dd823501b26010719b5e55ae2e854995e : setup.py
8cc7c98734d2f8b0b5631489962ca3e675f94f70e1465900c8311f5ee4baa83d : update_package.py