tis-laps icon

LAPS

Paquet d’installation silencieuse pour LAPS

6.2.0.0-12
Security
Security

  • package: tis-laps
  • name: LAPS
  • version: 6.2.0.0-12
  • categories: Security
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
  • editor: Microsoft
  • locale: all
  • target_os: windows
  • architecture: arm64
  • signature_date:
  • size: 1.17 Mo
  • installed_size: 24.00 Mo
  • homepage : https://www.microsoft.com/download/details.aspx?id=46899

package           : tis-laps
version           : 6.2.0.0-12
architecture      : arm64
section           : base
priority          : optional
name              : LAPS
categories        : Security
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
description       : Local Administrator Password Solution (LAPS) for clients (CSE)
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://www.microsoft.com/download/details.aspx?id=46899
installed_size    : 24000000
impacted_process  : 
description_fr    : Solution de mot de passe pour administrateur local (LAPS) pour les clients (CSE)
description_pl    : Local Administrator Password Solution (LAPS) dla klientów (CSE)
description_de    : Lokale Administrator-Passwort-Lösung (LAPS) für Clients (CSE)
description_es    : Solución de contraseña de administrador local (LAPS) para clientes (CSE)
description_pt    : Solução de Senha de Administrador Local (LAPS) para clientes (CSE)
description_it    : Soluzione per la password dell’amministratore locale (LAPS) per i client (CSE)
description_nl    : Oplossing voor wachtwoorden voor lokale beheerders (LAPS) voor cliënten (CSE)
description_ru    : Решение для паролей локального администратора (LAPS) для клиентов (CSE)
audit_schedule    : 
editor            : Microsoft
keywords          : 
licence           : 
homepage          : https://www.microsoft.com/download/details.aspx?id=46899
package_uuid      : 05435a52-1a45-40cc-80e8-ab1a1541cba8
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 5.2.3790
max_os_version    : 
icon_sha256sum    : 19679fbbaf7e1b6630e722c5a99e9b7d270aa39ebacbe6ef568257fab346db09
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-02-02T10:27:25.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         : Fc/ZgU4CgwoWO0sdqJ0J1EKk5306eq6VS8m02TJbLHqhFZb2eyif8nAXVIN8BMEq4YQPXcuvTtejWT88wlrqXMpq2LyjN21S4723KN3K1/K/Sc7taZfzzxrspghbo9a0gdDH86WTEIYc+eKmxb2jaxJ289AzvLE+9N6YLwYsXOzBvKlPSakF9ITYaGw+5FOceWRa6L5wZwI/DiMnkq+PJa7GYgXzBdNtSGRhiZLuzGXgVeN/oO2aGl+SFfsivUhJTxwdfW/5xTOKRHA2D7EdsjhjW1FM8WQriNu+9i6YUX+u/uVvdSJrepPfIhshZUtJQ+hz0z4FptV7vv0lKwL/cg==

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

# 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():

    if windows_version() < WindowsVersions.Windows11v24H2:
        bin_name = glob.glob("LAPS*.msi")[0]

        # Installing the software
        print("Installing: %s" % bin_name)
        install_msi_if_needed(
            bin_name,
            properties="ALLUSERS=1",
        )

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


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    url_dl = "https://download.microsoft.com/download/C/7/A/C7AAD914-A8A6-4904-88A1-29E657445D03/LAPS.ARM64.msi"

    latest_bin = url_dl.split("/")[-1]

    # Downloading latest binaries
    if isfile(latest_bin):
        remove_desktop_shortcut(latest_bin)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

    # Checking version from file
    version = get_version_from_binary(latest_bin)

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        result = True
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating or not update-package-sources
    return result

883ee35e5af7d4f860af89b9eb0ab9dfd8e9602aaab89f71c6028a29d572fa52 : LAPS.ARM64.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
93eb2059060af477102578c3c38ba90aba9f197f4059d9733ebc64b5c0aedf64 : WAPT/changelog.txt
90c94668b948aba729ccf568ebae48ab6779af0ed9c6bd29434fe70633242a8e : WAPT/control
19679fbbaf7e1b6630e722c5a99e9b7d270aa39ebacbe6ef568257fab346db09 : WAPT/icon.png
3e68ae448ca01f60d9f3ed40233d90838396eda556fe299575d1541034058af9 : luti.json
159d918145dadac5582db71154c7edadf66994c6979ca5a28e70a1077d7e6b76 : setup.py
ce9533ff7ad2bf4b2ae5a6d921f576ccce65fbb942932bd7b7a40ef2fd5bb5bd : update_package.py

6.2.0.0
===
improve code
Split update-package