Msixbundle [patched] | Powershell

For enterprises using multiple drives:

Get-AppxPackage -Name "*MyCompany*" | Remove-AppxPackage Extract bundle contents to inspect or modify: powershell msixbundle

Add-AppxVolume -Path "D:\WindowsApps" Get-AppxVolume Move-AppxPackage -Name "MyApp" -Volume D:\WindowsApps # Deploy MSIX bundle to 20 lab PCs $computers = Get-Content "computers.txt" $bundlePath = "\\nas\deploy\App.msixbundle" foreach ($pc in $computers) Invoke-Command -ComputerName $pc -ScriptBlock Add-AppxPackage -Path $using:bundlePath -TrustLevel Trusted powershell msixbundle

Get-ChildItem "C:\Apps" -Filter "*.msixbundle" | ForEach-Object Add-AppxPackage -Path $_.FullName powershell msixbundle

Add-AppxPackage -Path "App.msixbundle" -TrustLevel Trusted For CI/CD pipelines, automate signing with SignTool.exe called from PowerShell:

Add-AppxPackage -Path "\\server\share\App.msixbundle" -TrustLevel Trusted MSIX bundles must be signed with a trusted certificate for side-loading. Use PowerShell to install the certificate into the Trusted People store:

& "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\signtool.exe" sign /fd SHA256 /a /f "mycert.pfx" /p "password" "App.msixbundle" Loop through multiple bundles: