tis-windows11-context-menu-classic icon

Windows 11 Classic Context Menu

Paquet d’installation silencieuse pour Windows 11 Classic Context Menu

1-10

  • package: tis-windows11-context-menu-classic
  • name: Windows 11 Classic 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.88 Ko

package           : tis-windows11-context-menu-classic
version           : 1-10
architecture      : all
section           : base
priority          : optional
name              : Windows 11 Classic Context Menu
categories        : Configuration
maintainer        : WAPT Team,Tranquil IT,Jordan ARNAUD
description       : bring back classic 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 classique sous Windows 11
description_pl    : przywrócić klasyczne menu kontekstowe w systemie Windows 11
description_de    : das klassische Kontextmenü in Windows 11 wiederherstellen
description_es    : recuperar el menú contextual clásico en Windows 11
description_pt    : trazer de volta o menu de contexto clássico no Windows 11
description_it    : Riportare il menu contestuale classico su Windows 11
description_nl    : klassiek contextmenu terugbrengen in Windows 11
description_ru    : Верните классическое контекстное меню в Windows 11
audit_schedule    : 
editor            : Microsoft
keywords          : bring,back,classic,context,menu,windows11
licence           : wapt_public
homepage          : 
package_uuid      : 34b3a323-4737-464e-b05a-89131f3d9027
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         : VofMHRWe2Ffvcof0G++ejWxdBqAqib84Dfi7S+ZfwEb1hIBQOZdo/bsZzoxHmmD4Zq2s8OUW8u9qSX7mJqXcV+IsFt1TXLSl0u3UJ7xjEGJytvkj6Pc2v33vuMyxq5h0bMltBniiXYxvHMuyByY3HBC3kR5nvLAFGvtiHSbWiwsi2zOKiab8N5cIZokCAUZYQ8F1WqbilCC8+JcqrZ1jIZsUmRGhD7bAB9M9XlD8excmG6ooFsWX4jqIouMqBnD+2iHk493CLpZhwwOPq3QZoDqNeUZM9BN+yy4m2bjAdPPDAkkn7igPObojfzCWRbNNndDHghaTbsVJqjrdEqxGGw==
signature_date    : 2024-02-05T12:00:20.145535
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 reg_key_exists(HKEY_CURRENT_USER, registry_path):
        print("classic context menu is already applied.")
    else:
        print(rf"Applying: classic context menu")
        run(f'reg add "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

afe0c797f58800d1be3b9cf3cd4fda980d5b21990b9f4b840172a4965a76e833 : setup.py
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 : update_package.py
d642b35ce6441158dc071677fb958ad01830271d373c332d64e48dec67f80834 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
bfdc1cd890c60bca496cb41f18be91e465685ff14fc1cd630865353ee75ee4e2 : luti.json
3a656eeff163208e73beed9eb33664c24d998ce0be5ef85bad3a0ab9954ea7cc : WAPT/control