tis-laps-management icon

LAPS Management

Paquet d’installation silencieuse pour LAPS Management

6.2.0.0-13
Security
Security

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

package           : tis-laps-management
version           : 6.2.0.0-13
architecture      : x64
section           : base
priority          : optional
name              : LAPS Management
categories        : Security
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
description       : Local Administrator Password Solution (LAPS) for admin management
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    : Local Administrator Password Solution (LAPS) pour la gestion de l’administration
description_pl    : Rozwiązanie Local Administrator Password Solution (LAPS) do zarządzania administracją
description_de    : Local Administrator Password Solution (LAPS) für die Verwaltung von Administratoren
description_es    : Solución de contraseña de administrador local (LAPS) para la gestión de la administración
description_pt    : Solução de Senha de Administrador Local (LAPS) para gestão administrativa
description_it    : Local Administrator Password Solution (LAPS) per la gestione degli amministratori
description_nl    : Oplossing voor lokale beheerderswachtwoorden (LAPS) voor beheerders
description_ru    : Local Administrator Password Solution (LAPS) для управления администраторами
audit_schedule    : 
editor            : Microsoft
keywords          : 
licence           : 
homepage          : https://www.microsoft.com/download/details.aspx?id=46899
package_uuid      : 3323ec71-21ae-41d8-a23f-791463248adc
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 5.2.3790
max_os_version    : 10.0.22621
icon_sha256sum    : 19679fbbaf7e1b6630e722c5a99e9b7d270aa39ebacbe6ef568257fab346db09
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-02-02T10:07:47.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         : hvnjyUlIaDpdeW8cvEzkUzDPKFYl6EzHox03JcKIikQGz8++1jqmpiGyw22mUlNVZSXzkbj40OF94K+PV6+xsXujEGIW4Yj2b/7ela/pDl8Hli4+YIffwQYMn3gOHQlBKDUM8iZOevZpju3qq2jKFPsNa0Lk/+wIssISpiqw52YNiTC5yjOHHM84MjaEK+vFgPK3IvKzwEJL9Y0GD7WWmAJNJsuh8mEBxHGTGEKUfYvFBWw16akwFc2QDcrntSYFLCavxb7b9oPCry3jx5aLprYNjnjhASApQwgX+BDy9YrmKK5yPQjVGfWHK0TBlz73blJxSMbQTapuab+nUZeB8w==

# -*- 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():
    # Declaring local variables
    bin_name = glob.glob("LAPS*.msi")[0]

    # Installing the software
    print("Installing: %s" % bin_name)
    install_msi_if_needed(
        bin_name,
        properties="ADDLOCAL=CSE,Management,Management.UI,Management.PS,Management.ADMX ALLUSERS=1",
        force=True,
    )

# -*- 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.x64.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

0001dd763cc74d37e3979e016ffcd0512d91494a0b3b7270c7a3bb4e1915f6d1 : LAPS.x64.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
c5a8a03f6136920c694ce2aba617e08a626b79cd2a186cbc5f4498a2d9846f98 : WAPT/changelog.txt
e42402f12fb2e1bea5ebcdabaa909077779d18da8ea19feaab08c29ae364c25b : WAPT/control
19679fbbaf7e1b6630e722c5a99e9b7d270aa39ebacbe6ef568257fab346db09 : WAPT/icon.png
695e919c97322e980347b652615ca268dad7f5642ad1fe8adca7edec69d94e53 : luti.json
57e2051449c9d7cd7459c80fdeebcbe8f8bde16666b51fefaa610fec1ce5a50d : setup.py
abb44d5882062f8b0b94b58992beb696c9f9ecd6a5dbc07b64c17aa442f64726 : update_package.py

6.2.0.0
===
improve code
split update package