Introduction
An .msix file is a Windows app package in Microsoft’s
MSIX format, used by the
Microsoft Store and for installing apps directly. Windows installs it into a protected
folder, keeps the app’s settings apart from the rest of the system, and can remove it
completely. MSIX grew out of AppX, the format made for Windows 8 Store apps; AppX
packages (.appx) have the same layout. Packages for several processors can
be combined in a bundle, .msixbundle or .appxbundle.
Unlike an MSI package, which describes how to install a program, an MSIX holds the app’s files as they will be used.
Structure
An MSIX package is a ZIP archive with fixed entries beside the app’s own files:
AppxManifest.xml: the package’s identity (name, publisher, version and processor), the apps it contains, their tiles and the capabilities they need.AppxBlockMap.xml: a hash of every 64 KB block of every file, so Windows can check the files and download only the changed blocks in an update.AppxSignature.p7x: the publisher’s signature; Windows installs only signed packages.[Content_Types].xml: the media types of the entries.
The footprint files, every element and attribute of the block map, its hash methods and the manifest’s root and identity are on the package files page.
Not described
Known, not yet covered
- Reference: the manifest elements below
Properties,ApplicationsandExtensions, the bundle manifest schema, the.p7xsignature layout and the content types, all in Microsoft’s package documentation; see package. - Viewer: there is no viewer for MSIX packages yet.
Links
Software
- App Installer – built into Windows; installs a package when it is opened (Windows)
- MSIX Packaging Tool – Microsoft’s tool that repackages existing installers as MSIX (Windows)
- MakeAppx and SignTool – tools in the Windows SDK that pack and sign packages (Windows)
- Visual Studio – Microsoft’s IDE, which builds packages for Windows apps (Windows)
Reference
- MSIX documentation – Microsoft’s guides to the format and its tools