tis-withsecure-agent-desktop icon

WithSecure Elements Agent

Paquet d'installation silencieuse pour WithSecure Elements Agent

26.4.612.0-6
System
Security
System
Security

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

package           : tis-withsecure-agent-desktop
version           : 26.4.612.0-6
architecture      : x64
section           : base
priority          : optional
name              : WithSecure Elements Agent
categories        : System,Security
maintainer        : WAPT Team,Tranquil IT,Flavien SCHELFAUT
description       : WithSecure Elements Agent is the endpoint protection agent of the WithSecure Elements platform, providing real-time protection against malware, viruses and ransomware, managed centrally from the Elements Security Center
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.4
sources           : https://www.withsecure.com/en/support/download
installed_size    : 
impacted_process  : fshoster32
description_fr    : WithSecure Elements Agent est l'agent de protection des postes de travail de la plateforme WithSecure Elements, offrant une protection en temps réel contre les logiciels malveillants, les virus et les ransomwares, administré de manière centralisée depuis l'Elements Security Center
description_pl    : WithSecure Elements Agent to agent ochrony stacji roboczych platformy WithSecure Elements, zapewniający ochronę w czasie rzeczywistym przed złośliwym oprogramowaniem, wirusami i ransomware, zarządzany centralnie z poziomu Elements Security Center
description_de    : WithSecure Elements Agent ist der Endpoint-Schutzagent der WithSecure Elements-Plattform, der Echtzeitschutz vor Malware, Viren und Ransomware bietet und zentral über das Elements Security Center verwaltet wird
description_es    : WithSecure Elements Agent es el agente de protección de endpoints de la plataforma WithSecure Elements, que ofrece protección en tiempo real contra malware, virus y ransomware, administrado de forma centralizada desde Elements Security Center
description_pt    : O WithSecure Elements Agent é o agente de proteção de endpoints da plataforma WithSecure Elements, que oferece proteção em tempo real contra malware, vírus e ransomware, gerido de forma centralizada a partir do Elements Security Center
description_it    : WithSecure Elements Agent è l'agente di protezione degli endpoint della piattaforma WithSecure Elements, che offre protezione in tempo reale contro malware, virus e ransomware, gestito in modo centralizzato dall'Elements Security Center
description_nl    : WithSecure Elements Agent is de endpointbeveiligingsagent van het WithSecure Elements-platform, die realtime bescherming biedt tegen malware, virussen en ransomware en centraal wordt beheerd vanuit het Elements Security Center
description_ru    : WithSecure Elements Agent — агент защиты конечных точек платформы WithSecure Elements, обеспечивающий защиту в реальном времени от вредоносных программ, вирусов и программ-вымогателей с централизованным управлением из Elements Security Center
audit_schedule    : 
editor            : WithSecure Corporation
keywords          : withsecure,elements,antivirus,endpoint,security,edr,f-secure
licence           : proprietary
homepage          : https://www.withsecure.com/
package_uuid      : 8512e1a8-4fdb-4af7-a36e-efac3565b26c
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    : 2026-10-14T09:17:24.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         : J0BL5URkvk7p5TnpyxY0up2ia8x+1dL48HQSTRZAolsuoimodNSI5CCfE3VgZrFYNKJvMQtGjzQ7H+nr7x9ZMu4TaAUXBC2mfpTTWqsLFjbtA5Go/8ecikgUEt4CunxDNHRz/NZQLEOcBGOl0h/cmJf0gloBnlMp5k+I5TjXba1dzkDX4L/Ie+BsQzLa0soOeTQ7a0nnHuIh9XLr/AUz/frvSFU8k0vXzZJx+h519Kbx8CWJfVlQtXYmJ61Dej7kvPMzwX/say848ppfX/94aKC9fYRD9hg6UVmzfkyVizbdpNbrYdN+a8CBSJujDWazpHziMsgmrntjaLuxY1Jqww==

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

app_name = "^WithSecure. Elements Agent$"


def get_version(soft):
    # DisplayVersion only contains "major.minor", the full version is encoded in the "Version" DWORD
    uninstall = r"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%s" % soft["key"]
    with reg_openkey_noredir(HKEY_LOCAL_MACHINE, uninstall, noredir=soft["win64"]) as key:
        version = reg_getvalue(key, "Version")
    return f"{version >> 24}.{version >> 16 & 0xFF}.{version & 0xFFFF}"


def install():
    bin_name = glob.glob("ElementsAgentOfflineInstaller.msi")[0]

    # All MSI properties: https://www.withsecure.com/userguides/product.html?business/psb-portal/latest/en/concept_zh2_rfh_4bc-psb-portal-latest-en
    properties = {
        # "VOUCHER": "XXXX-XXXX-XXXX-XXXX-XXXX",
    }

    install_msi_if_needed(
        bin_name,
        name=app_name,
        min_version=control.get_software_version(),
        get_version=get_version,
        properties=properties,
    )

    # fs_uninstall_32.exe leaves the uninstall key empty
    uninstallkey.clear()


def uninstall():
    for soft in installed_softwares(name=app_name):
        run(soft["uninstall_string"] + " --silent")
        unregister_uninstall(soft["key"], win64app=soft["win64"])

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


def update_package():
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name

    # All downloads available here: https://support.withsecure.com/en/download/
    base_url = "https://download.withsecure.com/PSB/latest/"
    update_dict = {
        "windows-x64": "ElementsAgentOfflineInstaller.msi",
    }
    os_type = control.target_os.split("(")[0] + "-" + ensure_list(control.architecture)[0]
    latest_bin = update_dict[os_type]
    latest_bin_extension = latest_bin.rsplit(".", 1)[-1]
    download_url = base_url + latest_bin
    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)
    print(f"Binary is present: {latest_bin}")

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

    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

8e4cc33dbdd4d6d37ce4ab4ab5d93ec14d4946d0961e3e5241e9679048e6f4e7 : ElementsAgentOfflineInstaller.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
ae079300d2dbf87ba7761e9e9afb45a02992b46157074ca6876d5983b30b0876 : WAPT/control
94579e3e3924e8bfd44e562bcf9406aff640e418f196ce0a209439eab74fbe1a : WAPT/icon.png
2946bdb033beda619ab5ccd4e42682bf1f53c0120a358f5bda190835e84133f0 : luti.json
f39d9fccde1a960653937cb75f90e1410eab9f95fed04245a2f3b740bf7a6e02 : setup.py
b47bef17ebec298dc337f83e8f3aec16b04b6c44b063ca9aa3cd705115ce1921 : update_package.py