tis-powertoys icon

Microsoft PowerToys

Paquet d’installation silencieuse pour Microsoft PowerToys

0.97.1-8
Utilities
Utilities

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
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.97.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: 399.15 Mo
  • installed_size: 292.24 Mo
  • homepage : https://github.com/microsoft/PowerToys
  • depends:

package           : tis-powertoys
version           : 0.97.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      : d473c011-9b8a-49b3-8cb8-c5522f1452d4
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    : 2026-01-28T07:24:51.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         : NtALlqGZqtv63+zSVt9TKbDTRcAZdwKbKHbYJ4396ECqbdyH/luFt5NSL0P22AwqOzfufWqa5wrKO91qpe2UJJ7EDreDbQykzLF5vcCO/iKoo4Q3KdTMz3S9zmmGD+wro66R7N9bdMJnYuhULJ159CfeJw/1grC9gCJev/Z5Pd5gVIyjG4/xcDdZOICmUP3wECJ0dgvDzetokabZKgcZyiwx3PK68jzim+GvNmoFyNHu8NeLRsPOWC+9oNRm7WXuiMBGjc8+RjufPDxlzLU2YDpP4s5KB3S6xJqQaLaXE+OgIcvWarHgSMBEvZ3JDzVIobwlPtBPp1z4+VFaBvxy4w==

# -*- 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

9d1e3337b79fd6c30463eb6ee5d58d1de63018bc99516b982ef4423a75fc9686 : PowerToysSetup-0.97.1-x64.exe
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
8556a1f02ae5b4db4a422698cf2f55050cfa60faeb7b3d4c52263f54097ddc8c : WAPT/control
d7db92588664d24dae645642c8ebd5a077151e68f12dfe7b4509621184183aca : WAPT/icon.png
cedcabb2a5d59165803b2fbab3bc13ebd372dad26ce16a70a031ba72cb3bfcb3 : luti.json
6b26c754e316e10ae7709db5bb028e2806dbe8be8acfc2b2a368c3e4c12719e1 : setup.py
fded42496c12588c14c8d0e810c44124e14e6d01d17e3d5cbd1584277e87344c : update_package.py