PowerToys/installer
2019-12-24 17:06:10 +03:00
..
MSIX MSIX: minor cleanup, add certificate generation script 2019-12-24 17:06:10 +03:00
PowerToysSetup wix: run ngen on FancyZonesEditor (#898) 2019-12-09 19:02:47 +03:00
PowerToysSetupCustomActions MSIX: minor cleanup, add certificate generation script 2019-12-24 17:06:10 +03:00
PowerToysSetup.sln FancyZones and Shortcut Guide initial commit 2019-09-05 18:12:40 +02:00
README.md MSIX: minor cleanup, add certificate generation script 2019-12-24 17:06:10 +03:00

PowerToys Setup Project

Build instructions

Building and installing self-signed PowerToys MSIX package

For the first-time installation, you should generate a self-signed certificate and add it to the TRCA store. That could be done by simply running generate_self_sign_cert.ps1 from a powershell admin. After that:

  • Make sure you've built the Release configuration of powertoys.sln
  • Launch msix_reinstall.ps1 from the devenv powershell

msix_reinstall.ps1 removes the current PowerToys installation, restarts explorer.exe (to update PowerRename shell extension), builds PowerToys-x64.msix package, signs it with a PowerToys_TemporaryKey.pfx, and finally installs it.

Removing all .msi/.msix 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." }
}