tis-tresorit icon

Tresorit

Silent install package for Tresorit

3.5.5402.4690-1

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a new VirusTotal scan is performed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-tresorit
  • name: Tresorit
  • version: 3.5.5402.4690-1
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: Copyright © 2024 Tresorit. All rights reserved.
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 139.92 Mo
  • homepage : https://tresorit.com/

package           : tis-tresorit
version           : 3.5.5402.4690-1
architecture      : x64
section           : base
priority          : optional
name              : Tresorit
categories        : 
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Tresorit is the ultra-secure place in the cloud to store, synchronize and share files within your organization and with external partners
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Tresorit est l'endroit ultra-sécurisé dans le cloud pour stocker, synchroniser et partager des fichiers au sein de votre organisation et avec des partenaires externes
description_pl    : Tresorit to bardzo bezpieczne miejsce w chmurze do przechowywania, synchronizacji i udostępniania plików w organizacji i partnerom zewnętrznym
description_de    : Tresorit ist der ultra-sichere Ort in der Cloud, um Dateien innerhalb Ihrer Organisation und mit externen Partnern zu speichern, zu synchronisieren und auszutauschen
description_es    : Tresorit es el lugar ultraseguro en la nube para almacenar, sincronizar y compartir archivos dentro de su organización y con socios externos
description_pt    : Tresorit é o local ultra-seguro na nuvem para armazenar, sincronizar e partilhar ficheiros na sua organização e com parceiros externos
description_it    : Tresorit è il luogo ultra-sicuro nel cloud per archiviare, sincronizzare e condividere file all'interno dell'organizzazione e con partner esterni
description_nl    : Tresorit is de ultraveilige plek in de cloud om bestanden binnen uw organisatie en met externe partners op te slaan, te synchroniseren en te delen
description_ru    : Tresorit - это сверхбезопасное место в облаке для хранения, синхронизации и обмена файлами внутри вашей организации и с внешними партнерами
audit_schedule    : 
editor            : 
keywords          : 
licence           : Copyright © 2024 Tresorit. All rights reserved.
homepage          : https://tresorit.com/
package_uuid      : 57177335-720c-48df-905b-53a42310dd58
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 86cf9bd027b4e20a3404ea5c54fe45b62013a0b05cc76f9220ee30d8f3471139
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-12-08T16:58:09.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         : YhCJZjj9S1S78+Y2z/7JTYaA7+1ib9bVWtY9Ge12fVnsLUUEWX6bmR9hk3uWirukJubFygHpWY9nKznpxMAhXLQlID5gH0N8ZCdG+k5KAXJX4oWCK4og/uTG3oNMpa9+rx3yOGdHS0551cgHXHD0gGQSbfXGbAgFtwoqwZ5S/uoJXubKxaTuXosTfZ8tNOhEoXG0G0nKdB/9u7xhUCVD/+5zUQWMt2lrCZaHD87wkmgke0tYBWFJ4aNEn08eKwdrUIpGJI7uRmjCY9YpnvEm225aqRUglETeZ/DH5rFIQh+LVvPPvzo/b+/zjN8hAwG6oywJhmzn4gBUIN2pKW31NA==

# -*- 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
    tresorit_installed = installed_softwares('Tresorit')
    
    # Installing the software if not already installed
    if not tresorit_installed:
        install_exe_if_needed('Tresorit.exe',
            silentflags='/s /v"/qn"',
            min_version=control.get_software_version(),
        )
        
    # Searching for the Tresorit uninstall key dynamically
    uninstall_key = None
    for software in installed_softwares('Tresorit'):
        if 'Tresorit' in software['name']:
            uninstall_key = software['key']
            break
    
    if uninstall_key:
        print(f"Uninstall key for Tresorit: {uninstall_key}")
        # You can store this key for later use, e.g., during the uninstall process
    else:
        print("Could not find uninstall key for Tresorit.")


def uninstall():
    # Searching for the Tresorit uninstall key dynamically
    uninstall_key = None
    uninstall_string = None

    # Searching for the uninstall string dynamically
    for software in installed_softwares('Tresorit'):
        if 'Tresorit' in software['name']:
            uninstall_key = software['key']
            uninstall_string = software['uninstall_string']
            break
    
    if uninstall_string:
        # Adding silent uninstall flag
        if 'msiexec' in uninstall_string.lower():
            uninstall_string += ' /qn'  # For MSI-based uninstallation
        else:
            uninstall_string += ' /S'   # For EXE-based uninstallation, assuming /S for silent
        
        print(f"Uninstalling Tresorit silently using command: {uninstall_string}")
        run(uninstall_string)
    else:
        print("Tresorit is not installed or uninstall string not found.")

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import os
from datetime import datetime

def update_package():
    # Déclaration des variables locales
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

    # URL de téléchargement de Tresorit
    download_url = "https://installer.tresorit.com/Tresorit.exe"
    latest_bin = "Tresorit.exe"

    # Télécharger le fichier si une nouvelle version est disponible
    if not isfile(latest_bin):
        package_updated = True
        wget(download_url, latest_bin, proxies=proxies)
    else:
        # Vérifier si le fichier local est à jour
        local_version = get_version_from_binary(latest_bin)
        temp_bin = "Temp_Tresorit.exe"
        wget(download_url, temp_bin, proxies=proxies)
        remote_version = get_version_from_binary(temp_bin)
        
        if local_version != remote_version:
            package_updated = True
            remove_file(latest_bin)
            os.rename(temp_bin, latest_bin)
        else:
            remove_file(temp_bin)
    
    # Supprimer les anciens fichiers EXE
    for f in glob.glob("*.exe"):
        if f != latest_bin:
            remove_file(f)

   
    version = get_version_from_binary(latest_bin)
    control.set_software_version(version)
    control.save_control_to_wapt()

d79c2b66f417a13823b20333a7528241825b283d9e59df94c38e49d067fb8b6b : Tresorit.exe
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
59b17adee6c2f27301b9d4402ad099a80f826a1d827199249f83427ee11180b3 : WAPT/control
86cf9bd027b4e20a3404ea5c54fe45b62013a0b05cc76f9220ee30d8f3471139 : WAPT/icon.png
fdc2e4a5f7eda580c485cb762885186626d7d45702d83ed15b3453aa16ab4615 : luti.json
4e652faac6e0a12e8dc3de2f439a1486cc8948c0d483d51ca166d4b25c1e7d23 : setup.py
51fbf4d804f313160351c639a0bd53e632590863c8ed68a26de1aa026e2dd720 : update_package.py