tis-kb5027397

10-1
1226 downloads
Download
See build result See VirusTotal scan
tis-kb5027397 icon
  • package : tis-kb5027397
  • name : Enablement Package KB (EKB),windows 11 22H2 to windows 11 22H3
  • version : 10-1
  • categories : Security,System and network
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor : Microsoft
  • licence :
  • locale : all
  • target_os : windows
  • impacted_process :
  • architecture : x64
  • signature_date : 2023-11-07 10:08
  • size : 188.94 Ko
package           : tis-kb5027397
version           : 10-1
architecture      : x64
section           : base
priority          : optional
name              : Enablement Package KB (EKB),windows 11 22H2 to windows 11 22H3
categories        : Security,System and network
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
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      : 6d5cc543-3626-448b-a114-9a4723acc3ed
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         : KuoYbVYhBd+M5mKVpNocS2fhJm281592WaCBvloHnu3ggruyq3cZvjNCh8opPdKLuAcF9cR69/XNWoemwTvOlje2jDnA5hm1Qgy5bi5sivion0Xz0IwYcxmGyWuabHfTfhcN5H9Ccw6+ko0UsyJPVh7iigCnHBZLayo/TQypi+eyQtBzkHNrtGChOkODG9dgSj9BMVVbhHLQgV9iSlQGrdbsuFx1W94pa05Ah9KEGDjy4r3ZxnYgKbpeKvfxNF0RwGnmMlpuE36rZ1ZK3Mc2KTi+DMwtNxRn6p0xZpi24FdyMyhSk+SpMQd1ly4hCcINVN1gldyT8aLfHZ4I/cJrAw==
signature_date    : 2023-11-07T10:08:38.257733
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
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-kb5027397-x64_3a9c368e239bb928c32a790cf1663338d2cad472.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/caa3ff4a-6420-4341-aeae-33b2d7f463be/public/windows11.0-kb5027397-x64_3a9c368e239bb928c32a790cf1663338d2cad472.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)
6fdfc2ceb85453a32291ce7d5fc5bbeca5efb282750d4f32606f7dd5c371979d : setup.py
 : __pycache__
762de31b92e0fd2dc2f4e16d9f86778c46fc2b1d19a1772f3e842f8f1ac3366b : windows11.0-kb5027397-x64_3a9c368e239bb928c32a790cf1663338d2cad472.msu
3e94d4be99d36494b75fa4f200dc631a239218ed8b3487ace7fe758072d648f8 : update_package.py
50ebc8b391d1e8930ff6b89e962c0af3c804cab454c62d13514438f4dd703e60 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
2e94ab19ee27d5f3985c65df389c5d4280fd65a381e3a7e5a0a0f96654d079e1 : luti.json
4d5f6d25b3606391ce9e0c2ed54eb81c2683a616aa5f62bdf928a60d85055ad0 : WAPT/control