tis-windows11-context-menu-modern icon

Windows 11 Modern Context Menu

Paquet d’installation silencieuse pour Windows 11 Modern Context Menu

1-9

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

package           : tis-windows11-context-menu-modern
version           : 1-9
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  : explorer
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           : proprietary_free,wapt_public
homepage          : 
package_uuid      : 07ff1798-5e4d-4353-9375-6915446840d9
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         : Rf/cSEC9r8czl1ZIx4FpxU7DhDt3oGQCReyhwixmijxgCe1HvUzMattV9jYbgKdElG5lNOYapdGScHqloC11q21JqKdOX0gj0l2Xf62wemvrqJX0jJwaWe8JQ5v26aiZFUQy4MrzZwTrOXGtbRTua7WS5zhUhQfTiNMmU/CzalzCLL5srHVNk9HgcxCfqwJlfJJ2+pt6wYHA7c3Fqtwb//a8tOunB7ZhFMBtvyyAfaAVHuvrfOP4WCVjg16aFUzW8ax0QxRx0hykaMgrrR02RY+IxZUfcIPGUC8AbboFsvlfVgsHeNQ8X6492et3hOTt/SwgASgMtcfp7tJXE6WwdA==
signature_date    : 2024-01-31T16:02:29.078140
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
2b3e02b8d6ec2e3262729b7b495304a5afd17b2941c3f3b4ffc90a61aa94ca84 : luti.json
9303209ec8e13ad39af43b18c2bbae2a621e6c6557bda8b9f18b49b759d7cdc6 : WAPT/control