Element
Paquet d'installation silencieuse pour Element
1.12.31-5
Utilities
Utilities
Les paquets PREPROD sont des paquets construits via LUTI.
Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.
- package: tis-element
- name: Element
- version: 1.12.31-5
- categories: Utilities
- maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
- locale: all
- target_os: windows
- impacted_process: Element
- architecture: x64
- signature_date:
- size: 218.78 Mo
- installed_size: 674.87 Mo
package : tis-element
version : 1.12.31-5
architecture : x64
section : base
priority : optional
name : Element
categories : Utilities
maintainer : WAPT Team,Tranquil IT,Ingrid TALBOT
description : Element is a free and open-source software instant messaging client implementing the Matrix protocol
depends :
conflicts :
maturity : PREPROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources :
installed_size : 674868071
impacted_process : Element
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor :
keywords : messaging
licence :
homepage :
package_uuid : d8bdb50c-b094-429d-adff-95e8518aa59f
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 97bc7b132a900ec71b17a423ad8c979dac0134bdde3a89726d263874c7fd2f3e
signer : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date : 2026-10-16T14:12: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 : k6oweywAxMMEtclbzON5zZ7CGgGjL5XwIM8JgTjPRoUB16aBa9ifY1MHQiTYlVXSPIDInWpKHz8ADn6xjrs291/U02sfbeL8lc77+0budUMX7gDB6qV1Ggb1AL/iHviTUJxm+GL9fDCTFzv3Lcn2EtjHE0bZX38H+9D7SO2jQUgjJKczY2UmgmQT5ELqxiXHUqpoHj4N1274f0CSJq6iFybH4O5R3SCO/naTRUBVr3PBxq0/OWAInXB47JzLNfAukvHzyfwc2QELUZv6uliduJ2B/5yN95Gb3U+A8dVwlwOKOB+3gRQIW9BvYIUcoklArG/6cJ7MIy07ewnjFHyRMw==
# -*- coding: utf-8 -*-
from setuphelpers import *
import time
import glob
from waptutils import sha256_for_file
dst_element = makepath(programfiles,'element-desktop')
dst_element_file = makepath(dst_element,"Element.exe")
def install():
nupkg = glob.glob('*.nupkg')[0]
unzip(nupkg,'tmp1')
felement = glob.glob(makepath('tmp1',os.sep,'**','Element.exe'),recursive=True)[0]
source_element_sha256 = ''
if isfile(dst_element_file) :
source_element_sha256 = sha256_for_file(dst_element_file)
if source_element_sha256 != sha256_for_file(felement) or force:
killalltasks("Element.exe")
if isdir(dst_element):
remove_tree(dst_element)
folder_element = felement.rsplit(os.sep,1)[-2]
copytree2(folder_element,dst_element)
create_programs_menu_shortcut('Element',dst_element_file)
def uninstall():
killalltasks("Elements.exe")
# Remove directory from 1.2.1
old_dst_element = makepath(programfiles, "element_install")
if isdir(old_dst_element ):
remove_tree(old_dst_element )
remove_tree(dst_element)
remove_programs_menu_shortcut('Element')
from setuphelpers import *
from setupdevhelpers import *
import waptlicences
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
update_dict = {"windows": ".exe"}
download_url = "https://packages.element.io/desktop/install/win32/x64/Element%20Setup.exe"
latest_bin = download_url.rsplit("/")[-1].replace("%20","")
version_url = "https://api.github.com/repos/element-hq/element-web/releases/latest"
print("Download URL is: %s" % download_url)
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
# Check signature bin
expected_issuer = 'ELEMENT CREATIONS LIMITED'
sign_name = waptlicences.check_exe_signing_certificate(latest_bin)[0]
if sign_name != expected_issuer:
error('Bad issuer %s != %s ' % (sign_name,expected_issuer))
mkdirs('tmp1')
waptlicences.sz_extract_all(latest_bin,target='tmp1')
remove_file(latest_bin)
fextract = glob.glob(makepath("tmp1",'.rsrc','DATA','*'))[0]
mkdirs('tmp2')
waptlicences.sz_extract_all(fextract,target=r'tmp2')
nupkg = glob.glob(makepath("tmp2",'*.nupkg'))[0]
finale_nupkg = nupkg.split(os.sep)[-1]
filecopyto(nupkg,finale_nupkg)
remove_tree('tmp1')
remove_tree('tmp2')
version = finale_nupkg.split('element-desktop-')[1].split('-full.nupkg')[0]
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
package_updated = True
else:
print(f"Software version up-to-date ({Version(version)})")
# Deleting binaries
for f in glob.glob("*.nupkg"):
if f != finale_nupkg:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
return package_updated
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
d53a2b00615fc491b40f55afeaab9aa61016817bf3da84788e0cdf82eb4fc9da : WAPT/control
97bc7b132a900ec71b17a423ad8c979dac0134bdde3a89726d263874c7fd2f3e : WAPT/icon.png
c1791358e40c65dad4088219fbb14162ac05957a0d83d53c1fb11c289131ad2d : element-desktop-1.12.31-full.nupkg
b6a3e3b46d7accb32b494acc261eb1bc442ebcb58ec1d14db4b9fb5a2e38e535 : luti.json
77a9c72e9fd6472024ed838894a662df72568b49deec70642bf8e98d2277d8b4 : setup.py
b9f8b6b1b959834c7c1c6c8201a23a77843f73b2dea9f91cda2bfd50f34479eb : update_package.py