tis-adobereader
2024.2.20965-84
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)
77424 téléchargements
Voir le résultat de la construction Voir l'analyse de VirusTotal
Description
- package : tis-adobereader
- name : Adobe Acrobat Reader
- version : 2024.2.20965-84
- categories : Office,Utilities
- maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
- installed_size : 1284008424
- editor : Adobe Inc.
- licence : proprietary_free,wapt_public
- signature_date : 2024-08-14T14:02:34.783913
- size : 423.78 Mo
- locale : all
- target_os : windows
- impacted_process : Acrobat,AcrobatInfo,AcroBroker,AcroTextExtractor,AcroLayoutRecognizer,AcroCEF,AcroRd32,AcroRd32Info,AdobeCollabSync,RdrCEF,RdrServicesUpdater
- architecture : all
- Page d'accueil : https://adobe.com/
- Cela dépend :
- Conflits :
control
package : tis-adobereader
version : 2024.2.20965-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 : tis-vcredist
conflicts : tis-adobe-acrobat-pro
maturity : PROD
locale : all
target_os : windows
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 : 0f625b12-eac6-46a1-8ce0-6bc19f123a6a
valid_from :
valid_until :
forced_install_on :
changelog : https://helpx.adobe.com/acrobat/release-note/release-notes-acrobat-reader.html
min_os_version : 6.1
max_os_version : 10.0
icon_sha256sum : e08ef23b951752553b93f621e169cbb918ded4eb56c504ed32f7da48d7e31b7c
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : H6eUsIqxu02QlckEs2tHU5HWmGaCHcfB7TEh/rJeF1SziKmtCT+PmjsJ+bpiUD88YSOdkU/BB99KDFW9gCud9fcCXlAbcm0fDtoR4bdVQXqVVeFbQXaHQPgkLGSai41iHAZ/jHzMuGwLtqqmIY1CwN5Yhl1dePS56ACRu5lezFOdYApSQ9ek8FEKzFSyP5di1C1E93smN+SGyNLmTiNGznAV0J+csAlrh7CLXH/IBvXdCQX/GZhRu8ExeyQ6DssXfej9gP2u/ODfTUbbhB/SNFJ57PmJE/TGkVXi2Leu1yHVvhGCYVH9oAF0lInFwDbUM8PHU7GMY5ZDR4ZtWB2s5w==
signature_date : 2024-08-14T14:02:34.783913
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
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
import os
import chardet
import time
r"""
https://silentinstallhq.com/adobe-reader-dc-silent-install-how-to-guide/
AcroRdrDC2300320215_en_US.exe /sAll /rs /msi EULA_ACCEPT=YES /L*V "%WINDIR%\Temp\AdobeReader-Install.log"
MsiExec.exe /i "%~dp0AcroRead.msi" PATCH="%~dp0AcroRdrDCUpd2300320215.msp" /qn /L*V "%WINDIR%\Temp\AdobeReader-Install.log"
https://www.adobe.com/devnet-docs/acrobatetk/tools/DesktopDeployment/cmdline.html
Installation 9.0 & later ENABLE_CACHE_FILES 1 (the default) enables setup file caching of the installer files on the local system. The opposite of DISABLE_CACHE.
Installation 10.0 & later DISABLE_CACHE 1 disables setup file caching. The opposite of ENABLE_CACHE_FILES.
"C:\Windows\system32\msiexec.exe" /i {AC76BA86-7AD7-FFFF-7B44-AC0F074E4100} /L*V "C:\Windows\Temp\AdobeReader-Install.log DISABLE_CACHE=1 REBOOT="ReallySuppress" PATCH="C:\Program Files (x86)\Common Files\Adobe\Acrobat\Setup\{AC76BA86-7AD7-FFFF-7B44-AC0F074E4100}\RDC\AcroRdrDCUpd2300320215_MUI.msp" /qn
"C:\Program Files (x86)\Common Files\Adobe\Acrobat\Setup\{AC76BA86-7AD7-FFFF-7B44-AC0F074E4100}\RDC\setup.exe" /sAll /rs /msi /L*V "C:\Windows\Temp\AdobeReader-Install.log DISABLE_CACHE=1
"C:\Program Files (x86)\Common Files\Adobe\Acrobat\Setup\{AC76BA86-7AD7-FFFF-7B44-AC0F074E4100}\setup.exe" /sAll /rs /msi DISABLE_CACHE=1
"C:\Windows\system32\msiexec.exe" /i "C:\Program Files (x86)\Common Files\Adobe\Acrobat\Setup\{AC76BA86-7AD7-FFFF-7B44-AC0F074E4100}\AcroRead.msi" TRANSFORMS="" DISABLE_CACHE=1 REBOOT="ReallySuppress" PATCH="C:\Program Files (x86)\Common Files\Adobe\Acrobat\Setup\{AC76BA86-7AD7-FFFF-7B44-AC0F074E4100}\AcroRdrDCUpd2300320215_MUI.msp" /qn
some keys examples: https://github.com/bmrf/standalone_scripts/blob/master/tron_guid_whitelist.txt
# 32bit app
{
"key":"{AC76BA86-7AD7-FFFF-7B44-AC0F074E4100}",
"name":"Adobe Acrobat Reader MUI",
"version":"23.003.20215",
"install_date":"2023-07-04 00:00:00",
"install_location":"C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\",
"uninstall_string":"MsiExec.exe /I{AC76BA86-7AD7-FFFF-7B44-AC0F074E4100}",
"publisher":"Adobe Systems Incorporated",
"system_component":0,
"win64":false
}
# 64bit app
{
"key":"{AC76BA86-1033-FF00-7760-BC15014EA700}",
"name":"Adobe Acrobat (64-bit)",
"version":"23.003.20215",
"install_date":"2023-07-04 00:00:00",
"install_location":"C:\\Program Files\\Adobe\\Acrobat DC\\",
"uninstall_string":"MsiExec.exe /I{AC76BA86-1033-FF00-7760-BC15014EA700}",
"publisher":"Adobe",
"system_component":0,
"win64":true
}
"""
app_scheduled_tasks = ["Adobe Acrobat Update Task"]
app_services = ["AdobeARMservice"]
def install():
software_version = control.get_software_version().split("20", 1)[-1] # correcting version
log_path = makepath(r"C:\Windows\Temp", "AdobeReader-Install.log")
upgrade_log_path = makepath(r"C:\Windows\Temp", "AdobeReader-Upgrade.log")
silentflags = f'/sAll /rs /msi EULA_ACCEPT=YES /L*V "{log_path}"'
if ensure_list(control.architecture)[0] == "x64":
app_uninstallkey = "{AC76BA86-1033-FF00-7760-BC15014EA700}"
else:
app_uninstallkey = "{AC76BA86-7AD7-FFFF-7B44-AC0F074E4100}"
# Uninstalling old products and app if install is forced
for to_uninstall in installed_softwares("Adobe Acrobat "):
do_uninstall = False
# *7B44-AC0F074E4100} => Adobe Acrobat Reader DC*
# *7760-BC15014EA700} => Adobe Acrobat (64-bit)
# *7760-BC15014EA700} => Adobe Acrobat DC (64-bit) => Pro version ?
if not "Pro" in to_uninstall["name"] or not "MUI" in to_uninstall["name"]:
if to_uninstall["key"].endswith("7B44-AC0F074E4100}") or to_uninstall["key"].endswith("7760-BC15014EA700}"):
if not "Adobe Acrobat DC (64-bit)" in to_uninstall["name"] and not "Adobe Acrobat (64-bit)" in to_uninstall["name"]:
do_uninstall = True
print(
f'INFO: {to_uninstall["name"]} ({to_uninstall["version"]}) may be a Pro version, in which case the installation will fail, but you can still remove it with a force install.'
)
if force:
print(f'DANGER: {to_uninstall["name"]} may be a Pro version and will be remove because the install is forced.')
do_uninstall = True
if do_uninstall:
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(ensure_list(control.impacted_process))
run(uninstall_cmd(to_uninstall["key"]))
wait_uninstallkey_absent(to_uninstall["key"])
if Version(to_uninstall["version"]) == Version(control.get_software_version()) and iswin64() and not to_uninstall["win64"]:
print(
f'INFO: {to_uninstall["name"]} (32-bit) version is installed and up-to-date. You can force-install this package to migrate to the (64-bit) version after removing the "architecture : all" package from your repo.' # or changing his "max_os_version" to "10.0"
)
# else:
# print(
# f'INFO: {to_uninstall["name"]} version is installed. You can force-install this package to migrate to the (32-bit) version (not recommended) after removing the "architecture : x64" package from your repo and changing "max_os_version" to "". '
# )
# Removing application desktop shortcut if allowed
if params.get("remove_desktop_shortcuts"):
silentflags += " DISABLEDESKTOPSHORTCUT=1"
remove_desktop_shortcut("Acrobat Reader DC")
remove_desktop_shortcut("Adobe Acrobat")
# Installing software
bin_name = glob.glob("AcroRdrDC*.exe")[0]
try:
install_exe_if_needed(
bin_name,
silentflags=silentflags,
key=app_uninstallkey,
# min_version="24.001.20615",
min_version=software_version,
timeout=1200,
)
except Exception as e:
print(e)
with open(log_path, "r", encoding=detect_file_encoding(log_path)) as f:
log_content = f.read()
error(log_content)
# # Upgrading software
# bin_name = glob.glob("AcroRdrDC*.msp")[0]
# if need_install(app_uninstallkey, min_version=software_version):
# print(r"Installing: %s (%s)" % (bin_name, software_version))
# try:
# run(f'msiexec.exe /p "{bin_name}" /norestart /quiet ALLUSERS=1 EULA_ACCEPT=YES /L*V "{upgrade_log_path}"', timeout=1200)
# except Exception as e:
# print(e)
# with open(upgrade_log_path, "r", encoding=detect_file_encoding(upgrade_log_path)) as f:
# log_content = f.read()
# error(log_content)
# else:
# print("MSP setup %s already installed. Skipping" % bin_name)
# if need_install(app_uninstallkey, min_version=software_version):
# error("%s upgrade failed." % bin_name)
# Disabling application scheduled tasks
for task_name in app_scheduled_tasks:
if task_exists(task_name):
try:
disable_task(task_name)
except:
print(f"Unable to disable the task_name: {task_name}")
# Changing default start mode of the application services
for service_name in app_services:
set_service_start_mode(service_name, "Disabled")
def uninstall():
time.sleep(30)
# 64bit app
editor_dir = makepath(programfiles, "Adobe")
app_dir = makepath(editor_dir, "Acrobat DC", "Acrobat")
if isdir(app_dir):
remove_tree(app_dir)
if remove_empty_directories(editor_dir):
remove_tree(editor_dir)
# 32bit app
editor_dir = makepath(programfiles32, "Adobe")
app_dir = makepath(editor_dir, "Acrobat Reader DC", "Reader")
if isdir(app_dir):
remove_tree(app_dir)
if remove_empty_directories(editor_dir):
remove_tree(editor_dir)
def remove_empty_directories(root_directory):
if os.path.exists(root_directory):
for dirpath, dirnames, filenames in os.walk(root_directory, topdown=False):
if not any(os.scandir(dirpath)):
os.rmdir(dirpath)
print(f"Removed empty directory: {dirpath}")
def detect_file_encoding(file_path):
"""Detect the encoding of a file.
Args:
file_path (str): The path to the file to be analyzed.
Returns:
str: The detected character encoding of the file.
>>> detect_file_encoding(file_path)
'UTF-8-SIG'
"""
with open(file_path, "rb") as file:
raw_data = file.read()
result = chardet.detect(raw_data)
return result["encoding"]
update_package.py
# -*- 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 = r"Windows%207"
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('*.exe'):
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
5253c309dbc8879e5c5ec28775aa35cd53ab28841cc7eeb075358403ebcdb62a : setup.py
: __pycache__
aec95f6aa3a93ae96e5824202589abd7d6aee2f4213e02b90d73808bdd9359c9 : AcroRdrDC2400220965_MUI.exe
4b6baa3975564aec435c857ac1b19cc1690d7a0e01f7137e990080e87a438b7c : update_package.py
e08ef23b951752553b93f621e169cbb918ded4eb56c504ed32f7da48d7e31b7c : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
7ae36379a9353173d23b27e7877095a9eed6f00c227078ea46fa46e10cc9460c : WAPT/changelog.txt
859c4098552a4f96a19e2a7efc5e1d07f94bbef78e36d7811d676c037f1f378a : luti.json
283887352b97bc9ba1eb68e5f5868c5f6dea1dd40ef31cccbc8f94983ee5cd67 : WAPT/control
Changelog
84
===
- No longer use a base configuration, instead you should import and edit the package: tis-adobe-acrobat-config-template
- Logging file are now printed in WAPT Console when crashing.
- Uninstall code reduced.
- Fix update_package()
80
===
- Printing more information about Pro version workaround
79
===
- Major code improvement
- Switching to EXE (containing msi and msp file)
- Now printing what is happening in install
- Now uninstalling the software if install is forced (to fix: "Setup has detected that you already have a more functional product installed. Setup will now terminate")
- Windows 7 is still maintained as 32bit installer
- Code is unique for package architecture "all" and "x64", even if 64bit app is called Adobe Acrobat and 32bit app is called Acrobat Reader
- Disabling WelcomeScreen
- Disabling some pop-ups
- Disabling automatic updates, telemetry and intrusive services
- Zoom 100% by default
- Manipulating registry with dicts to handle multi architecture pathes
- Avoiding AdobeCollabSync.exe to run on startup
- Avoiding uninstallation on every installs
- We need further tests to determine if "Adobe Acrobat DC (64-bit)" is the only Pro version