mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-19 06:53:26 +08:00
.. | ||
MSIX | ||
PowerToysSetup | ||
PowerToysSetupCustomActions | ||
PowerToysSetup.sln | ||
README.md |
PowerToys Setup Project
Build instructions
- Install the WiX Toolset Visual Studio 2019 Extension.
- Install the WiX Toolset build tools in the development machine.
- Open
powertoys.sln
, select the "Release" and "x64" configurations and build thePowerToysSetup
project. - The resulting installer will be built to
PowerToysSetup\bin\Release\PowerToysSetup.msi
.
Building and installing self-signed PowerToys MSIX package
- Make sure you've built correct
powertoys.sln
configuration - Add
PowerToysTestKey.pfx
to the TRCA store - Execute
reinstall.ps1
from the devenv powershell:
Removing all current PowerToys installations
$name='PowerToys'
Get-AppxPackage -Name $name | select -ExpandProperty "PackageFullName" | Remove-AppxPackage
gwmi win32_product -filter "Name = '$name'" -namespace root/cimv2 | foreach {
if ($_.uninstall().returnvalue -eq 0) { write-host "Successfully uninstalled $name " }
else { write-warning "Failed to uninstall $name." }
}