tis-adobereader icon

Adobe Acrobat Reader

Paquet d’installation silencieuse pour Adobe Acrobat Reader

2025.1.20566-85

  • package: tis-adobereader
  • name: Adobe Acrobat Reader
  • version: 2025.1.20566-85
  • categories: Office,Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
  • editor: Adobe Inc.
  • licence: proprietary_free,wapt_public
  • locale: all
  • target_os: mac
  • impacted_process: Acrobat,AcrobatInfo,AcroBroker,AcroTextExtractor,AcroLayoutRecognizer,AcroCEF,AcroRd32,AcroRd32Info,AdobeCollabSync,RdrCEF,RdrServicesUpdater
  • architecture: all
  • signature_date:
  • size: 715.83 Mo
  • installed_size: 1.28 Go
  • homepage : https://adobe.com/
  • conflicts :

package           : tis-adobereader
version           : 2025.1.20566-85
architecture      : all
section           : base
priority          : optional
name              : Adobe Acrobat Reader
categories        : Office,Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
description       : Adobe Acrobat is a family of application software and Web services developed by Adobe Inc. to view, create, manipulate, print and manage Portable Document Format (PDF) files
depends           : 
conflicts         : tis-adobe-acrobat-pro
maturity          : PROD
locale            : all
target_os         : mac
min_wapt_version  : 2.3
sources           : https://get.adobe.com/reader/
installed_size    : 1284008424
impacted_process  : Acrobat,AcrobatInfo,AcroBroker,AcroTextExtractor,AcroLayoutRecognizer,AcroCEF,AcroRd32,AcroRd32Info,AdobeCollabSync,RdrCEF,RdrServicesUpdater
description_fr    : Adobe Acrobat est une famille de logiciels d'application et de services web développés par Adobe Inc. pour visualiser, créer, manipuler, imprimer et gérer des fichiers Portable Document Format (PDF)
description_pl    : Adobe Acrobat to rodzina aplikacji i usług internetowych opracowanych przez firmę Adobe Inc. do przeglądania, tworzenia, obróbki, drukowania i zarządzania plikami w formacie Portable Document Format (PDF)
description_de    : Adobe Acrobat ist eine von Adobe Inc. entwickelte Familie von Anwendungssoftware und Webdiensten zum Anzeigen, Erstellen, Bearbeiten, Drucken und Verwalten von Dateien im Portable Document Format (PDF)
description_es    : Adobe Acrobat es una familia de aplicaciones y servicios web desarrollados por Adobe Inc. para visualizar, crear, manipular, imprimir y gestionar archivos en formato PDF (Portable Document Format)
description_pt    : O Adobe Acrobat é uma família de software de aplicação e serviços Web desenvolvidos pela Adobe Inc. para visualizar, criar, manipular, imprimir e gerir ficheiros Portable Document Format (PDF)
description_it    : Adobe Acrobat è una famiglia di software applicativi e servizi Web sviluppati da Adobe Inc. per visualizzare, creare, manipolare, stampare e gestire file in formato PDF (Portable Document Format)
description_nl    : Adobe Acrobat is een reeks applicatiesoftware en webservices ontwikkeld door Adobe Inc. voor het bekijken, maken, manipuleren, afdrukken en beheren van Portable Document Format (PDF)-bestanden
description_ru    : Adobe Acrobat - это семейство прикладного программного обеспечения и веб-сервисов, разработанных компанией Adobe Inc. для просмотра, создания, манипулирования, печати и управления файлами Portable Document Format (PDF)
audit_schedule    : 
editor            : Adobe Inc.
keywords          : adobe,reader,acrobat,dc,pdf,portable,document,format,print,view
licence           : proprietary_free,wapt_public
homepage          : https://adobe.com/
package_uuid      : f017e434-e8a7-4c88-a00f-94eb3011c4ad
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://helpx.adobe.com/acrobat/release-note/release-notes-acrobat-reader.html
min_os_version    : 12.0
max_os_version    : 
icon_sha256sum    : e08ef23b951752553b93f621e169cbb918ded4eb56c504ed32f7da48d7e31b7c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-10T15:00:41.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         : DKB/ofTbj+OqV5Tuz69OdL3HduniXHEnzjfRos5m30ZYGeQW+KHHTAE7ufYKkwi342X2aPk0RqCXkkNIkV7AEbZxKFadmIkUQ1ssGG6u0D4FdbVPwLKnj2ruOs5P6xV/T1wo8lde+bRaBk6rcI6zlErZZjzY7M0j4QKwaLUa7NTuKdks6ka62MB/8SCVr+Y3NzG5ZFs60tjFWBrA4nrlkd/6NzP5VOttJONXcMJjN9A2Ti1f0Re3IklDG+e+os453QHXXDh+tzKxGCteZnogvZ+6+p6J9rR+dxR9PjxuCFbYcDoiyHTSQaiCrpasScUOk+5Osvy6l1AWg6Tnhmskyw==

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


def install():
    if isdir("/Applications/Adobe Acrobat DC"):
        remove_tree("/Applications/Adobe Acrobat DC")

    print("Installation Adobe Reader MUI")
    binary = glob.glob("*.dmg")[0]
    install_dmg(
        dmg_path=binary,
        key="/Applications/Adobe Acrobat DC/Adobe Acrobat.app",
        get_version=get_installed_version,
        min_version=control.get_software_version()
    )

def get_installed_version(key):
    return str(datetime.now().year)[:2] + key["version"]


def uninstall():
    
    all_adobe_acrobat_pkg = [ i for i in get_installed_pkgs() if i.startswith(('com.adobe.acrobat.DC', 'com.adobe.armdc'))]
    
    folder_to_delete = [
        "/Applications/Adobe Acrobat DC",
        "/Library/Application Support/Adobe/Acrobat",
    ]
    
    for dir in folder_to_delete:
        if isdir(dir):
            remove_tree(dir)
            
    for pkg in all_adobe_acrobat_pkg:
        uninstall_pkg(pkg)

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
from waptutils import get_sha256

"""
https://get.adobe.com/reader/enterprise/
https://get.adobe.com/reader/download?os=Windows+11&name=Reader+DC+2023.003.20215+MUI+for+Windows-64bit&lang=mui&nativeOs=Windows+10&accepted=&declined=&preInstalled=&site=enterprise
https://get.adobe.com/reader/download?os=Windows+7&name=Reader+DC+2023.003.20215+MUI+for+Windows-32bit&lang=mui&nativeOs=Windows+10&accepted=&declined=&preInstalled=&site=enterprise
https://ardownload2.adobe.com/pub/adobe/acrobat/win/AcrobatDC/2300320215/AcroRdrDCx642300320215_MUI.exe
https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/2300320215/AcroRdrDC2300320215_MUI.exe

https://silentinstallhq.com/adobe-reader-dc-silent-install-how-to-guide/
Enter the following command to extract the MSI:
AcroRdrDC2300320215_en_US.exe -sfx_o"C:\Downloads\ReaderDC" -sfx_ne

"""


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    update_dict = {
        "bin_contains": {
            "windows": "_MUI.msp",
            "mac": "_MUI.dmg",
        },
        "bin_name_to_substitute": {
            "windows-all": "AcroRdrDC%s_MUI.exe",
            "windows-x64": "AcroRdrDCx64%s_MUI.exe",
            "mac-all": "AcroRdrSCADC%s_MUI.dmg",
        },
        "name_api": {
            "windows-all":r"Windows%207",
            "windows-x64": r"Windows%2011",
            "mac-all": "Mac%20OS%2010.15.0",
        },
    }

    # # Getting base installer
    # if control.target_os == "windows":
    #     if iswin64():
    #         # https://ardownload2.adobe.com/pub/adobe/acrobat/win/AcrobatDC/2400120615/AcroRdrDCx642400120615_MUI.exe
    #         binaries_dict = {"AcroRdrDCx642400120615_MUI.exe": "8820bff54abd9c636bbc7fb11a5ed338de5dc72222055d22983a7b86388a3f1d"}
    #     else:
    #         # https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/2400120615/AcroRdrDC2400120615_MUI.exe
    #         binaries_dict = {"AcroRdrDC2400120615_MUI.exe": "c34f14e5e1c5ffae7b0422e92cb907d72b1b243b7a0c085e55c1601b6838f1c1"}

    #     for bin_name in binaries_dict:
    #         # http is ok since we are verifying sha256
    #         download_url = "http://srvtemplates.ad.tranquil.it/binary_cache/" + (bin_name)
    #         sha256 = binaries_dict[bin_name]
    #         if isfile(bin_name):
    #             if get_sha256(bin_name) != sha256:
    #                 remove_file(bin_name)
    #         print("Download URL is: %s" % download_url)
    #         if not isfile(bin_name):
    #             print("Downloading: %s" % bin_name)
    #             wget(download_url, bin_name, sha256=sha256, proxies=proxies)
    #         else:
    #             print("Binary is present: %s" % bin_name)

    url = "https://helpx.adobe.com/acrobat/release-note/release-notes-acrobat-reader.html"
    web_version = "0"

    # Getting latest version from official sources
    found = False
    print("URL used is: %s" % url)
    for release in bs_find_all(url, "a", "disablelinktracking", "false", proxies=proxies):
        if not release.text.startswith("DC "):
            continue
        for release_url in bs_find_all(release["href"], "a", "class", "reference external", proxies=proxies):
            if release_url["href"].endswith(update_dict["bin_contains"][control.target_os]):
                latest_bin = release_url["href"].split("/")[-1]
                if control.architecture == "x64" and not "x64" in latest_bin:
                    continue
                download_url_part = release_url["href"].rsplit("/", 1)[0]
                version_adobe = download_url_part.split("/")[-1].lower()
                web_version = release.text.split("(")[-1].split(")")[0].lower()

                if "x" in web_version:
                    count_x = web_version.count("x")
                    missing_digits = version_adobe[-count_x:]
                    web_version = web_version.split("x", 1)[0] + missing_digits

                latest_bin = update_dict["bin_name_to_substitute"][f"{control.target_os}-{control.architecture}"] % version_adobe
                download_url = download_url_part + "/" + latest_bin
                if requests.head(download_url, proxies=proxies).status_code == 404:
                    web_version = "0"
                    continue
                found = True
                break
        if found:
            break

    # Downloading latest binaries

    Os = update_dict["name_api"][f"{control.target_os}-{control.architecture}"]
    data = requests.get('https://rdc.adobe.io/reader/products?lang=mui&os=' + Os +'&preInstalled=0&country=FR&api_key=dc-get-adobereader-cdn',proxies=proxies)
    datajson = json.loads(data.content)
    namear  = datajson['products']['reader'][0]['displayName'].replace(' ','%20')
    versionofficial = datajson['products']['reader'][0]['version']

    version = "20%s" % web_version

    if Version(versionofficial) > Version(web_version):
        version = "20%s" % versionofficial
        url = r"https://rdc.adobe.io/reader/downloadUrl?name=" + namear  + r"&nativeOs=&os=" + Os + "&site=enterprise&lang=mui&country=FR&api_key=dc-get-adobereader-cdn"
        data = requests.get(url,proxies=proxies)
        datajson = json.loads(data.content)
        download_url = datajson['downloadURL']
        latest_bin = download_url.split('/')[-1]



    print("Latest %s version is: %s" % (control.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)

    # Deleting outdated binaries
    for f in glob.glob('*_MUI.*'):
        if f != latest_bin:
            remove_file(f)

    # 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()

    # Validating or not update-package-sources
    return package_updated

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)

dd0c029f9a5049e17d007933c966eb1f30dd7a6eafda4bde08eac90e597d1a4f : AcroRdrSCADC2500120566_MUI.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
f9bcea31b41a544e4409a6059fe288954f4bde98f8f84fe9670845406948822f : WAPT/control
e08ef23b951752553b93f621e169cbb918ded4eb56c504ed32f7da48d7e31b7c : WAPT/icon.png
adcd22e9e611e92c7024b52d109c0f83e927bc007c216304701097e42e13ebc4 : luti.json
21b21ab97f3471ebdd7adba290be92b073a11e9cba613395129609678f4b1790 : setup.py
51aa81065f055626f95e867e7974932e51b82c178e54a9dd2c60355bd50dec27 : update_package.py