
TSPrint Client
Paquet d’installation silencieuse pour TSPrint Client
3.2.3.13-1
- package: tis-tsprint-client
- name: TSPrint Client
- version: 3.2.3.13-1
- maintainer: Amel FRADJ
- licence: Copyright © 2024 Terminalworks. All Rights Reserved
- target_os: windows
- architecture: all
- signature_date:
- size: 20.48 Mo
- homepage : https://www.terminalworks.com/
package : tis-tsprint-client
version : 3.2.3.13-1
architecture : all
section : base
priority : optional
name : TSPrint Client
categories :
maintainer : Amel FRADJ
description : TSPrint is the RDP printing software for Terminal Services, Remote Desktop and other environments
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : TSPrint est le logiciel d'impression RDP pour les environnements Terminal Services, Remote Desktop
description_pl : TSPrint to oprogramowanie do drukowania RDP dla usług terminalowych i pulpitu zdalnego
description_de : TSPrint ist die RDP-Drucksoftware für Terminaldienste, Remote Desktop
description_es : TSPrint es el software de impresión RDP para Terminal Services, Escritorio Remoto
description_pt : O TSPrint é o software de impressão RDP para Serviços de Terminal, Ambiente de Trabalho Remoto
description_it : TSPrint è il software di stampa RDP per Terminal Services, Remote Desktop
description_nl : TSPrint is de RDP afdruksoftware voor Terminal Services, Remote Desktop
description_ru : TSPrint - это программное обеспечение для печати по RDP для служб терминалов, удаленных рабочих столов
audit_schedule :
editor :
keywords :
licence : Copyright © 2024 Terminalworks. All Rights Reserved
homepage : https://www.terminalworks.com/
package_uuid : 28c001bd-74b5-4f0c-b6ac-f9068717f9fe
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : da77c176c0d793c2a8163a8d1db0275a1e418a6ee3f42b882aeb611d0d941964
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : qMy6udJ4HQ3wcwhpjoiOIo9lH3RCyVkVgdgRY7cRhnwSeIZTGb2tYB6mm586L8sr36CpxA49LieSfTwHQL2v2/AP4tHK1qeUCjm5UlQao/HlKnmSXTaeRLX7ll/HdODoH220slyoGWLrxDD4qFO8DIY1hRH8EotsZJ1iCaw8CfFfJKfHK/oKjPki1zpIbsctwGZ6hIiIIXTLrGRwXyc9PFzr833CNRfScCiHWZOn6PalM03jQEGYh8lLRXZ9fcdn0lLbCNatLtvu1b6dii40SQDpo+xWBp9es5Ul+W8WEBa1RP7fmziBx+wY5K4t0M7jwZwB5xsc58awb2+CvUW0pA==
signature_date : 2024-07-06T09:02:09.999067
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 *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
"key":"{11E91AF3-0B2A-4FE5-9D2F-CC3EDF2C0EBE}_is1",
"name":"TSPrint Client",
"version":"3.2.3.13",
"install_date":"2024-07-01 00:00:00",
"install_location":"C:\\Program Files (x86)\\TerminalWorks\\TSPrint\\",
"uninstall_string":"\"C:\\Program Files (x86)\\TerminalWorks\\TSPrint\\unins000.exe\"",
"publisher":"TerminalWorks, Ltd.",
"system_component":0,
"win64":false
}
"""
# 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_exe_if_needed('TSPrint_client.exe',
silentflags='/VERYSILENT /SUPPRESSMSGBOXES /NORESTART',
key='{11E91AF3-0B2A-4FE5-9D2F-CC3EDF2C0EBE}_is1',
min_version=control.get_software_version(),
)
# -*- coding: utf-8 -*-
from setuphelpers import *
import setupdevhelpers
from setupdevhelpers import *
import re
import requests
def update_package():
# Déclaration des variables locales
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
architecture = control.architecture
url = "https://www.terminalworks.com/remote-desktop-printing/downloads"
divs = bs_find_all(url, 'div', "class", "container xs__tw-font",proxies=proxies)
exe_file = None
for div in divs:
links = div.find_all('a', href=True)
for link in links:
href = link['href']
print(f"Found link: {href}")
if href.endswith('client.exe'):
# Correction pour éviter les doublons dans l'URL
if not href.startswith('http'):
exe_file = f"https://www.terminalworks.com{href}"
else:
exe_file = href
break
download_url = requests.head(exe_file,proxies=proxies,allow_redirects=True).url
latest_bin = download_url.split('/')[-1]
print("Download URL is: %s" % download_url)
# Supprimer les anciens fichiers binaires
for f in glob.glob("*.exe"):
if f != latest_bin:
remove_file(f)
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)
# Obtenir la version à partir du binaire
version = get_version_from_binary(latest_bin)
# Mettre à jour le package
control.set_software_version(version)
control.save_control_to_wapt()
40096f046769c35de1c660b279f45969b6707d20615c4942f6385d2b1b9c177a : setup.py
9d4198481308f11e032bf86af92fcd2722638b4f9a3b72e704e5a30a89200340 : TSPrint_client.exe
d7c12335f28de7989d736cd029d66b8f98e87753b6421df331f1a5f9dc63f8a9 : update_package.py
da77c176c0d793c2a8163a8d1db0275a1e418a6ee3f42b882aeb611d0d941964 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
b84e30d733a8014b5b1791725760d34ff3ddf3c9bddd7c59d6095243c95a8887 : luti.json
609a8a623cac555d9793cfe84a2916a4f1b6b55c42393dedecb0ad689e802488 : WAPT/control