tis-powertoys icon

Microsoft PowerToys

Paquet d’installation silencieuse pour Microsoft PowerToys

0.94.1-8

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un scan VirusTotal est effectué.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-powertoys
  • name: Microsoft PowerToys
  • version: 0.94.1-8
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Pierre Cosson
  • editor: Microsoft
  • licence: MIT
  • locale: all
  • target_os: windows
  • impacted_process: PowerToys.ActionRunner,PowerToys,PowerToys.Update,PowerToys.AlwaysOnTop,PowerToys.Awake,PowerToys.ColorPickerUI,PowerToys.FancyZones,PowerToys.FancyZonesEditor,PowerToys.ImageResizer,PowerToys.KeyboardManagerEditor,PowerToys.KeyboardManagerEngine,PowerToys.PowerLauncher,PowerToys.PowerRename,PowerToys.ShortcutGuide,PowerToys.Settings,PowerToys.Settings.UI,PowerToys.BugReportTool,PowerToys.WebcamReportTool
  • architecture: x64
  • signature_date:
  • size: 318.77 Mo
  • installed_size: 292.24 Mo
  • homepage : https://github.com/microsoft/PowerToys
  • depends:

package           : tis-powertoys
version           : 0.94.1-8
architecture      : x64
section           : base
priority          : optional
name              : Microsoft PowerToys
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Pierre Cosson
description       : Microsoft PowerToys is a set of utilities for power users to tune their Windows experience
depends           : tis-dotnet6,tis-vcredist
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://github.com/microsoft/PowerToys/releases
installed_size    : 292241408
impacted_process  : PowerToys.ActionRunner,PowerToys,PowerToys.Update,PowerToys.AlwaysOnTop,PowerToys.Awake,PowerToys.ColorPickerUI,PowerToys.FancyZones,PowerToys.FancyZonesEditor,PowerToys.ImageResizer,PowerToys.KeyboardManagerEditor,PowerToys.KeyboardManagerEngine,PowerToys.PowerLauncher,PowerToys.PowerRename,PowerToys.ShortcutGuide,PowerToys.Settings,PowerToys.Settings.UI,PowerToys.BugReportTool,PowerToys.WebcamReportTool
description_fr    : Microsoft PowerToys est un ensemble d’utilitaires permettant aux utilisateurs chevronnés d’affiner leur expérience de Windows
description_pl    : Microsoft PowerToys to zestaw narzędzi dla zaawansowanych użytkowników, pozwalający na dostrojenie ich doświadczenia z systemem Windows
description_de    : Microsoft PowerToys ist eine Reihe von Dienstprogrammen für Power-User zur Optimierung ihrer Windows-Erfahrung
description_es    : Microsoft PowerToys es un conjunto de utilidades para que los usuarios avanzados ajusten su experiencia en Windows
description_pt    : Microsoft PowerToys é um conjunto de utilitários para os utilizadores de energia para afinar a sua experiência com o Windows
description_it    : Microsoft PowerToys è una serie di utility per gli utenti più esperti che consentono di ottimizzare l'esperienza di Windows
description_nl    : Microsoft PowerToys is een set hulpprogramma's voor power users om hun Windows-ervaring aan te passen
description_ru    : Microsoft PowerToys - это набор утилит для опытных пользователей для настройки работы в Windows
audit_schedule    : 
editor            : Microsoft
keywords          : 
licence           : MIT
homepage          : https://github.com/microsoft/PowerToys
package_uuid      : 89a4e3f8-452e-4f63-b1e8-0ffe4672249a
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 10.0.18362
max_os_version    : 
icon_sha256sum    : d7db92588664d24dae645642c8ebd5a077151e68f12dfe7b4509621184183aca
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-09-18T08:32:40.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         : kYPQPRGkIjewH7yevAtoc0kijfXFSsDHnS57pZI5lpK3e2mCWDv8Gkeb7w3BvmVV75axpT0lou+77bbT5imsDl9cF6ot3h7fIzstPsZSNLpzr4TehbHSG1CkImlUnBpb6nC4UhmiX5nJ+QYIPdG94gx/6vD48qhsEuzILCvrI5axMBZgyLDR48hBZHJiXheVZL/dqC9fCEKDCSc5Xgtg6j0t5gD8nTkPFTH/GK3C3UG9Rx7xQoLlTES2YGKlbZSx/Q204km66E1KNrEHw40GqA+KlcEbYF/gVdoAZLl+8zGvgiM7kflYNvjHjcqp5+nycNlr0nREL75w4U33k4n1GQ==

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

r"""
UninstallKey                           Software                                                              Version             Uninstallstring
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{DEE6FAF3-AD8C-44B3-9F6A-B5D48178767D} PowerToys (Preview)                                                   0.55.2              MsiExec.exe /X{DEE6FAF3-AD8C-44B3-9F6A-B5D48178767D}
{dc8e33af-8074-4443-86b3-3ba097834e4d} PowerToys (Preview) x64                                               0.55.2              "C:\ProgramData\Package Cache\{dc8e33af-8074-4443-86b3-3ba097834e4d}\PowerToysSetup-0.55.2-x64.exe"  /uninstall

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls

# app_uninstallkey = '{916D6700-2270-4DD8-B1F9-BC7F951B49F3}'


def install():
    # Declaring local variables
    bin_name = glob.glob("*.exe")[0]
    # Installing the package
    print("Installing: %s" % bin_name)
    install_exe_if_needed(
        bin_name,
        silentflags="/quiet",
        name="PowerToys",
        min_version=control.get_software_version(),
    )


def uninstall():
    # Uninstalling the software
    for to_uninstall in installed_softwares("PowerToys"):
        print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
        killalltasks(control.impacted_process.split(","))
        run(uninstall_cmd(to_uninstall["key"]))
        wait_uninstallkey_absent(to_uninstall["key"])

# -*- coding: utf-8 -*-
from platform import architecture
from setuphelpers import *
import json


def update_package():
    # Declaring local variables
    bin_contains = "PowerToysSetup"
    result = False
    proxies = get_proxies_from_wapt_console()
    architecture = control.architecture
    if not proxies:
        proxies = get_proxies()
    app_name = control.name
    git_repo = "microsoft/PowerToys"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
    bin_name_sub = "PowerToysSetup%s.exe"
    
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if bin_contains in download["name"] and architecture in download["name"]:
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            break

    version = latest_bin.split('-')[1]

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % url_dl)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)
        result = True
        
    control.set_software_version(version)
    control.save_control_to_wapt()

    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

    # Validating update-package-sources
    return result

e83ff71f951c32218f4f271cd3c01f8b354fddca16cae74d36025d2d41296c8a : PowerToysSetup-0.94.1-x64.exe
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
0cc8236f35c91e377557102d5c74e49bb84b1f01416694773805748207406108 : WAPT/control
d7db92588664d24dae645642c8ebd5a077151e68f12dfe7b4509621184183aca : WAPT/icon.png
7a5db513fdb3ddc52c9d97f33a7705516ffe420b09be3d74b0c791f14349ed3c : luti.json
6b26c754e316e10ae7709db5bb028e2806dbe8be8acfc2b2a368c3e4c12719e1 : setup.py
fded42496c12588c14c8d0e810c44124e14e6d01d17e3d5cbd1584277e87344c : update_package.py