LAPS
Silent install package for 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: arm
- 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 : arm
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 : 7747e8c6-400d-40a1-8203-d457a9dd9eda
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 : 2025-11-15T16:00:19.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 : cR8MAuk3xjslCaVr3sGwc3mloX/m2bHjXQVhBu1dPFOZTqD8dysY/tUfRP58hknvIovV4dhdvEwRBy8lc3BdiJ9p9P0rxdwjxlp5WVu9x2NCVGwtgYiqWEkG9yhWbQdhTvKZTvUK5i5Ta1JAfMtKjp1jw9vQRp06e4re/SpjEg4Iz7D+Ad5VoMh5yNnF08lTdMTLfUCzHOxqhkMSACjW9N44CxRLjFj8Zc6UWFM15Kybj+rF8qCgYjg0KTgJVgwAvDGysj6GSpHYVf/gFohDBpyCIzkl5lLX++0ySEm6S96mcrykMR+84P1h5ZpSLqVYXuSO8PAJGFl9YmNzJJ3+8w==
# -*- 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
f8848d9e70a08d61929ccf58281e8cb64df593c22840a0eb891f71861829931b : WAPT/control
19679fbbaf7e1b6630e722c5a99e9b7d270aa39ebacbe6ef568257fab346db09 : WAPT/icon.png
39ea5497fc2f833c623496af0f6418ac16082f4b9ca0f42d3f9cf5d8655de07e : luti.json
159d918145dadac5582db71154c7edadf66994c6979ca5a28e70a1077d7e6b76 : setup.py
ce9533ff7ad2bf4b2ae5a6d921f576ccce65fbb942932bd7b7a40ef2fd5bb5bd : update_package.py
6.2.0.0
===
improve code
Split update-package