MSIX: what it is and how to ship your app with it
MSIX is Microsoft's package format for Windows apps. It installs and uninstalls cleanly and can update itself without the Microsoft Store. Here's what's in a package, how to make and sign one, how updates work from your own website, and when an EXE or MSI installer is still the better choice.
MSIX is a package format for Windows apps. Microsoft's documentation calls it "the modern Windows app packaging format". An .msix file holds your app's files and a manifest that describes them, and Windows itself does the installing, updating and uninstalling. You don't write an installer.
It's the format the Microsoft Store uses, and it also works without the Store: you can host a package on your own website and have installed copies update from there.
Everything below follows Microsoft's documentation as it stood on November 22, 2026. Where two of Microsoft's own pages disagree, this page says so.
What MSIX does, and what it doesn't
| It does | It doesn't |
|---|---|
| Install and uninstall without an installer you wrote | Run custom install scripts |
| Remove the app's files and registry entries on uninstall | Install drivers |
| Download only the changed parts of an update | Install without a trusted signature |
| Update from a URL you host, with no Store involved | Let a web page start an install in one click |
| Give your app a package identity, which some Windows features require | Let your app write to its own install folder |
What's inside an MSIX package
Next to your app's files, an .msix carries three files Windows relies on:
| File | What it's for |
|---|---|
AppxManifest.xml |
The package identity (name, publisher, version, architecture), dependencies, capabilities and the visual entries such as tiles and icons |
AppxBlockMap.xml |
A hash for every 64 KB block of every file. Windows uses it to verify the package and to work out which blocks changed in an update |
AppxSignature.p7x |
The signature. Microsoft's overview is blunt about it: "All MSIX packages must be signed before installation" |
The names still say "Appx" because MSIX grew out of the older .appx format, and Windows installs both.
If you ship more than one architecture, an .msixbundle wraps the x64 and Arm64 packages in one file, and Windows picks the right one.
Which versions of Windows support it
MSIX is supported on Windows 10 version 1709 and later, and on Windows Server 2019 and later. For anything older, Microsoft points to a separate project called MSIX Core, which installs packages without the container features of the real thing.
Some features arrived later. Windows services inside a package need Windows 10 version 2004, and a few newer ones are Windows 11 only. If your customers are still on Windows 10, test there.
How installing works
The customer double-clicks the .msix or .appinstaller file. A Windows component called App Installer opens, shows the app's name and publisher, and installs it.
- It's per user. Microsoft's documentation says packages "are installed on a per-user basis instead of system-wide". Installing for every user of a machine is a separate, administrator-level step called provisioning
- It goes where Windows decides. The default is a folder under
C:\Program Files\WindowsApps, which is locked down. There's no "choose install location" screen - The install folder is read-only. Your app can't write settings or data next to its executable. Use the user's AppData folders
- Uninstalling is clean. Windows removes the app's files and registry entries, and leaves files the user created
Most packaged desktop apps run with the same permissions as any other desktop app, and Windows redirects some of their file and registry writes to per-app locations. Microsoft's pages don't agree on the details: one says writes under HKEY_CURRENT_USER are copied to a private per-app location, and the troubleshooting guide says they aren't virtualized at all. If your app shares registry settings with another program, test that on a real install before you rely on either answer.
How to create an MSIX package
There are four routes, depending on what you're starting from.
MSIX Packaging Tool. This one converts an existing installer. You point it at your .exe or .msi, it runs the installer while watching what changes, and it writes a package from the result. Microsoft describes it as a way to convert an application "without having the source code". It's free, from the Microsoft Store or with:
winget install "MSIX Packaging Tool"
It needs administrator rights, and the installer you feed it has to be able to run silently. Do the conversion in a clean virtual machine, so the package doesn't pick up unrelated changes.
Visual Studio. A WinUI 3 project can produce an MSIX directly. For WPF, WinForms and other desktop projects, you add a Windows Application Packaging Project to the solution and it packages your app's output.
MakeAppx.exe. The command-line tool from the Windows SDK. You lay out the files and an AppxManifest.xml in a folder and pack it:
MakeAppx pack /v /h SHA256 /d "C:\My Files" /p MyPackage.msix
This is the one for build scripts and for apps that aren't .NET. It checks very little: Microsoft warns that packages built with it "are not guaranteed to be installable", so install the result on a test machine.
The WinApp CLI. Microsoft's newer command-line tool builds, packages and signs in one step, and its documentation covers Electron, Tauri, Rust, Flutter and .NET projects. It's in public preview, and Microsoft says its commands may change before the final release.
winget install Microsoft.winappcli --source winget
Signing: the rule you can't skip
With an EXE installer, a missing signature gets you a warning that customers can click through. With MSIX, an unsigned or untrusted package doesn't install.
Three things have to be true:
- The package is signed. Windows requires it
- The certificate is trusted on the customer's machine. It has to chain to a root that Windows trusts, which in practice means a certificate from a certificate authority or from Microsoft's own signing service
- The certificate's subject matches the manifest's Publisher exactly. Microsoft's wording: the "Subject" in the certificate "must match the 'Publisher' section in your app's manifest". If your certificate says
CN=Contoso Software, O=Contoso Corporation, C=US, the manifest'sPublisherattribute has to be that same string
A self-signed certificate works for testing only. Each machine would have to import your certificate into its Local Machine Trusted People store first, which needs administrator rights and isn't something to ask of customers.
Signing with SignTool and a certificate file looks like this:
SignTool sign /fd SHA256 /a /f MyCertificate.pfx /p MyPassword MyPackage.msix
The /fd value has to be the hash algorithm the package was built with. MakeAppx uses SHA256 by default, and SignTool's own default is SHA1, so always pass it.
Add a timestamp as well. Microsoft says it's "highly recommended": without one, a package stops installing on the day your certificate expires.
For a new app, Azure Trusted Signing, now called Artifact Signing, is what Microsoft recommends for MSIX packages. It fixes your certificate's subject to your verified legal name, so set the manifest's Publisher to match it.
One expectation to set: a valid signature gets the package installed, and it doesn't make every warning disappear on day one. Microsoft's documentation says extended validation certificates "no longer bypass SmartScreen", and that reputation can take "several weeks and hundreds of clean installs". The page on EV code signing certificates has the background.
Updates without the Store: the .appinstaller file
This is the part that matters if you sell from your own site. Next to your package you host a small XML file with the extension .appinstaller. It says where the package is, what version it is, and how often installed copies should look for a newer one.
<?xml version="1.0" encoding="utf-8"?>
<AppInstaller
xmlns="http://schemas.microsoft.com/appx/appinstaller/2021"
Version="1.0.0.0"
Uri="https://downloads.example.com/myapp.appinstaller">
<MainPackage
Name="Contoso.MainApp"
Publisher="CN=Contoso"
Version="1.0.0.0"
ProcessorArchitecture="x64"
Uri="https://downloads.example.com/myapp-1.0.0.0.msix" />
<UpdateSettings>
<OnLaunch HoursBetweenUpdateChecks="12" ShowPrompt="true" />
<AutomaticBackgroundTask />
</UpdateSettings>
</AppInstaller>
Customers install from this file, not from the package. Windows remembers the file's URL and goes back to it.
Name,PublisherandVersioninMainPackagehave to match the package's manifest, or the install failsProcessorArchitectureis required for a single.msix. For a bundle, useMainBundleand leave it outOnLaunchchecks when the app starts.HoursBetweenUpdateCheckstakes 0 to 255, and the default is 24ShowPromptshows the user that an update is happening.UpdateBlocksActivation, which only works whenShowPromptis true, makes them take the update before the app opensAutomaticBackgroundTaskchecks every 8 hours whether or not the app is running, and can't show any interfaceForceUpdateFromAnyVersionallows moving to a lower version number. Without it, an app only moves up
To release an update, upload the new package, then change the versions and the package URL in the .appinstaller file. Keep the package name and publisher the same in every release, because that's how Windows knows it's an update.
Because of the block map, an update downloads only the 64 KB blocks that changed.
Use the 2021 schema
Visual Studio generates .appinstaller files with an older namespace, .../appinstaller/2017/2. Microsoft's own status page warns that under that schema ShowPrompt and UpdateBlocksActivation aren't supported, so those settings do nothing. Change the xmlns to the 2021 one shown above.
Hosting
Any web server or file share works. Over HTTP, the server has to send the right content type for each file: application/appinstaller for the .appinstaller file and application/msix for the package (application/msixbundle for a bundle). Microsoft's troubleshooting guide lists a wrong content type, or a missing Content-Length header, as a cause of install failures with unhelpful error codes.
The ms-appinstaller link no longer works
Older tutorials, some still on Microsoft's site, show a web link starting with ms-appinstaller:?source= that installs the app straight from the browser. That protocol has been disabled by default since December 2023. Microsoft turned it off in App Installer version 1.21.3421.0 after it was abused to spread malware, and its status page, last reviewed in August 2026, still lists it as disabled. Only an IT administrator can turn it back on, through Group Policy.
What still works: link to the .appinstaller file itself. The customer downloads it and double-clicks it. Microsoft calls this "the recommended approach for non-enterprise scenarios". It's one more click than the old flow, and automatic updates work the same afterwards.
Checking for updates from your code
If you want your own "update available" message, a packaged app can ask Windows whether its .appinstaller file lists a newer version. The API is Package.CheckUpdateAvailabilityAsync, and it only works for apps that were installed from an .appinstaller file.
There's a documented catch: calling it on Package.Current fails with "Access denied". Microsoft's sample gets the package through PackageManager first:
var pm = new PackageManager();
Package currentPackage = pm.FindPackageForUser(string.Empty, Package.Current.Id.FullName);
PackageUpdateAvailabilityResult result = await currentPackage.CheckUpdateAvailabilityAsync();
if (result.Availability == PackageUpdateAvailability.Available ||
result.Availability == PackageUpdateAvailability.Required)
{
// Tell the user, or start the update
}
Windows doesn't modify a package while a process is using it, so plan for the update to apply when the app isn't running.
MSIX vs EXE vs MSI
"EXE" here means a setup program built with a tool such as Inno Setup or NSIS, and "MSI" means a Windows Installer package, usually built with WiX. For the choice between those two on their own, see MSI vs EXE.
| MSIX | EXE installer | MSI | |
|---|---|---|---|
| Who does the installing | Windows | Your setup program | Windows Installer, following your tables |
| Custom install steps | No | Anything you can script | Custom actions |
| Signature | Required and must be trusted | Optional, with warnings if missing | Optional, with warnings if missing |
| Install scope | Per user by default | Your choice | Your choice |
| Uninstall | Windows removes everything the package added | As good as your uninstaller | Follows the install tables |
| Updates | Built in, through .appinstaller or the Store |
You add an updater | You add an updater |
| Drivers | Not supported | Yes | Yes |
| Windows 7 and 8 | Only through MSIX Core | Yes | Yes |
| Microsoft Store | Yes, and Microsoft hosts and signs it | Yes, hosted and signed by you | Yes, hosted and signed by you |
Choose MSIX when the app is self-contained, you want updates without writing an updater, or you also want it in the Microsoft Store.
Choose an EXE or MSI installer when the app needs a driver, has to write to its own folder or to machine-wide settings, needs custom steps during setup, or has to run on Windows older than 10. Microsoft says the same: traditional installers "remain common for Windows apps with complex installation requirements". If you go this way, the pages on Inno Setup and NSIS updates, Velopack and WinSparkle cover how to add updates.
Moving an existing app from an installer to MSIX changes where its data lives, so plan how settings get carried over on the first run.
Limits and gotchas
- No drivers, and no per-user Windows services. Services that run under the system accounts are supported from Windows 10 version 2004
- No writing to the install folder. Apps that keep a config file or a database next to the executable need changing
- In-process shell extensions aren't supported in general. Context menu support was added on Windows 11 only
- The Publisher string has to match the certificate character for character. A new certificate with a different subject means a different publisher, and Windows treats that as a different app
- Hosting has to be exact. Wrong content types or a moved
.appinstallerURL break installs and updates - Windows 10 gets fewer fixes. Microsoft's own page says feature bugs "are unlikely to be fixed on older Windows 10 releases"
Where you can distribute an MSIX
- Your own website, with an
.appinstallerfile. Microsoft's distribution guide lists this for "commercial apps sold directly from your website", and says a certificate from a trusted authority is required - The Microsoft Store. Microsoft hosts the package and re-signs it with its own certificate, so you don't need one for this route, and Store installs don't get SmartScreen warnings. On fees, the Store's documentation says developers of non-gaming apps can use their own commerce platform, in which case Microsoft takes no share, or use Microsoft's commerce platform for a fee of "12% for games and 15% for apps". The same documentation says a developer account has no registration fee when you sign up through the new onboarding flow
- winget. You can add a manifest to the Windows Package Manager community repository so people can install with
winget install. It points at the installer you already host - Company device management, such as Intune, for apps deployed inside an organization
The Store also accepts plain .exe and .msi installers, and has since June 2021. On that route you host and sign the installer yourself, and the Store doesn't manage updates.
Updates only for licensed customers
An .appinstaller file is a static file at a public URL. Anyone who has the URL can install the app and gets every version you publish. For a paid app, that leaves two jobs: checking that the person running the app has paid, and deciding who gets which update.
LicenseSeat does the first inside the app. The C# SDK activates a license key, enforces how many devices it can be used on, and validates it offline with a signed file. That works the same in an MSIX-packaged app as in any other, and it's enough for most products: the package and its updates stay open, and the app doesn't run without a valid license.
For the second, LicenseSeat hosts your releases and serves a JSON endpoint that answers per license:
curl -H "Authorization: Bearer YOUR-LICENSE-KEY" https://licenseseat.com/p/<product-slug>/latest
It returns the newest version that license is entitled to, with a download URL and SHA-512 for each file. A request without a valid key gets no release.
To be clear about the fit: LicenseSeat doesn't generate .appinstaller files, and Windows fetches that file itself, without your app's license key. So license-gated updates mean leaving UpdateSettings out of your .appinstaller file, checking the JSON endpoint from your app, and installing the package it points to yourself. If you'd rather keep Windows doing the updating, license the app and leave the update feed open.
ClickOnce and the other .NET options are compared on their own page, and the guide to shipping desktop updates covers the feeds in detail. LicenseSeat charges a flat monthly fee and takes 0% of your revenue.
Common questions about MSIX
What is MSIX?
A package format for Windows apps, from Microsoft. The package holds the app's files and a manifest, and Windows handles installing, updating and uninstalling it. It works on Windows 10 version 1709 and later.
What is the difference between MSIX and EXE?
An .exe installer is a program you wrote, or built with a tool, that copies files and changes settings however it likes. An MSIX is a package that Windows installs by a fixed set of rules. MSIX gives you clean uninstalls and built-in updates. An EXE installer gives you full control, including drivers and custom setup steps.
What is the difference between MSIX and MSI?
MSI is the older Windows Installer format. It installs machine-wide or per user, supports custom actions, and has no update mechanism of its own. MSIX installs per user by default, must be signed, uninstalls completely, and can update itself through an .appinstaller file or the Store.
Is MSIX only for the Microsoft Store?
No. You can host an MSIX and an .appinstaller file on your own website, and installed copies will update from there. Outside the Store you need your own trusted code signing certificate.
Does an MSIX package have to be signed?
Yes. Windows won't install an unsigned package, and the signing certificate has to be trusted on the customer's machine. Its subject also has to match the Publisher in the package manifest exactly.
What is the MSIX Packaging Tool?
A free Microsoft tool that turns an existing installer into an MSIX. It runs your .exe or .msi, records what the installer changes, and builds a package from that, so you don't need the source code.
How do MSIX apps update?
Through the Store, or through an .appinstaller file you host. Windows checks that file when the app launches or on a background schedule, and downloads only the blocks of the package that changed.
Why doesn't my ms-appinstaller link work?
Microsoft disabled the ms-appinstaller: protocol by default in December 2023 because it was used to spread malware. Link to the .appinstaller file directly, and customers download and open it.
Can I convert an EXE to MSIX?
Usually, with the MSIX Packaging Tool, as long as the installer can run silently. Apps that install drivers or write to their own install folder need changes first, or are better left as a traditional installer.