- package: tis-dell-display-manager2
- name: Dell Display Manager 2
- version: 2.3.1.16-3
- categories: Utilities
- maintainer: Joffrey Le Piquet
- editor: Dell
- licence: proprietary_free
- target_os: windows
- impacted_process: DDM
- architecture: x64
- signature_date:
- size: 73.31 Mo
- installed_size: 46.62 Mo
package : tis-dell-display-manager2
version : 2.3.1.16-3
architecture : x64
section : base
priority : optional
name : Dell Display Manager 2
categories : Utilities
maintainer : Joffrey Le Piquet
description : Boost efficiency with features that let you organize your screen, customize your monitor settings and simplify management.
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.3
sources :
installed_size : 46624768
impacted_process : DDM
description_fr : Optimisez l'efficacité avec des fonctionnalités qui vous permettent d'organiser votre écran, de personnaliser ses paramètres et de simplifier la gestion.
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor : Dell
keywords : dell,screen,update,manage
licence : proprietary_free
homepage :
package_uuid : 0aa1967a-73a7-4e51-b276-25ea58887932
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 10.0
max_os_version :
icon_sha256sum : 5ff4b8e68898514197289df70be5cd63db5ff281391dc99635999b3743b06ac6
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-10-28T14:03:57.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 : c94frCR6oM/3cda+OHGe0Yune20oynOV7E784spADlgyff1Rdcga1cJ7KDNOzyilX6kzPochzgIXoNbUuLFgY5wtBAq3E3oeJlgew4WOMTTTUQ8DvIqLspDzNCVKSTyvQzpdgqfaS6VCjNJ7Npqb1sZ3CIIH4pSvwRtMRGPhdTE4g6vZ50BSe51Bu8beOTU7FH+Avto1InZyS5p6DNzAmrpB47bjn7gk+jXcvPc3lJIBgrIfzI2oxqeETfj4Kz/oJ2/VsF81Alsky7rg5xkI1cfJCbYP08IsX5mzqUmKQFj1lu1szy/NVr8tWg2oiIXXQXTMU7O0JOYADsmw/E4nAA==
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
# Installing the software
install_file = glob.glob('*.exe')[0]
install_exe_if_needed(install_file,
silentflags='/S',
key='Dell Display Manager 2',
min_version=control.get_software_version()
)
# -*- coding: utf-8 -*-
from setuphelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
url_base = "https://www.dell.com/support/home/fr-fr/drivers/driversdetails?driverid=v9c51&oscode=wt64a&productcode=dell-display-manager-2.0"
print("URL used is: %s" % url_base)
# Getting the download page link
links = bs_find_all(url_base, 'a','href', proxies=proxies)
exe_file = None
for link in links:
if link['href'].endswith('.exe'):
href = link['href']
download_url = href
latest_bin = href.split('/')[-1]
break
# Getting the version
version_label = bs_find(
url_base,
'h2',
'id',
"driverVersionForDriver",
proxies=proxies,
)
version = version_label.fetchNextSiblings()[0].text.split(',', 1)[0][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 %s" % (latest_bin, version))
wget(download_url, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin)
if Version(version_from_file, 4) != Version(version, 4) and version_from_file != "":
print(
"Changing version to the version number of the binary (from: %s to: %s)"
% (version, version_from_file)
)
# os.rename(latest_bin, latest_bin.replace(version, version_from_file))
version = version_from_file
else:
print("Binary file version corresponds to online version")
# 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)
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d963a972625a89308e60c719dae5c29ebda69fa34fc42485de55b9c474a4498d : WAPT/control
5ff4b8e68898514197289df70be5cd63db5ff281391dc99635999b3743b06ac6 : WAPT/icon.png
768291b914d469dc5025d75bc4b626aadfa74b8d0d522f3931640b460b9a57e9 : ddmsetup.exe
969778e67c900e4d0e70ffac0f5de4fed9b80774005069f5d9258346cc1bae8e : luti.json
6b49aa6b4ddc823d754fd342a5350bfc9209154e62570da6febe3791753b1907 : setup.py
0818dacc1b8dae13fe72e996090a15809029fa58cc42d142405f814489eca9b7 : update_package.py