tis-adobereader icon

Adobe Acrobat Reader

Paquet d’installation silencieuse pour Adobe Acrobat Reader

2024.2.21005-84

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

package           : tis-adobereader
version           : 2024.2.21005-84
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      : 9b324f6f-1817-45a8-b816-c937a14ab934
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://helpx.adobe.com/acrobat/release-note/release-notes-acrobat-reader.html
min_os_version    : 10.15
max_os_version    : 
icon_sha256sum    : e08ef23b951752553b93f621e169cbb918ded4eb56c504ed32f7da48d7e31b7c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : URjFGdvJUoJKyC0/3Fj5RQD7HhVap+RD0CQDls3AxoSV14mcPGvVjRX0dawJT7mAFGaLAwulNiGoZNwKn4QO/NeA/8A3VXfYo/JDj7JD7WxdaTfWhJc7iG8p+xjZ6YSIdmEiWtywWrmkWQtmL7NturpBsFlVgxafpTQ9OhEQVnuNKGz5nQxugcN8ouZa8u55NNrBmNCY0Fn0FjqKaK049VPqNoJ2Z5eViX8iZRsVPw9yOWu8kmYRy/Y+dvHZkSXlUuVTzzd6fzwy5QQ0nowllWFArlagcNwpYBHP8ZoQ/8fVtZsi80TP+GU/HDGcXZZHqsvd1y0QrsxDRHLTozDc6g==
signature_date    : 2024-08-15T14:00:24.356523
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 *


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

    print("installation Adobe Reader MUI")
    binary = glob.glob("*.dmg")[0]
    install_dmg(binary)


def uninstall():
    shutil.rmtree("/Applications/Adobe Acrobat Reader.app")


def install_dmg(dmg_path, key="", min_version="", get_version=None, force=False, killbefore=None, uninstallkeylist=None):
    """Installs a .dmg if it isn't already installed on the system.

    Arguments:
        dmg_path : the path to the dmg file

    Returns:
        True if it succeeded, False otherwise
    """
    dmg_mount_path = mount_dmg(dmg_path)

    try:
        dmg_file_assoc = {".pkg": install_pkg, ".mpkg": install_pkg, ".app": install_app}
        files = [dmg_mount_path + "/" + fname for fname in os.listdir(dmg_mount_path)]
        nb_files_handled = 0
        for file in files:
            fname, fextension = os.path.splitext(file)
            if fextension in dmg_file_assoc:
                if not os.path.islink(file):
                    dmg_file_assoc[fextension](
                        file,
                        key=key,
                        min_version=min_version,
                        get_version=get_version,
                        force=force,
                        uninstallkeylist=uninstallkeylist,
                        killbefore=killbefore,
                    )
                    nb_files_handled += 1

        if nb_files_handled == 0:
            error("Error : the dmg provided did not contain a package or an application, or none could be found.")

        unmount_dmg(dmg_mount_path)
    except Exception as e:
        print(e)
        unmount_dmg(dmg_mount_path)


def unmount_dmg(dmg_mount_path):
    """Unmounts a dmg file, given the path to the mount point.

    Returns the value of the 'hdiutil unmount' command ran.
    """
    try:
        return run('hdiutil detach "%s"' % dmg_mount_path)
    except subprocess.CalledProcessError as e:
        print(e)
        print("Unable to unmount_dmg: {0}".format(e.output))

# -*- 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_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

    Os = "Mac%20OS%2010.15.0"

    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')
    version = datajson['products']['reader'][0]['version']

    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]


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

    for f in glob.glob('*.dmg'):
        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( "20" + version)
    control.save_control_to_wapt()

    # Validating or not update-package-sources
    return package_updated

3de6b79578ee4f592f8e327a5a3c7e2f0a2b0015aa4ca0f19a805de510623eda : setup.py
55a53014b5e060658921f6d3a6d20fa64aae5b09fc9f6ea3d78e9c2378dab934 : AcroRdrDC_2400221005_MUI.dmg
106d2670ac53237a2ce66d6447751dbd91619d1bb9a2f412c73800bff3fa5eb1 : update_package.py
e08ef23b951752553b93f621e169cbb918ded4eb56c504ed32f7da48d7e31b7c : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
a5a48ec42951f9a8db3ef6fe2b41d6811087e259db9bfb0f97bd8221d48543b7 : luti.json
298b472fbe2014217bc79977573981cb249e323aff1028c11f3a0d90b373ba0d : WAPT/control