tis-foxit icon

Foxit PDF Reader

Paquet d’installation silencieuse pour Foxit PDF Reader

2024.4.0.66473-40

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

package           : tis-foxit
version           : 2024.4.0.66473-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      : b02f4b8d-a40d-4248-a38a-db7d3a48ef13
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    : 2024-12-22T10:27:29.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         : v5mb9EXTDNU37ncBupadffG9gAgCY4uQ6U9XdPn6kHggv/ZWatoggFq7DZQ0cRLrEYa7kk6sDFWDLHyopkAKdmos4oaIdWdvfXHx68UibYX972qa5oqgZ6lAHq7ykJY8iMXJ2Cl970NU09lsJGQBWrObz9hngN3QuG28Di31h3dIOAXL/bumAXua3F2gGhe2xBvRYOgYXyrYkivK0oQyF+BKR2UzgbfDPAaqkynZIO+B1dM7ZU4Xg8g86eE4f1LAq44fnAqhQfAzHL/m1R4cN9KZtLkEWpo4ZHPjH9B9MPLWdIHpY4B8aSzGIyPJ7sVS8bMVPTNHOs5K18xN/wiflw==

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

2c254402b5fb405029d1b9f7c0aa8a8989effec50e7b3886805eb73b9b5aa1c9 : FoxitPDFReader20244.L10N.Setup.pkg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
f1f11b7ae72ebbb5d109df90eb01558223b9456fd2d815f3ec727b6535952429 : WAPT/control
18ea3aa5e6ea9c96685273c6804815e7a48cef1b1529913b4be2f9a5ab8ae082 : WAPT/icon.png
feaaee26e58ed488dc6e2507524a53ab0e55ca208a4501de4baf96ec58ef5f2f : luti.json
d90bd21f01ad80894517dff13e6c6ef70dcfa0e9f313a9993de88750bcc39548 : setup.py
6148650d8271906e39a20cff96941f9ef1fcd1064142748e4f7542ff681ba18b : update_package.py