tis-laps-management icon

LAPS Management

Silent install package for 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: x86
  • signature_date:
  • size: 1.08 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      : x86
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      : c68f27ed-3267-4180-b932-0df69fe300c8
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:31:01.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         : hFRWnI/+OkOrTicOekHyDl6pOB4v0h2DNLxpJBVyoQxiSofBy8y8z++55P2GLkVf4kOKRHtsjm3l20+hODWsTdimlPTE9rekL37DxWN8OCGaLPwfkbqjNaJKubDhwfOVk1EDWwCMiAW9e+Q1S25XOSozKnAh7d3/9zgUttcqI1OT8g9pP/Rt7uJ7jAA3vaO7f7Xcs+05azRW/p3rWQBk4g+ZZ+buVcu15Lr2LiRkboqTrALYvwcdJGEugyYrMo6XtxYPt2zl7BG3XGaIHMoSe1ExM7SJOESjtmEtuadfDUG0GMpE42Sqr07Hs8JMkbzEuY3nQrVSMkKiHeqg3DMEYA==

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

fddab92f98e08e2cae0e025f4cf2cdd5f0d87c8dfc5719045933d8f0130aff4d : LAPS.x86.msi
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
c5a8a03f6136920c694ce2aba617e08a626b79cd2a186cbc5f4498a2d9846f98 : WAPT/changelog.txt
db02c7c4ed3db346fb9ce12cbab925292fd06fe0566334c7d7fd88d838a6bcd9 : WAPT/control
19679fbbaf7e1b6630e722c5a99e9b7d270aa39ebacbe6ef568257fab346db09 : WAPT/icon.png
a4360c2e662bbdba64325f3ad6df017f2d5a38a5f558594bd7a57eedc4522101 : luti.json
57e2051449c9d7cd7459c80fdeebcbe8f8bde16666b51fefaa610fec1ce5a50d : setup.py
51a9eddcad2f467ef7c1636683452c5af5725577fe7d2b5833442916acd7292d : update_package.py

6.2.0.0
===
improve code
split update package