msix
0.75.4
Minimum PowerShell version
5.1
Installation Options
Owners
Package Details
Author(s)
- Sander de Wit
Tags
MSIX PSF Packaging AppX WindowsApps ContextMenu Investigation ProcMon Accelerator AppData AppAttach VHDX CIM AppIsolation Sandbox TMurgent MFR VcRuntime Compare Enterprise CICD Pester
Functions
Add-MsixAlias Add-MsixAppExtension Add-MsixAppExtensionHost Add-MsixAppIsolation Add-MsixAutoPlayHandler Add-MsixCapability Add-MsixComServerExtension Add-MsixDiagnosticTrace Add-MsixEvidence Add-MsixFileExplorerContextMenu Add-MsixFileTypeAssociation Add-MsixFirewallRule Add-MsixFontExtension Add-MsixFullTrustProcess Add-MsixLegacyContextMenu Add-MsixLoaderSearchPathOverride Add-MsixManifestNamespace Add-MsixPackageCertificate Add-MsixPackageDependency Add-MsixProtocolHandler Add-MsixPsfV2 Remove-MsixPsf Add-MsixRuntimeDependency Add-MsixService Add-MsixShareTarget Add-MsixShellHandlerExtension Add-MsixShellVerbExtension Add-MsixSplashScreen Add-MsixStandardScript Add-MsixStartMenuFolder Add-MsixStartupTask Add-MsixToastActivator Add-MsixVcRuntimeBundle Assert-MsixProcessSuccess Compare-MsixPackage Compare-MsixTrace ConvertFrom-MsixTraceLine ConvertFrom-MsixTraceToFinding ConvertFrom-MsixYamlAccelerator ConvertTo-MsixFinding ConvertTo-MsixLegacyFinding ConvertTo-MsixModificationPackage ConvertTo-MsixSarif ConvertTo-MsixReportHtml Copy-MsixHostAppDataIntoPackage Expand-MsixBundle Export-MsixRemediationPlan Dismount-MsixAppAttachImage Find-MsixPlaybook Get-MsixAliasCandidate Get-MsixAppRuntimeVersion Get-MsixBundleInfo Get-MsixBundledRuntime Get-MsixCapabilityHint Get-MsixCompatibilityReport Get-MsixComServerEntry Get-MsixContainerAppData Get-MsixDebugRecommendation Get-MsixDebugViewVersion Get-MsixDesktopShortcutCandidate Get-MsixFindingConfidence Get-MsixFontCandidate Get-MsixHeuristicFinding Get-MsixInfo Get-MsixIsolationCapability Get-MsixIsolationAdvice Test-MsixIsolation Get-MsixKnownCapability Get-MsixLimitation Get-MsixManifest Get-MsixManifestApplication Get-MsixManifestApplications Get-MsixManifestNamespaceUri Get-MsixMfrKnownFolder Get-MsixMgrVersion Get-MsixNestedPackageCandidate Get-MsixOrphanedAppData Get-MsixPackageCertificateCandidate Get-MsixPackageStorageSummary Get-MsixPlaybook Get-MsixPluginExtensionPoint Get-MsixProcMonFailure Get-MsixPsfBinariesVersion Get-MsixPublisherId Get-MsixRequiredAppRuntimeChannel Get-MsixRunKeyEntry Get-MsixSdkToolsVersion Get-MsixServiceEntry Get-MsixShellContextMenuEntry Get-MsixShellHandlerEntry Get-MsixStandardScript Get-MsixStaticAnalysis Get-MsixToolsRoot Get-MsixTraceFailure Get-MsixTraceOutput Get-MsixUninstallerCandidate Get-MsixUninstallRegistryEntry Get-MsixUpdaterCandidate Get-MsixVcRuntimeReference Import-MsixAccelerator Import-MsixRemediationPlan Import-MsixSparseShellExtension Initialize-MsixToolchain Install-MsixAppRuntime Install-MsixDebugView Install-MsixMgr Install-MsixProcMon Install-MsixPsfBinary Install-MsixSdkTool Invoke-MsixAccelerator Invoke-MsixAutoFix Invoke-MsixBundleOperation Invoke-MsixAutoFixFromAnalysis Invoke-MsixAutoFixLoop Invoke-MsixBulkAnalysis Invoke-MsixCommand Invoke-MsixContainerCommand Invoke-MsixInvestigation Invoke-MsixManifestTransform Invoke-MsixPipeline Invoke-MsixPlaybook Invoke-MsixProcess Invoke-MsixRemediationPlan Invoke-MsixProcMonCapture Invoke-MsixSelfSign Invoke-MsixSigning Merge-MsixFinding Mount-MsixAppAttachImage New-MsixAppAttachImage New-MsixBundle New-MsixAppInstallerFile New-MsixFinding New-MsixFrameworkPackage New-MsixManifestDocument New-MsixModificationPackage New-MsixRemediationPlan New-MsixMfrLocalRule New-MsixMfrTraditionalRule New-MsixPsfArgument New-MsixPsfConfig New-MsixPsfDynamicLibraryConfig New-MsixPsfEnvVarConfig New-MsixPsfFileRedirectionConfig New-MsixPsfJson New-MsixPsfMfrConfig New-MsixPsfRegLegacyConfig New-MsixPsfStartScriptConfig New-MsixPsfTraceConfig New-MsixPsfWaitForDebuggerConfig New-MsixSandboxConfig New-MsixSelfSignedCertificate New-MsixStandardScript New-MsixWorkspace Remove-MsixAppIsolation Remove-MsixDesktopShortcut Remove-MsixStartMenuEntry Remove-MsixShellRegistryArtifact Remove-MsixUninstallerArtifact Remove-MsixUpdaterArtifact Resolve-MsixDebugViewPath Resolve-MsixMgrPath Resolve-MsixProcMonPath Save-MsixManifest Select-MsixManifestNode Select-MsixManifestNodes Set-MsixBrandMetadata Set-MsixFileSystemWriteVirtualization Set-MsixInstalledLocationVirtualization Set-MsixLogFile Set-MsixLogLevel Set-MsixManifestIdentity Set-MsixManifestMaxVersionTested Set-MsixManifestPublisher Set-MsixMutablePackageDirectory Set-MsixRegistryWriteVirtualization Set-MsixScriptSignature Set-MsixToolsRoot Set-MsixToolVerification Start-MsixDebugSession Start-MsixSandbox Test-MsixAgainstLimitation Test-MsixAppAttachImage Test-MsixDeployment Test-MsixManifest Test-MsixPsfConfig Test-MsixRemediationPlan Test-MsixSignature Update-MsixAppRuntime Update-MsixDebugView Update-MsixMgr Update-MsixPackageVersion Update-MsixResourcePri Update-MsixProcMon Update-MsixPsfBinary Update-MsixSdkTool Update-MsixSigner Write-MsixLog
Dependencies
This module has no dependencies.
Release Notes
## v0.75.4 (auto-fix: one repack per stage, manifests MakeAppx accepts)
FIXED: Invoke-MsixAutoFixFromAnalysis repacked the whole package once per shell
handler (about 30 s each for 40 MB). K-Lite Codec Pack (83 handlers) ran past 40
minutes.
- Add-MsixShellHandlerExtension -Handlers declares many handlers in ONE
unpack/repack, with the same manifest as one call per handler. The stage uses
it, and skips (with a warning) an entry the cmdlet would reject.
- Same for AddPackagedServices (Add-MsixService -Services) and
DeclarePackageCertificates (Add-MsixPackageCertificate takes several paths).
FIXED: a thumbnail AND a property handler on one file type declared the type
twice ("'.mkv' is a duplicate key ... 'Extension_FileType'"). The second handler
joins the FTA that already declares the type; if that FTA also declares other
types, the handler is skipped with a warning.
FIXED: removal stages left the manifest pointing at removed files. RemoveUpdaters
deleted Chrome's updater.exe but kept the windows.service extensions on it
(MakeAppx 0x80080204). Every file-removal stage (Remove-MsixUninstallerArtifact,
Remove-MsixUpdaterArtifact, Remove-MsixDesktopShortcut, Remove-MsixPsf, the
bundled-runtime strip) now uses one helper. It removes and logs:
- the declarations that named a removed file: Extensions with that Executable
(service, alias, startup task, protocol, ...), com ExeServer / SurrogateServer
class / InProcessServer, desktop2 FirewallRules, emptied LoaderSearchPathEntry
folders;
- what named a removed COM class by CLSID (verbs, thumbnail/preview/property
handlers, ProgIds, toast activator);
- containers left empty.
It never removes an Application: an Application's own Executable is kept and
logged. AddPackagedServices skips a service whose executable an earlier stage
removed. Remove-MsixPsf re-points extensions that named the PSF launcher.
FIXED: Applications sharing an executable (one per Start-menu shortcut, e.g.
"Configure Java" / "About Java" on javacpl.exe) all got the same
AppExecutionAlias, which MakeAppx rejects. Add-MsixAlias declares each alias name
once per package: for the Application without uap10:Parameters, else the first,
never a name the package already has, and logs the rest. Get-MsixAliasCandidate
returns one candidate per alias name (new SharedWith property).
FIXED: Registry.dat folder tokens mapped to VFS folders MSIX does not have:
[{ProgramFilesX86}] became VFS\ProgramFiles(x86) (not VFS\ProgramFilesX86), and
SystemX86, CommonAppData, AppData and LocalAppData were wrong too. The path was
returned even when no file was there, so K-Lite's 83 shell handlers pointed at
DLLs that were not in the package.
- Tokens now resolve to the canonical VFS folders (ProgramFilesX64/X86,
ProgramFilesCommonX64/X86, SystemX64/X86, Windows, Fonts, Common AppData,
AppData, Local AppData, ...), one table for the service, COM, shell-handler and
context-menu scanners and Add-MsixLegacyContextMenu.
- A path that is not in the package maps to nothing. The shell-handler,
context-menu and service stages skip such an entry with a warning (new
UnresolvedShellHandlerEntries on the shell-handler finding), and re-check each
file against the package before declaring it.
FIXED: an alias on a PSF-launched app was named after its Application Id
(python.a3.a13.a17.a64.bit.exe). Add-MsixAlias now reads the PSF config.json
target (pythonw.exe); the once-per-package rule still applies. The mutate block
of _MsixMutateManifest receives the unpacked folder as a second argument
(Invoke-MsixManifestTransform -ArgumentList).
FIXED: PSF was injected into Chromium-based apps that did not need it. A
captured Chrome got PSF through a false-positive PluginDirectory finding; with
PSF its window took 50.5 s (9.3 s without) and a chrome.exe exited 0x1.
Chromium's sandboxed child processes refuse the injected runtime. When the
Application PSF wraps is Chromium-based (chrome_elf.dll, msedge_elf.dll,
libcef.dll, resources\app.asar, or a V8 snapshot next to icudtl.dat, in its
folder or a version subfolder), PluginDirectory keeps only its manifest change,
and InjectPsf, the runtime JAVA_HOME/DOTNET_ROOT wiring and Invoke-MsixAutoFix's
InjectPsf/splash stages are skipped, each with a warning. Packages that already
carry PSF are not affected.
## v0.75.3 (keep a verified SDK toolchain when an update is rejected)
FIXED: Initialize-MsixToolchain failed on machines that already had working SDK
tools whenever the newest Microsoft.Windows.SDK.BuildTools release was rejected
by Authenticode verification, as 10.0.28000.2957 was before 0.75.1.
Install-MsixSdkTool left the installed tools alone, but Update-MsixSdkTool
passed its error on.
- Update-MsixSdkTool now re-verifies the installed tools with the check
Get-MsixToolsRoot applies, and keeps them. It writes one warning (a real
Write-Warning, so -WarningVariable and CI logs see it) that names the
rejected version and repeats the install error's advice. The result has
Updated = $false and a new RejectedVersion property.
- Still an error: no SDK tools installed yet, installed tools that no longer
pass verification, and any failure other than a rejection (NuGet
unreachable, download failed).
- The SDK advice no longer offers to pin the verified version when the
installed tools are already at least that version, and no longer claims
that Initialize-MsixToolchain always replaces a pinned SDK install. PSF is
unchanged: Update-MsixPsfBinary still fails on a rejected latest release.
## v0.75.2 (Process Monitor / DebugView / msixmgr installs copy their files again)
FIXED: since v0.71.0, Install-MsixProcMon, Install-MsixDebugView and
Install-MsixMgr installed nothing. Their shared helper copied the verified
archive with Copy-Item -LiteralPath "<stage>\*". -LiteralPath never expands
wildcards, so nothing was copied:
- Windows PowerShell 5.1 raised no error. PowerShell 7 raised a non-terminating
"Cannot find path" error, which rolled back only under ErrorAction Stop.
- Otherwise the install wrote its marker and reported success. The tool looked
installed with only the marker in its folder, and later calls skipped it.
- The copy now enumerates the stage and copies each item with -LiteralPath.
It also stops on any copy error, so the marker is written only after a real
copy. Destination paths containing [ ] work.
REPAIR: a tool folder that holds only its install marker now counts as not
installed. Install-MsixProcMon / Install-MsixDebugView / Install-MsixMgr
reinstall it with a warning. Update-MsixProcMon / Update-MsixDebugView /
Update-MsixMgr (and so Initialize-MsixToolchain) reinstall it instead of
reporting it fresh. No -Force needed.
TESTS: MSIX.ArchiveToolInstall.Tests.ps1 runs the three installers end to end
on a real zip, with only the download and Authenticode mocked.
## v0.75.1 (Windows SDK BuildTools signer)
FIXED: an unpinned Install-MsixSdkTool / Initialize-MsixToolchain failed on
every fresh machine. Microsoft.Windows.SDK.BuildTools 10.0.26100.9457 and
10.0.28000.2957 (2026-10-28) sign appxsip.dll (x64 and x86) with
"CN=Microsoft Windows Kits Publisher, O=Microsoft Corporation, ...". That CN was
not in signers.json, so the install rolled back and callers only saw
"MakeAppx.exe not found".
- signers.json now trusts "CN=Microsoft Windows Kits Publisher," (prefix-only,
like the other Microsoft entries). Its chain was verified: Microsoft Windows
Code Signing PCA 2024 -> Microsoft Root Certificate Authority 2010, the same
intermediate and root as the CN=Microsoft Corporation certs on signtool and
MakeAppx in the same package.
CLEARER FAILURE when a BuildTools release is rejected:
- Every rejected file is reported, grouped by signer, instead of only the first.
Invalid or missing signatures are listed separately and are never presented
as fixable through signers.json.
- Install-MsixSdkTool says that nothing was installed (and that an existing
install was kept). It names the signer, offers the newest verified version to
pin (Install-MsixSdkTool -Version 10.0.28000.2957, then
Initialize-MsixToolchain -Skip Sdk), and links the signers.json governance.
- Get-MsixToolsRoot's "MakeAppx.exe not found" quotes that failure first when
an install failed earlier in the session.
PSF PIN: TMurgent PSF v2026.10.13 and v2026.11.14 ship PsfLauncher, PsfRuntime
and every fixup unsigned, which the module refuses. v2026.07.01 is the last
signed release.
- Install-MsixPsfBinary / Update-MsixPsfBinary take -Version <tag> to install or
keep a specific release. A rejected release now names that tag
(Install-MsixPsfBinary -Version v2026.07.01, then Initialize-MsixToolchain
-Skip Psf).
- CI provisions PSF at that verified tag. For users, the default is still the
latest release.
Full history: CHANGELOG.md.
FileList
- msix.nuspec
- LICENSE.md
- MSIX.Accelerator.ps1
- MSIX.AppAttach.ps1
- MSIX.AppData.ps1
- MSIX.AppIsolation.ps1
- MSIX.AutoFix.ps1
- MSIX.AutoFixLoop.ps1
- MSIX.Bulk.ps1
- MSIX.Bundle.ps1
- MSIX.Compare.ps1
- MSIX.ContextMenu.ps1
- MSIX.Core.ps1
- MSIX.Debug.ps1
- MSIX.Detection.ps1
- MSIX.Distribution.ps1
- MSIX.Evidence.ps1
- MSIX.Functions.ps1
- MSIX.Investigation.ps1
- MSIX.Limitations.ps1
- MSIX.Logging.ps1
- MSIX.MFR.ps1
- MSIX.Manifest.ps1
- MSIX.ManifestExtensions.ps1
- MSIX.OfflineRegistry.ps1
- MSIX.PSF.ps1
- MSIX.PackageMutators.ps1
- MSIX.Pipeline.ps1
- MSIX.Playbooks.ps1
- MSIX.PsfBinaries.ps1
- MSIX.RemediationPlan.ps1
- MSIX.RuntimeTest.ps1
- MSIX.Sarif.ps1
- MSIX.Scanners.ps1
- MSIX.Scripts.ps1
- MSIX.Signing.ps1
- MSIX.SparseShell.ps1
- MSIX.Trace.ps1
- MSIX.TraceDelta.ps1
- MSIX.UpdateCheck.ps1
- MSIX.Validation.ps1
- MSIX.VcRuntime.ps1
- MSIX.psm1
- README.md
- msix.psd1
- playbooks\NotepadPlusPlus.ps1
- signers.json
- templates\CleanupOldUserData.ps1.tmpl
- templates\CopyIconToAppData.ps1.tmpl
- templates\CreateShortcut.ps1.tmpl
- templates\CustomerSettingsBootstrap.ps1.tmpl
- templates\RegisterFileAssociation.ps1.tmpl
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.75.4 (current version) | 17 | 11/26/2026 |
| 0.75.0 | 161 | 9/1/2026 |
| 0.74.1 | 45 | 8/4/2026 |
| 0.74.0 | 47 | 8/3/2026 |
| 0.73.3 | 50 | 7/8/2026 |
| 0.73.2 | 10 | 7/8/2026 |
| 0.73.1 | 17 | 7/6/2026 |
| 0.73.0 | 9 | 7/6/2026 |
| 0.71.4 | 11 | 7/5/2026 |
| 0.71.3 | 17 | 7/5/2026 |
| 0.71.0 | 34 | 6/9/2026 |
| 0.70.6 | 24 | 5/25/2026 |
| 0.70.5 | 13 | 5/23/2026 |
| 0.70.3 | 13 | 5/22/2026 |
| 0.70.2 | 13 | 5/21/2026 |
| 0.70.0 | 9 | 5/21/2026 |
| 0.56 | 5,266 | 3/13/2022 |
| 0.55 | 277 | 6/29/2021 |
| 0.54 | 34 | 6/29/2021 |
| 0.53 | 34 | 6/29/2021 |
| 0.52 | 60 | 6/25/2021 |
| 0.51 | 37 | 6/23/2021 |
| 0.5 | 42 | 6/18/2021 |
| 0.3 | 40 | 6/5/2021 |
| 0.2 | 35 | 6/5/2021 |
| 0.1 | 48 | 5/16/2021 |