tis-adobereader icon

Adobe Acrobat Reader

Silent install package for Adobe Acrobat Reader

2025.1.21288-89
Office
Utilities
Office
Utilities

  • package: tis-adobereader
  • name: Adobe Acrobat Reader
  • version: 2025.1.21288-89
  • 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: 794.75 Mo
  • installed_size: 1.28 Go
  • homepage : https://adobe.com/
  • conflicts :

package           : tis-adobereader
version           : 2025.1.21288-89
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      : f07e8c01-c511-41aa-a039-6e5b2036be71
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    : 2026-03-19T11:16:12.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         : A9gGpFNz3jfKzv29f0QWneMHlmOqnq9HV3N6W1jmU/nJBuHK9U07Ze6gO/Sd8YGeB+8c/WWbK5NLfPiWntdwcQOHGDMgh/0dTce2NqkcgcV94PmSZb/YQqfzQt464TT0C11orxWFzFaRzCzaHOCXA0bLV7+GHIFKUlJs6qAFYb3pokRWe9+bVdZok7tooHPq1QMDn+aiYFNsWqcqdw/pq0ADsgnb/uwyYo+9Tgkycne31Ez7dj8xyryLd5sCgp694Al7S9Go2RaB/o4c4oMk80H3tcen0MYhmANwDBsFdJF0JE68AeOWgPCHx2QT0bkcZIwwS/HhqL82fVczFzETHQ==

# -*- 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",
        },
    }

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

    for bs_search in bs_find_all(url, "a", "class", "reference internal", proxies=proxies):
        if "Planned update" in bs_search.text :
            download_version = bs_search.get_text().split(" ")[0].replace(".", "")
            version = "20" + bs_search.get_text().split(".")[0] + "."  + bs_search.get_text().split(".")[1].replace("0", "") + "."  + bs_search.get_text().split(".")[-1].split(" ")[0]
            break
    
    download_url = f"https://ardownload3.adobe.com/pub/adobe/acrobat/mac/AcrobatDC/{download_version}/AcroRdrSCADC{download_version}_MUI.dmg"


    latest_bin = download_url.rsplit("/")[-1]

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

4b631e445052541fbef634a3ae0cd5d7590123ad7194c5397391228158a14353 : AcroRdrSCADC2500121288_MUI.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
0f023c56b4c98270ca98e005519f6f0bf42922ca2c2ca99e952010f0cca1fca9 : WAPT/control
e08ef23b951752553b93f621e169cbb918ded4eb56c504ed32f7da48d7e31b7c : WAPT/icon.png
7bd86021bdd2726ffe624a18329eab4cd3517d7f98cc2a4ec008c1e2be637c92 : luti.json
21b21ab97f3471ebdd7adba290be92b073a11e9cba613395129609678f4b1790 : setup.py
378e6eada04655d5b698878ee943107fb9921bcde9f61ba69e2a34fbadd7c143 : update_package.py