tis-windows11-context-menu-modern icon

Windows 11 Modern Context Menu

Paquet d’installation silencieuse pour Windows 11 Modern Context Menu

1-10

  • package: tis-windows11-context-menu-modern
  • name: Windows 11 Modern Context Menu
  • version: 1-10
  • categories: Configuration
  • maintainer: WAPT Team,Tranquil IT,Jordan ARNAUD
  • editor: Microsoft
  • licence: wapt_public
  • locale: all
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 7.87 Ko

package           : tis-windows11-context-menu-modern
version           : 1-10
architecture      : all
section           : base
priority          : optional
name              : Windows 11 Modern Context Menu
categories        : Configuration
maintainer        : WAPT Team,Tranquil IT,Jordan ARNAUD
description       : bring back modern context menu on Windows 11
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : rétablir le menu contextuel moderne sous Windows 11
description_pl    : przywrócić nowoczesne menu kontekstowe w systemie Windows 11
description_de    : modernes Kontextmenü unter Windows 11 zurückbringen
description_es    : recuperar el menú contextual moderno en Windows 11
description_pt    : trazer de volta o menu de contexto moderno no Windows 11
description_it    : Riportare il menu contestuale moderno su Windows 11
description_nl    : breng modern contextmenu terug op Windows 11
description_ru    : Верните современное контекстное меню в Windows 11
audit_schedule    : 
editor            : Microsoft
keywords          : bring,back,modern,context,menu,Windows11,11
licence           : wapt_public
homepage          : 
package_uuid      : 5138c5b1-64d9-4471-862a-1f46e91ddeb1
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0.22621
max_os_version    : 
icon_sha256sum    : d642b35ce6441158dc071677fb958ad01830271d373c332d64e48dec67f80834
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : kqKAnFMURW7sfZyrzGCv8pay1J6kJMUmbUo2jM8e640ekZyPuqOcfNPhgG3y9wfgx5Ih1aC6IcZJXgxaZMKixtQY8F8AyWudq3aJVf9NGdCbWieoGXz9UODfrASqR4strdjFMSvSm7s1C62gQbM6DTwrYY+IwpHDmVCRUTnuCn6zGN5optgT0AbJLlQLeGVmL81GtAmi3Olnck4oEz+bgkULYpM9OeeCssACXoVvTUEhQIHkRdpZNs2rRgD7QuqHpT5y1h+RVkBX+AlOwE150zIkgQ0XTlrKOu9j/HhC49sLrbkCphXX6V37dY303IIknqnMEVQh5yAagXvjKj0xjA==
signature_date    : 2024-02-05T12:00:05.853417
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

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

""" 
https://answers.microsoft.com/windows/forum/all/problems-reverting-back-to-the-windows-10-file/488858e1-8de1-499e-8fd4-51357f716ca8

"""


def install():
    pass


def session_setup():
    registry_path = r"Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32"
    path_text = makepath(os.environ["temp"], "reboot_text.txt")
    username = get_current_user()
    reboot_text = f"""<html>
    <h3>Hello {username},</h3>
    <p>An installation has been performed on your workstation and will take effect after a reboot.</p>
    <p>Have a nice day!</p>
    </html>
    """

    if not reg_key_exists(HKEY_CURRENT_USER, registry_path):
        print("modern context menu is already applied.")
    else:
        print(rf"Applying: modern context menu")
        run(f'reg delete "HKCU\\{registry_path}" /f /ve')
        with open(path_text, "w", encoding="utf8") as file:
            file.write(reboot_text)
        try:
            run(f"waptmessage.exe -f {path_text}")
        except TimeoutExpired:
            pass

f8f6b41ad5c313e5cec285f3f2f256f888d6f9e684f5a4e32f6a323075f6b259 : setup.py
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 : update_package.py
d642b35ce6441158dc071677fb958ad01830271d373c332d64e48dec67f80834 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
da73dee001e80f7af4a7ac925a5efcd65e5ad094f912adb96a97fbbd286fddf6 : luti.json
c1a5a795557eb5995ee83ccdb0651f1e3a5e7f0034c9ac4b5f3b5ce7c87adb6c : WAPT/control