tis-add-wapt-ide-right-click icon

Add WAPT IDE in right click context menu

Silent install package for Add WAPT IDE in right click context menu

1-1
System
Utilities
System
Utilities

tis-add-wapt-ide-right-click

How to use ?

This adds the Edit with WAPT option to the context menu (right-click) for folders only. For this action to work, the click must be executed inside a folder that contains a WAPT subfolder, which itself must include the control file (along with other required files). If this WAPT folder is not present, nothing will happen, the IDE will not open!

  • package: tis-add-wapt-ide-right-click
  • name: Add WAPT IDE in right click context menu
  • version: 1-1
  • categories: System,Utilities
  • maintainer: WAPT Team,Tranquil IT,Flavien SCHELFAUT
  • licence: proprietary_free
  • locale: all
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 7.22 Ko

package           : tis-add-wapt-ide-right-click
version           : 1-1
architecture      : x64
section           : base
priority          : optional
name              : Add WAPT IDE in right click context menu
categories        : System,Utilities
maintainer        : WAPT Team,Tranquil IT,Flavien SCHELFAUT
description       : Add 'Edit with WAPT' to the Windows right-click context menu
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.5
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Ajout de l'option 'Edit with WAPT' au clic droit de Windows
description_pl    : Dodaje opcję „Edytuj za pomocą WAPT” do menu kontekstowego Windows dostępnego po kliknięciu prawym przyciskiem myszy.
description_de    : Fügt dem Windows-Kontextmenü mit der rechten Maustaste die Option „Mit WAPT bearbeiten“ hinzu.
description_es    : Añade la opción «Editar con WAPT» al menú contextual del botón derecho de Windows.
description_pt    : Adiciona a opção “Editar com WAPT” ao menu de contexto do botão direito do rato do Windows.
description_it    : Aggiunge l'opzione “Modifica con WAPT” al menu contestuale del clic destro di Windows.
description_nl    : Voegt de optie ‘Bewerken met WAPT’ toe aan het contextmenu van Windows met de rechtermuisknop.
description_ru    : Добавляет опцию «Редактировать с помощью WAPT» в контекстное меню Windows, вызываемое правой кнопкой мыши.
audit_schedule    : 
editor            : 
keywords          : 
licence           : proprietary_free
homepage          : 
package_uuid      : 8c4528ec-5953-497f-a885-34cf2ad083bc
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 7891f1ca19ac8a9e41cb2963c0833bb3424a1dcc3f89e6ae484b1841a67063b2
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-10-27T09:00:29.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         : PAenOa+MGkM4d5oGLxvTcxEHAO8SvRxydzBmU+WEaMVDbZa5YVsMin57Ft+p0eZstaFLr4fUmZH9l04sIOA+OTIrtsv5Fx6rVIiigU7c7FCSGnbQ/wS2o4QJXwcsYfPkvez0zYQlYLEU0mrs7LXBEpxxyq5RPP0MHVWJoef/EJ/Q7yme5E++r0Gkv8dyUiud57Aukx+yEjSlGlT/Qz78FPPumai8kMSHOki5X8HUeU+49cJMa775tuUyAmkBFJJ3dFqaKnhgIOtMPodAvER3QUQjEnGcL0V942N+70NAlY6a9x/SRSzcCyau/lBlatu6kwsF7q5EC94aitoco2jEug==

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


def install():

    install_location_wapt_get = installed_softwares('WAPT_is1')[0]['install_location']
    bin_name_path_wapt_get = makepath(install_location_wapt_get, 'wapt-get.exe')

    print("Adding WAPT IDE to the right click menu")

    registry_set(HKEY_CLASSES_ROOT, r'Directory\Background\shell\WAPT IDE', '', 'Edit with WAPT', REG_EXPAND_SZ)
    registry_set(HKEY_CLASSES_ROOT, r'Directory\Background\shell\WAPT IDE', 'Icon', f'"{bin_name_path_wapt_get}"', REG_EXPAND_SZ)
    registry_set(HKEY_CLASSES_ROOT, r'Directory\Background\shell\WAPT IDE\command', '', f'wapt-get edit "%V"', REG_EXPAND_SZ)

    registry_set(HKEY_CLASSES_ROOT, r'Directory\shell\WAPT IDE', '', 'Edit with WAPT', REG_EXPAND_SZ)
    registry_set(HKEY_CLASSES_ROOT, r'Directory\shell\WAPT IDE', 'Icon', f'"{bin_name_path_wapt_get}"', REG_EXPAND_SZ)
    registry_set(HKEY_CLASSES_ROOT, r'Directory\shell\WAPT IDE\command', '', f'wapt-get edit "%V"', REG_EXPAND_SZ)


def uninstall():

    print("Removing WAPT IDE to the right click menu")

    vscode_registry_entries = [
        (HKEY_CLASSES_ROOT, r'Directory\Background\shell', 'WAPT IDE'),
        (HKEY_CLASSES_ROOT, r'Directory\shell', 'WAPT IDE')
    ]

    for root_key, subkey_path, key_name in vscode_registry_entries:
        full_path = f"{subkey_path}\\{key_name}"
        if reg_key_exists(root_key, full_path):
            registry_deletekey(root_key, subkey_path, key_name, recursive=True)

0d78dc43be8c7efd1b632d7f4c20507228345000dca84d20db401a2b1218e2fa : WAPT/README.md
7a01ee9d0b903bdc8e0f1aa6dd5a33552851266cfc36a921b5c38e6e91a61528 : WAPT/README_fr.md
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
21e1c8cc161b3421257e985dd415adca15db698594ae6290a419ac2337929baf : WAPT/control
7891f1ca19ac8a9e41cb2963c0833bb3424a1dcc3f89e6ae484b1841a67063b2 : WAPT/icon.png
acf243dc42fddd6395e563ef1bfcc0952096d98bb826386b2c5dd709939f6ffe : luti.json
42c22ca504d8fd400812f9295f4d61748af3b92ea18621d4f8173aff46df9930 : setup.py