tis-foxit icon

Foxit PDF Reader

Paquet d’installation silencieuse pour Foxit PDF Reader

2025.2.0.68868-40

  • package: tis-foxit
  • name: Foxit PDF Reader
  • version: 2025.2.0.68868-40
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Foxit Software Inc.
  • licence: proprietary_free,wapt_public,freemium
  • locale: all
  • target_os: mac
  • impacted_process: FoxitPDFReader,FoxitPDFCEF,FoxitPDFReaderUpdateService,FoxitUpdater,FoxitPreviewhost,FoxitPDFReaderUpdater
  • architecture: x64
  • signature_date:
  • size: 396.31 Mo
  • installed_size: 642.83 Mo
  • homepage : https://www.foxit.com/
  • conflicts :

package           : tis-foxit
version           : 2025.2.0.68868-40
architecture      : x64
section           : base
priority          : optional
name              : Foxit PDF Reader
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Foxit PDF Reader (formerly Foxit Reader) is a multilingual Freemium PDF (Portable Document Format) tool
depends           : 
conflicts         : tis-foxit9
maturity          : PROD
locale            : all
target_os         : mac
min_wapt_version  : 2.1
sources           : https://www.foxit.com/downloads/
installed_size    : 642829332
impacted_process  : FoxitPDFReader,FoxitPDFCEF,FoxitPDFReaderUpdateService,FoxitUpdater,FoxitPreviewhost,FoxitPDFReaderUpdater
description_fr    : Foxit PDF Reader (anciennement Foxit Reader) est un outil PDF (Portable Document Format) multilingue Freemium
description_pl    : Foxit PDF Reader (dawniej Foxit Reader) to wielojęzyczne narzędzie Freemium PDF (Portable Document Format)
description_de    : Foxit PDF Reader (früher Foxit Reader) ist ein mehrsprachiges Freemium PDF (Portable Document Format) Tool
description_es    : Foxit PDF Reader (antes Foxit Reader) es una herramienta PDF (Portable Document Format) multilingüe Freemium
description_pt    : O Foxit PDF Reader (anteriormente Foxit Reader) é uma ferramenta Freemium multilingue para PDF (Portable Document Format)
description_it    : Foxit PDF Reader (precedentemente Foxit Reader) è uno strumento PDF (Portable Document Format) multilingue e gratuito
description_nl    : Foxit PDF Reader (voorheen Foxit Reader) is een meertalig Freemium PDF-programma (Portable Document Format)
description_ru    : Foxit PDF Reader (ранее Foxit Reader) - это многоязычный инструмент Freemium для работы с PDF (Portable Document Format)
audit_schedule    : 
editor            : Foxit Software Inc.
keywords          : pdf,tool,file,reader
licence           : proprietary_free,wapt_public,freemium
homepage          : https://www.foxit.com/
package_uuid      : 1676e32d-7e46-4117-8976-4685391b63e6
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.foxit.com/pdf-reader/version-history.php
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 18ea3aa5e6ea9c96685273c6804815e7a48cef1b1529913b4be2f9a5ab8ae082
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-24T16:02:36.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         : Xg7oOf8kQGe3SpdFmvnKOJnpC3ej+igDjT+mlpZNQSOSy9CTdAYRWeI0uqZsXpbyxm3P4ADQxcFKN6a1P4nJqbwN0CPzklYlvEmsJVbXG6Ry5tsDOzliqOIeKiepqkceH9fPK+oHIsxvlNpsXGzIq9LWHSxjFJJYDgGwBS5YVEOkGrHBieAqAzRlI2DXfhnQHW52Q/Fv4vHTcikhTjqssWnIrCbRAFMq2oQuMDSHFGaZRHhMAzsSskq/IJmaw7PdWwVXO7jiFGF26OUZC832r+CVBcJcwUKxtiAe/ql0eu+5E+bP/IBc4bpPCHA0KpHDv3ciSj4OOdeWuRrI/Ds2WA==

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

app_uninstallkey = "/Applications/Foxit PDF Reader.app"


def install():
    bin_name = glob.glob("FoxitPDFReader*.pkg")[0]
    uninstall_app("Foxit PDF Reader")
    install_pkg(
        bin_name,
        key=app_uninstallkey,
        min_version=control.get_software_version(),
    )



def uninstall():
    # uninstall_app("Foxit PDF Reader.app")
    uninstall_app(app_uninstallkey)
    uninstall_pkg("com.foxit.pkg.pdfreader")

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


""" 
FoxitPDFReader1212_L10N_Setup_Prom.exe
FoxitPDFReader1212_L10N_Setup.exe
FoxitPDFReader1212_enu_Setup_Clean.exe
FoxitPDFReader1212_enu_Setup_Prom.exe
FoxitPDFReader1212_L10N_Setup.msi
FoxitPDFReader1212_enu_Setup.msi

OK:
https://cdn01.foxitsoftware.com/product/reader/desktop/win/12.1.2/FoxitPDFReader1212_L10N_Setup.msi
NOK:
https://cdn78.foxitsoftware.com/pub/foxit/reader/desktop/mac/12.x/12.1/ML/FoxitPDFReader1210.L10N.Setup.pkg

"""


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    
    url = "https://www.foxit.com/pdf-reader/version-history.php"

    for bs_search in bs_find_all(url, "div", "class", "version_id active", proxies = proxies):
        if "Version" in bs_search["id"]:
            version = bs_search["id"].split("_")[1]
            x_version = version.split(".")[0] + ".x" 
            shorter_version = version.rsplit(".",2)[0] 
            short_version = version.rsplit(".",2)[0].replace(".", "")
            download_url = f"https://cdn01.foxitsoftware.com/pub/foxit/phantomPDF/desktop/mac/{x_version}/{shorter_version}/FoxitPDFReader{short_version}.L10N.Setup.pkg"
            latest_bin = download_url.split("/")[-1]
            break


    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, 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)

    if params.get("running_as_luti", False):
        install_pkg(latest_bin)
        version = [u for u in installed_softwares() if u['key'] == '/Applications/Foxit PDF Reader.app'][0]['version']


    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)

    # Validating or not update-package-sources
    return package_updated

c0a5d5b54df3f27ac498fe2c2f3fff370dd173ae94a28dc50459f491991229d8 : FoxitPDFReader20252.L10N.Setup.pkg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d6c8d0bbec003cf2814676d58752691619fda924c511f496d3ce53f0de543b52 : WAPT/control
18ea3aa5e6ea9c96685273c6804815e7a48cef1b1529913b4be2f9a5ab8ae082 : WAPT/icon.png
3a4c20e8d71c100c6e6bd74acabcf82e5966d2a62fa63c153425c7601152b30d : luti.json
d90bd21f01ad80894517dff13e6c6ef70dcfa0e9f313a9993de88750bcc39548 : setup.py
4d3923cbc9952456617f02ce2da7afb462a5ed8be65a9ef43e55c46d52396d96 : update_package.py