tis-kb5050021 icon

Cumulative update January for W11 22H2/23H2

Silent install package for Cumulative update January for W11 22H2/23H2

1-2
Security
System and network
Security
System and network

  • package: tis-kb5050021
  • name: Cumulative update January for W11 22H2/23H2
  • version: 1-2
  • categories: Security,System and network
  • maintainer: WAPT Team,Tranquil IT,Joffrey Le Piquet
  • editor: Microsoft
  • locale: all
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 818.90 Mo

package           : tis-kb5050021
version           : 1-2
architecture      : x64
section           : base
priority          : optional
name              : Cumulative update January for W11 22H2/23H2
categories        : Security,System and network
maintainer        : WAPT Team,Tranquil IT,Joffrey Le Piquet
description       : 
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : 
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : Microsoft
keywords          : 
licence           : 
homepage          : 
package_uuid      : dd4de81f-1da5-4ec9-992c-fe24634d8705
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0.22621
max_os_version    : 10.0.22631
icon_sha256sum    : 50ebc8b391d1e8930ff6b89e962c0af3c804cab454c62d13514438f4dd703e60
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-01-20T11:38: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         : a6KqTlY7izz2pDM8oF5eVCkufEQ0VMdmzvd53EJFkl3zrM+kHU88titrZSDWrAybNMT4bnsCZkceZC140kRgl+DjmisCe+XAxUx8NDWggl598Wp9aVQzFnXEYah43Ghs4DAoJ/8H+IrbR4xJOaKJ6y5HbPOzU1Efp75VHfaLQP731AON5+jxBsmhNyAfrBNwODaw/e+zkvIRgnXLOhhU2roul1M8jqoASjXnz8X9NPq/CnHHusb0Xy0wlhRxXaU5kQ7PPDPnMs/2mgXgQ1gCogEHhKQyKm/RtvjEK/cr1lBM85RXX4Sc5R2Okodo+VU/HjBEQ6u4ayC6pwmA12gK7w==

from setuphelpers import *
import re

r"""
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():
    with EnsureWUAUServRunning():
        kb_files = [
            'windows11.0-kb5050021-x64_d1c06c1c0d32a7ff8879f1e2a386d26df113a227.msu',
            ]
        for kb_file in kb_files:
            kb_guess = re.findall(r'^.*-(KB.*)-',kb_file)
            if not kb_guess or not is_kb_installed(kb_guess[0]):
                print("Installing {}".format(kb_file))
                run('wusa.exe "{}" /quiet /norestart'.format(kb_file), accept_returncodes=[0, 3010, 2359302, -2145124329], timeout=1800)
            else:
                print("{} already installed".format(kb_file))

    if is_pending_reboot():
        print("A reboot is needed !")



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


def update_package():
    # Initializing variables
    url_dl = "https://catalog.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/db0d5972-d5ac-4706-ae45-d2fb38680308/public/windows11.0-kb5050021-x64_d1c06c1c0d32a7ff8879f1e2a386d26df113a227.msu"
    
    proxies = get_proxies()
    latest_bin = url_dl.split('/')[1]
    version = control.get_software_version()

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

    # Changing version of the package
    control.version = "%s-%s" % (version, int(control.version.split("-")[-1]) + 1)
    control.save_control_to_wapt()
    print("Changing version to: %s in WAPT\\control" % control.version)

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
91a83bee092bf580faf3a2ee330b434a5782093e803ccad821f59ba2df8b8031 : WAPT/control
50ebc8b391d1e8930ff6b89e962c0af3c804cab454c62d13514438f4dd703e60 : WAPT/icon.png
1e1d706e8301878f0f496940f50630662928c7c51991c001cecb7a3b76a55587 : luti.json
e825b41bc317b5a01700c3e272b0ad0c9c68030f1924041fa1047fc7e2c04312 : setup.py
56867e80747d0a4fef9b79507ecc6568ac17d4c8b37db9b5f945868cd93e83bd : update_package.py
6895cc15f2948835241f80fcfd4e5d2ef53a7483999c39f713da8ea3f6c9f48b : windows11.0-kb5050021-x64_d1c06c1c0d32a7ff8879f1e2a386d26df113a227.msu