Format:MSIX package
Appearance
| On this wiki | Facts · Code · Notes · Topics |
|---|
MSIX / APPX application packages (and bundles): ZIP files with AppxManifest.xml, AppxBlockMap.xml, [Content_Types].xml and an AppxSignature.p7x; how to unpack and verify them. Leads only, none read from a repository yet.
Sources: microsoft/msix-packaging (MIT) for the footprint files, block map and signature header; sentences marked Unverified are general knowledge, not read in a source.
MSIX (successor of APPX) is a ZIP-based package for Windows apps. No installer code runs in the classic sense: the package is declarative and the OS deploys it.
Identification
- Extensions .msix, .appx, bundles .msixbundle, .appxbundle, and .msixupload/.appxupload. The file is a ZIP (
50 4B 03 04). - Footprint file names (microsoft/msix-packaging
src/inc/internal/AppxFactory.hpplines 21-26):AppxManifest.xml(identity, capabilities, applications and entry executables),AppxBlockMap.xml(<BlockMap HashMethod="http://www.w3.org/2001/04/xmlenc#sha256" xmlns="http://schemas.microsoft.com/appx/2010/blockmap">; one<File Size=... Name=... LfhSize=...>per file with a<Block Hash=...>per 64 KiB (65536 bytes,DefaultBlockSizein AppxBlockMapWriter.hpp line 15) of uncompressed data, SHA-256 each; the writer always uses SHA-256; Unverified: its use for delta downloads),[Content_Types].xml,AppxSignature.p7x(PKCS#7 signature after an APPX-specific header: the file starts with the dword 0x58434B50, bytes50 4B 43 58= "PKCX",P7X_FILE_IDin AppxSignature.hpp line 33; the signed digests are named by dwords APPX (head), AXPC (file records), AXCD (central directory), AXCT ([Content_Types].xml uncompressed), AXBM (AppxBlockMap.xml uncompressed) and AXCI (CodeIntegrity.cat uncompressed, optional), each with a 32-byte SHA-256 hash) and, for signed packages,AppxMetadata/CodeIntegrity.cat. Bundles holdAppxMetadata/AppxBundleManifest.xml(APPXBUNDLEMANIFEST_XML in the same header) and nested packages. A Store-signed package is recognised by the certificate EKU OID 1.3.6.1.4.1.311.76.3.1 (OID::WindowsStorein AppxSignature.hpp). - File names inside the ZIP are percent-encoded: msix-packaging has
EncodeFileName("Returns the file name percentage encoded", src/msix/common/Encoding.cpp line 49) and a decoder for the reverse. Unverified: the exact set of encoded characters (for example%5Bfor[) and that payload files are stored under their install paths.
Unpacking
- Rename to .zip or open with 7-Zip; or use
makeappx unpackfrom the Windows SDK. Unverified: encrypted packages (.eappx) cannot be unpacked this way. - Read
AppxManifest.xmlfirst: theExecutableattributes underApplicationname the entry points;Capabilityentries (for examplerunFullTrust) tell whether the app runs as a normal Win32 process. - Apps are installed under the protected
WindowsAppsfolder with a version- and architecture-based folder name. Unverified.
Code & repositories
- https://github.com/microsoft/msix-packaging @
25a65f5c1690930813bcc10cdf1d59fa865f2bb1· license: MIT
Microsoft MSIX SDK: reads and writes MSIX/APPX packages and bundles; AppxFactory.hpp names the footprint files, AppxSignature.hpp the PKCX header and digest ids, AppxBlockMapWriter the block map.
Tested on: source read, not run · checked 2026-10-19; last activity 2026-08-24; Note: the latest release ships binaries; the wiki links only the source, never the binaries
See also
Format:Microsoft Cabinet, Format:Windows Installer MSI, Technique:Identifying the toolchain of a binary.
- Format:ZIP (container structure)