-
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:
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