- package: tis-trytonclient
- name: Tryton Client
- version: 7.6-3
- categories: Utilities
- maintainer: WAPT Team,Tranquil IT,Jimmy PELE,Ingrid TALBOT
- editor: Cedric Kier
- licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
- locale: all
- target_os: windows
- impacted_process: tryton
- architecture: x64
- signature_date:
- size: 42.03 Mo
- installed_size: 139.89 Mo
- homepage : https://www.tryton.org/
package : tis-trytonclient
version : 7.6-3
architecture : x64
section : base
priority : optional
name : Tryton Client
categories : Utilities
maintainer : WAPT Team,Tranquil IT,Jimmy PELE,Ingrid TALBOT
description : Customer for Tryton ERP
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources : https://www.tryton.org/download
installed_size : 139894477
impacted_process : tryton
description_fr : Client pour l'ERP Tryton
description_pl : Klient Tryton ERP
description_de : Kunde für Tryton ERP
description_es : Cliente de Tryton ERP
description_pt : Cliente da Tryton ERP
description_it : Cliente per Tryton ERP
description_nl : Klant voor Tryton ERP
description_ru : Клиент для Tryton ERP
audit_schedule :
editor : Cedric Kier
keywords : erp
licence : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage : https://www.tryton.org/
package_uuid : ce883487-e384-40fa-8280-75873e95fa6f
valid_from :
valid_until :
forced_install_on :
changelog : https://docs.tryton.org/latest/modules-product-kit/releases.html
min_os_version : 10
max_os_version :
icon_sha256sum : c47ff46598f5233b2a0bdef592e9243f55392b590e4f2d77f0a7643f9903f77f
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-05-04T08:40:40.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 : rxaBkm6IYHaOeJt9eq+74sZ9yHlVYC+hVLnKj4VF6a+6lGrT8v6Gy34HRzQsEGaL3o1eow8QuhsSBEXo0MOLLngs/nOqjrdiMnSJh1DBU5EcF51oPCznjy8qcwEAQLDmSMiVQYtKAl/PdE9HrJXfPQ7prjldVzL6SNwS9IJyPIjQEhxItifg8bk4DvHECKzZv6KPrh/7J582cDY88n/Sf+pDIEEncWoI0+Ac9ZahWRQ8GUPZD25FxuPJZKVaN4evrchaQr06XwnG8DPvz6icdNTKUTAGw/iHvt1Y1pU+X6kSLVKVunZHgcc/SS06majYaNphlkaV3XpaU1yXkhhImw==
# -*- coding: utf-8 -*-
from setuphelpers import *
def get_version(app_registry_dict):
return app_registry_dict['key'].rsplit('-', 1)[-1]
def install():
bin_name = glob.glob("tryton-*.exe")[0]
uninstall_older_version()
install_exe_if_needed(
bin_name,
silentflags="/S",
key=f"tryton-64bit-{control.get_software_version()}",
get_version=get_version,
min_version=control.get_software_version()
)
def uninstall_older_version():
killalltasks(ensure_list(control.impacted_process))
for soft in installed_softwares("Tryton"):
uninstall_key = soft['key']
version = soft['key'].rsplit('-', 1)[-1]
if Version(version) < Version(control.get_software_version()):
run(uninstall_cmd(uninstall_key))
wait_uninstallkey_absent(uninstall_key)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
download_dict = {
"windows-x64": "https://downloads.tryton.org/current/tryton-64bit-last.exe",
"windows-x86": "https://downloads.tryton.org/current/tryton-32bit-last.exe",
}
os_type = control.target_os + "-" + ensure_list(control.architecture)[0]
download_url = requests.head(download_dict[os_type], proxies=proxies).headers['Location']
latest_bin = download_url.rsplit("/", 1)[-1]
version = download_url.split("/")[-2]
latest_bin = latest_bin.replace("last", version)
latest_bin_extension = latest_bin.rsplit(".")[-1]
# Downloading latest binaries
print("Latest %s version is: %s" % (app_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)
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
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))
#nettoyer les fichiers temporaires
for f in glob.glob(f'*.{latest_bin_extension}'):
if f != latest_bin:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d82ce39c8e4af46d70c64486510e3e74f9893a98acc944ef5d7cc9dfde4a2647 : WAPT/control
c47ff46598f5233b2a0bdef592e9243f55392b590e4f2d77f0a7643f9903f77f : WAPT/icon.png
2ed8ab0f806e0e115d3975e9dba2a941042f6472997ebb033862f19b14992cb0 : luti.json
4c0eaafd992cff81fd4c71738f6eeeb9aad26fb48aca4996ec4acab5a2d5e870 : setup.py
23d4e559512ee92f3faab2b8f66bef4411d7b85d258ca37f804ab2f53c8406b0 : tryton-64bit-7.6.exe
4b013fc62ef95f3492d0a84b2d749a50008ce91cb271025529076f7f76bf8735 : update_package.py