tis-withsecure-agent-desktop icon

WithSecure Elements Agent

Paquet d'installation silencieuse pour WithSecure Elements Agent

3.0.56192-3
System
Security
System
Security

  • package: tis-withsecure-agent-desktop
  • name: WithSecure Elements Agent
  • version: 3.0.56192-3
  • categories: System,Security
  • maintainer: WAPT Team,Tranquil IT,Flavien SCHELFAUT
  • editor: WithSecure Corporation
  • licence: proprietary
  • locale: all
  • target_os: darwin
  • architecture: all
  • signature_date:
  • size: 140.17 Mo
  • homepage : https://www.withsecure.com/

package           : tis-withsecure-agent-desktop
version           : 3.0.56192-3
architecture      : all
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         : darwin
min_wapt_version  : 2.4
sources           : https://www.withsecure.com/en/support/download
installed_size    : 
impacted_process  : 
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      : 11d12cf7-88b7-44ca-b848-fb77ed0b9630
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 14.0
max_os_version    : 
icon_sha256sum    : 94579e3e3924e8bfd44e562bcf9406aff640e418f196ce0a209439eab74fbe1a
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-10-14T10:09: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         : MXm/wVwObBpZzk1AqMHCxdCZrJV65KG4udGhKqc+OJJwFeZckYb1eD4MyhR8cG1VI6Ul0GZh9NOcviM5bcsf3Kw/nXGsup/AeX+H/OE003gW/czR7RpKkw3qn2tLeWComFOARm6uuEXJjb82eKiBz6RiGPIGYBICvzRgkz7pfZWiDhJuY+89Uw0EbDecP02FsY/WL6Dy3RQseVMLFtu89FYsRvuqibaXp2VeeG9Wo+EMMOmutRMfMvap2llNdt63sRg5izFJVqxJPqBbuFWYrIRD0nSDmfaPaZ7jhpyHHEB1Em9RQgTSa1q7T1taTib7GNbCOzn8KyiXiWYjQGOOFg==

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

app_path = "/Applications/WithSecure/WithSecure Agent.app"


def install():
    bin_name = glob.glob("ElementsAgentInstaller.mpkg")[0]

    # The subscription key is read from the installer file name: ElementsAgentInstaller__XXXX-XXXX-XXXX-XXXX-XXXX__.mpkg
    subscription_key = ""
    if subscription_key:
        keyed_bin_name = f"ElementsAgentInstaller__{subscription_key}__.mpkg"
        filecopyto(bin_name, keyed_bin_name)
        bin_name = keyed_bin_name

    install_pkg(
        bin_name,
        key=app_path,
        min_version=control.get_software_version(),
    )

    uninstallkey.remove(app_path)


def uninstall():
    # https://community.withsecure.com/en/kb/articles/32853-how-to-perform-a-silent-uninstall-of-withsecure-client-security-for-mac-or-elements-epp-for-computers-mac-client
    run(f'"{app_path}/Contents/MacOS/wsagent" --deactivate-system-extension', accept_returncodes=[0, 1])
    run("sudo /Library/WithSecure/bin/uninstall_MacProtection")

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


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 = {
        "darwin-all": "ElementsAgentInstaller.mpkg",
    }
    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}")

    unzip_with_7zip(latest_bin, ".", "Distribution", False)
    version = open("Distribution", encoding="utf-8").read().split('var version="')[1].split('"')[0]
    remove_file("Distribution")
    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

6d88d8dee2d590672b9160b5470980b0ace30eb319122a0e0a1d9b18138a3028 : ElementsAgentInstaller.mpkg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
1f254cce91407641a0ace167f9a9b8b8fc5f25a2c00d48f28d9625e2ffa82b23 : WAPT/control
94579e3e3924e8bfd44e562bcf9406aff640e418f196ce0a209439eab74fbe1a : WAPT/icon.png
e2c07a19107b67aa2f164b36855566b212a43c838ee3b7137a999a0b2c9a5eb3 : luti.json
e50d5cbeab14365f3d7d346abbc8c7e29605dec5e715f31f7b539b136b2a2b9e : setup.py
bf2fccb9d9b53ccbe00297b8e0bc2ab583c2a0840396d0c38e03c331c568352e : update_package.py