tis-laps

6.2.0.0-14
Solution de mot de passe pour administrateur local (LAPS) pour les clients (CSE)
2265 téléchargements

Voir le résultat de la construction
tis-laps icon
  • package : tis-laps
  • name : LAPS
  • version : 6.2.0.0-14
  • categories : Security
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
  • editor : Microsoft
  • licence :
  • locale : all
  • target_os : windows
  • impacted_process :
  • architecture : x64
  • signature_date : 2025-09-05 14:47
  • size : 1.12 Mo
  • installed_size : 24.00 Mo
  • homepage : https://www.microsoft.com/download/details.aspx?id=46899
package           : tis-laps
version           : 6.2.0.0-14
architecture      : x64
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          : PREPROD
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      : 37359860-5528-4023-9aae-ef6ecb0b8bc6
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 5.2.3790
max_os_version    : 
icon_sha256sum    : 19679fbbaf7e1b6630e722c5a99e9b7d270aa39ebacbe6ef568257fab346db09
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-09-05T14:47:52.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         : De7LTr7ZCYLpetE1L3fPFD93Ks879amp5pbPysE0Qbv8jZBAuKsBSasRKMeWaTcXgpp0BhlkwQuHBRANZJA3R1GONGwVfPQ35IYPYfs5Vdt+PHExtZUJpW1aa2VSkLhiHfZ6GjzGe4y62hqBmHomXSslJkolFlYVPywKlKNSuY7QX7GqKSCi7nxndDTUwUQeAylufrT8HcDIowRxyaf9FRZJ3FGZKoTgkqlr5RNIDyTiIv1fn6tInjC8rruCTvMAl6bt2WXeP8r+IwAOlR7f+u0UgyO6GxQS4XHJmNgul/3FFOPdYOI1FyUTAjVcbRc/FOfr64wt9jp9uSN7O7I+Jw==
# -*- 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.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
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
93eb2059060af477102578c3c38ba90aba9f197f4059d9733ebc64b5c0aedf64 : WAPT/changelog.txt
e7dd90178efe2c8ac29b489474e0126f241952c837018af17fb86da7cc82396b : WAPT/control
19679fbbaf7e1b6630e722c5a99e9b7d270aa39ebacbe6ef568257fab346db09 : WAPT/icon.png
4d00dbb398fae24e4dfe1536e39b2f2bae451a8aa74aa1f2e2fd0371074fc052 : luti.json
46c4572c0882ba4dbdb463f27d7044a47bfa7bfafa7486c44a7067f901be34a2 : setup.py
abb44d5882062f8b0b94b58992beb696c9f9ecd6a5dbc07b64c17aa442f64726 : update_package.py
6.2.0.0
===
improve code
Split update-package