tis-withsecure-agent-desktop icon

WithSecure agent desktop

Paquet d’installation silencieuse pour WithSecure agent desktop

25.2.408.0-2

  • package: tis-withsecure-agent-desktop
  • name: WithSecure agent desktop
  • version: 25.2.408.0-2
  • categories: System,Security
  • maintainer: WAPT Team,Tranquil IT,Flavien SCHELFAUT
  • editor: WithSecure Corporation
  • licence: proprietary_free
  • locale: all
  • target_os: windows
  • impacted_process: fshoster32
  • architecture: x64
  • signature_date:
  • size: 61.27 Mo
  • homepage : https://www.withsecure.com/

package           : tis-withsecure-agent-desktop
version           : 25.2.408.0-2
architecture      : x64
section           : base
priority          : optional
name              : WithSecure agent desktop
categories        : System,Security
maintainer        : WAPT Team,Tranquil IT,Flavien SCHELFAUT
description       : WithSecure Agent Desktop is an IT security solution that offers real-time protection against malware, viruses and ransomware, using artificial intelligence for proactive threat detection and centralized security management
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.4
sources           : 
installed_size    : 
impacted_process  : fshoster32
description_fr    : WithSecure Agent Desktop est une solution de sécurité informatique qui offre une protection en temps réel contre les logiciels malveillants, les virus et les ransomwares, en utilisant l'intelligence artificielle pour une détection proactive des menaces et une gestion centralisée de la sécurité.
description_pl    : WithSecure Agent Desktop to rozwiązanie bezpieczeństwa IT, które oferuje ochronę w czasie rzeczywistym przed złośliwym oprogramowaniem, wirusami i oprogramowaniem ransomware, wykorzystując sztuczną inteligencję do proaktywnego wykrywania zagrożeń i scentralizowanego zarządzania bezpieczeństwem.
description_de    : WithSecure Agent Desktop ist eine IT-Sicherheitslösung, die Echtzeitschutz vor Malware, Viren und Ransomware bietet und künstliche Intelligenz für eine proaktive Erkennung von Bedrohungen und eine zentrale Sicherheitsverwaltung nutzt.
description_es    : WithSecure Agent Desktop es una solución de seguridad informática que ofrece protección en tiempo real contra malware, virus y ransomware, utilizando inteligencia artificial para la detección proactiva de amenazas y la gestión centralizada de la seguridad.
description_pt    : O WithSecure Agent Desktop é uma solução de segurança de TI que oferece proteção em tempo real contra malware, vírus e ransomware, utilizando inteligência artificial para deteção proactiva de ameaças e gestão centralizada da segurança
description_it    : WithSecure Agent Desktop è una soluzione di sicurezza informatica che offre protezione in tempo reale contro malware, virus e ransomware, utilizzando l'intelligenza artificiale per il rilevamento proattivo delle minacce e la gestione centralizzata della sicurezza.
description_nl    : WithSecure Agent Desktop is een IT-beveiligingsoplossing die realtime bescherming biedt tegen malware, virussen en ransomware, met behulp van kunstmatige intelligentie voor proactieve detectie van bedreigingen en gecentraliseerd beveiligingsbeheer.
description_ru    : WithSecure Agent Desktop - это решение для обеспечения ИТ-безопасности, которое предлагает защиту от вредоносных программ, вирусов и программ-рансомов в режиме реального времени, используя искусственный интеллект для проактивного обнаружения угроз и централизованного управления безопасностью.
audit_schedule    : 
editor            : WithSecure Corporation
keywords          : 
licence           : proprietary_free
homepage          : https://www.withsecure.com/
package_uuid      : c1131cae-5133-4fed-bbf5-f8cd2023d93d
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 94579e3e3924e8bfd44e562bcf9406aff640e418f196ce0a209439eab74fbe1a
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-10T10:08:08.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         : ofcAf9HTQ2aKQKwzlP9AVUkLuR4upZ+eYj87QZlVX7n6kzDLDKff3lwsZCSz9+6chFpgzVcIWqI/CDBEeKFqNEZbS+U8HYgScBO30hfCjwXqF3zqyNsaY+4eFvR1pjmJs/mjDjeB0HzDWU8q2xmd2xSWw8EY7bCk/bCzDUiGQ+YbKJGDndK1COp+0N7365VCdsrkWDPvtjyzDYcbQKj7AiF4XxAjcdikG7YDAaQZ77k22DMvp8wcYkWO2efVc13ziYR7q7B+R+XONZ/kc/QYHH6cyrhffom/Y7Hyh5dk8qLD7v5K+Sl6FyIzlkz/0fcG4xLmqYviAF7jBLVVayM0sw==

# -*- coding: utf-8 -*-
from setuphelpers import *

def install():
    bin_name = glob.glob("ElementsAgentOfflineInstaller.msi")[0]
    
    # All MSI property : https://www.withsecure.com/userguides/product.html?business/psb-portal/latest/en/concept_zh2_rfh_4bc-psb-portal-latest-en
    properties={
        # "VOUCHER": ""
    }
    
    props = ' '.join(["%s=%s" % (k, v) for (k, v) in properties.items()])
    killalltasks(ensure_list(control.impacted_process))
    run(f'"{makepath(system32(), "msiexec.exe")}" /norestart /q /i "{bin_name}" {props}')
    wait_uninstallkey_present(name="^WithSecure. Elements Agent$")

def uninstall():

    for to_uninstall in installed_softwares(name="^WithSecure. Elements Agent$"):
        print(f"Removing: {to_uninstall['name']} ({to_uninstall['version']})")
        killalltasks(ensure_list(control.impacted_process))
        run(rf'{to_uninstall["uninstall_string"]} --silent')
        wait_uninstallkey_absent(name="^WithSecure. Elements Agent$")
    

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
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()
    app_name = control.name

    # All download available here : https://www.withsecure.com/en/support/download
    download_url = "https://download.withsecure.com/PSB/latest/ElementsAgentOfflineInstaller.msi"
    latest_bin = download_url.rsplit("/", 1)[-1]
    latest_bin_extension = latest_bin.rsplit(".", 1)[-1]

    print(f"Download URL is: {download_url}")
    
    if isfile(latest_bin):
        remove_file(latest_bin)
        
    print(f"Downloading: {latest_bin}")
    wget(download_url, latest_bin, proxies=proxies)

    expected_issuer = "WithSecure Oyj"
    sign_name = waptlicences.check_msi_signature(latest_bin)[0]
    if sign_name != expected_issuer:
        error(f'Bad issuer {sign_name} != {expected_issuer} ')
        
    version = get_msi_properties(latest_bin)['ProductVersion']
    print(f"Latest {app_name} version is: {version}")

    # 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)})")

    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

40a2b2f9c4d372b976a7eec2c46acb4c7229884e1f1c2e5421fc8ef68f31ef88 : ElementsAgentOfflineInstaller.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
9389efddd1ab8fd6e83459208a6a6032e9907199d758dd66faac2b464a300582 : WAPT/control
94579e3e3924e8bfd44e562bcf9406aff640e418f196ce0a209439eab74fbe1a : WAPT/icon.png
b51ed11f8d2cea81d529c819c8bd9720b7ee23f2f7a2b241876615b28585da44 : luti.json
3177f3c92400d0ed9588cf9a9f01b8b6d7e96bb86b56aa36d0f4738b56b5840a : setup.py
652cde3bac40a93b96998b727c40ce6c6b788c07ab2d9f823c99e827ce9b9ca5 : update_package.py