-
Install from the PowerShell Gallery
Install-Module -Name MSIXForcelets -Scope CurrentUser Import-Module MSIXForcelets -
Fetch the tooling (one-time)
The published module stays lean — the Windows SDK packaging tools and the Package Support Framework binaries are downloaded on demand. Since v1.0.2 a single umbrella cmdlet pulls everything in one go:
Install-MSIXForceletsAllRequirements # MSIX tooling + Tim Mangan PSF + Microsoft PSFRe-run with
-Forceto update existing components (or-Confirm:$falsefor an entirely non-interactive run). The individual updaters are still there if you want to pick one:Update-MSIXTooling # Windows SDK: makeappx, signtool, msixmgr Update-MSIXTMPSF # Tim Mangan Package Support Framework Update-MSIXMicrosoftPSF # Microsoft Package Support Framework -
Open, fix, repack & sign
$cert = New-MSIXSelfSigningCert -Subject 'CN=Contoso' -Password 'pw' $pkg = Open-MSIXPackage -MsixFile 'C:\Apps\WinRAR.msix' -Force # apply a ready-made fix... Add-MSIXFixWinRAR -MSIXFolder $pkg.FullName Close-MSIXPackage -MSIXFolder $pkg.FullName -MSIXFile 'C:\Apps\WinRAR_fixed.msix' Set-MSIXSignature -MSIXFile 'C:\Apps\WinRAR_fixed.msix' -PfxCert $cert