Guide

Quickstart

From zero to a fixed, signed MSIX in three steps.

  1. Install from the PowerShell Gallery

    Install-Module -Name MSIXForcelets -Scope CurrentUser
    Import-Module MSIXForcelets
  2. 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
  3. 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

Build your own fix → Cmdlet reference