tis-foxit icon

Foxit PDF Reader

Silent install package for Foxit PDF Reader

2026.2.1.72098-40
Office
Office

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

package           : tis-foxit
version           : 2026.2.1.72098-40
architecture      : x64
section           : base
priority          : optional
name              : Foxit PDF Reader
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Stan SALOMON
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         : darwin
min_wapt_version  : 2.5
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      : a2d1f6e4-1827-49e5-b8f4-c72d03b5d074
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.foxit.com/pdf-reader/version-history.php
min_os_version    : 12.0
max_os_version    : 
icon_sha256sum    : 18ea3aa5e6ea9c96685273c6804815e7a48cef1b1529913b4be2f9a5ab8ae082
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-11-14T19:23:28.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         : t8C2WDK3HTv6LsSy4rEpIUdLaJZxrptZZisoRDVAGo/Ms8JdRs7sCobAD6bydioEJ9lYAEmhyTIsJz5GCWBOtZb+x0RPgYabDE1/ZGTOuNKxTjAir+rtdH0ceJIQwbVcZixbj/PI6z9rsuER9priEwUVte9diUQDKPNraaRjF9NTUFJ2xfygZ/QiMzjY2tq+iEDp3BICZfTt0OKCllU+/+8B/nf6guaatbxNZlRx3lEmEFngrbjgkGhXftTE6T3220zTuqaL6JXdSeLzOCUzl2KesWAn+FMQeSZCV29BQ7t+YkMYo8NGIwPsu/eW+Z8d7R0M60YFLdMVbFoD49Pw2g==

# -*- 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/product/reader/desktop/win/12.1.2/FoxitPDFReader1212_L10N_Setup.msi


"""


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

    os_dict = {
        "windows-x64": ("Windows", "exe"),
        "darwin-x64": ("Mac-OS-X", "pkg")
    }
    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]
    platform, package_type = os_dict[os_type]
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    token_url = "https://www.foxit.com/downloads"

    get_token = requests.get(token_url, headers={"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"},proxies=proxies)
    token = next((c.value for c in get_token.cookies if c.name.lower() == "token"), None)

    if not token:
        print("Unable to get token from %s" % token_url)
        return package_updated
    bearer_token = "Bearer %s" % token
    api_url = f"https://www.foxit.com/foxit-api/form/showDownloadForm/?form_id=download-reader&language=ML&platform={platform}&package_type=&lang=en-us&fresh=1"
    get_version = requests.get(api_url, headers={"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)", "Authorization": bearer_token},proxies=proxies)
    if get_version.status_code != 200:
        print("Unable to get version from %s" % api_url)
        return package_updated

    version = max(get_version.json()["data"]["version"].values())
    print(version)
    if not version:
        print("Unable to get version from %s" % api_url)
        return package_updated

    latest_url = f"https://www.foxit.com/foxit-api/form/latest/?product=Foxit-Reader&platform={platform}&version={version}&package_type={package_type}&language=English"
    download_url = requests.get(latest_url, headers={"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)", "Authorization": bearer_token},proxies=proxies).json()["data"]
    latest_bin = download_url.rsplit("/", 1)[-1]

    # Downloading latest binaries
    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, 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))

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

    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return package_updated

0375429d93d384ac6a5722bbc5578ed41a6365a42c9f2db25bd715238b2f7c98 : FoxitPDFReader202621.L10N.Setup.pkg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
7db57f9f2bad38639600c72a3128741b461641808455f2102cdf7074d5e5ab2b : WAPT/control
18ea3aa5e6ea9c96685273c6804815e7a48cef1b1529913b4be2f9a5ab8ae082 : WAPT/icon.png
71e5ef996366d15a6ebbef7fe8767dc61a09adcb2b63e1534bdc246b523ce69f : luti.json
d90bd21f01ad80894517dff13e6c6ef70dcfa0e9f313a9993de88750bcc39548 : setup.py
9a61a547060b44598311b1c807259ccb62c32fe8bc4c93ee15963f2130f9ec1a : update_package.py