tis-foxit icon

Foxit PDF Reader

Paquet d’installation silencieuse pour Foxit PDF Reader

2024.2.1.64379-40

  • package: tis-foxit
  • name: Foxit PDF Reader
  • version: 2024.2.1.64379-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: 326.76 Mo
  • installed_size: 642.83 Mo
  • homepage : https://www.foxit.com/
  • conflicts :

package           : tis-foxit
version           : 2024.2.1.64379-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      : ae0369de-97e6-41df-b559-1ade2a7bc9f6
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         : I+aD1IuP3hSrVVS7+dnzrr0WaGWxv2dhMgC/8w5/p3zfHnsG2/92ocJzuOkCStCndMKoxW+Uscjg3b/F5sW0Itqqe/xai7NoTWhApGiSUZTmf91LtCnEwG2ijlmBBtVJurH2ef0iUq9OB4l9xf9FDkWzVuBg92n/r19P42ANH/jZprAwrQdb8xWwUppxhVdvplU3OLUCB9smIXVxY5r7eBTjHQTsxYzPWZmkROV1t8qFLCpJggg+RfVPN3vQZU6YCJwlYgUzwQImaPnv200IVWLvhM/7liaWd1a5jHS6pV+Co/vqjmd4/PM7Bg7oOfyVXDapuy5/rv9K+/UrMPlfdw==
signature_date    : 2024-05-22T13:00:58.222798
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

# -*- 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"
    download_url = "https://www.foxit.com/downloads/latest.php?product=Foxit-Reader&platform=Mac-OS-X&version=&package_type=&language=French"  # Do not use the URL: "language=English" (it will not download language packs)

    # Getting latest version information from download url
    requests_result = requests.head(download_url, proxies=proxies, allow_redirects=True)
    download_url = requests_result.url.replace("cdn78", "cdn01")
    latest_bin = download_url.split("/")[-1].split("?")[0]
    version = download_url.split("/")[-2]

    # 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

d90bd21f01ad80894517dff13e6c6ef70dcfa0e9f313a9993de88750bcc39548 : setup.py
6148650d8271906e39a20cff96941f9ef1fcd1064142748e4f7542ff681ba18b : update_package.py
5531ca12da4e6bd7bef2a145dbf7c9f35025e7345fcb376b4cde074e8af248f8 : FoxitPDFReader202421.L10N.Setup.pkg
18ea3aa5e6ea9c96685273c6804815e7a48cef1b1529913b4be2f9a5ab8ae082 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
3b9e4ac8b6ab386ec3f0b1268d3b5629b695a5a7ea554b25144327e09706a9b5 : luti.json
31511835e40b8e0fade4b076e79869bf02ae2a8e1a7af56d0e89bcc24f2640a6 : WAPT/control