.MSM

MSM File

Windows Installer Merge Module
Ask a question
QUICK ANSWER

An MSM file is a Windows Installer Merge Module - a reusable package of shared components (DLLs, files, registry entries) that developer tools merge into an MSI installer at build time. MSM files cannot be run or installed directly. Open or inspect them with WiX Toolset, Orca (free, from the Windows SDK), or 7-Zip. The main concern is trust: do not merge an untrusted MSM into a production installer without inspecting it first.

Developer: Microsoft Corporation Category: Settings Files MIME: application/octet-stream
OPENS ON Windows
Related: .ICA · .DS_STORE · .WMZ · .CFG

On this page

19k+ extensions indexed
Last reviewed Sep 1, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the MSM file format?

A .msm file is a Windows Installer Merge Module - a reusable packaging unit that delivers shared components (DLLs, fonts, registry entries, COM registrations) to multiple MSI installer packages without duplicating logic. Merge modules cannot be installed on their own; they must be merged into a parent .msi database at build time using Mergemod.dll from the Windows Installer SDK, or authoring tools such as WiX Toolset, InstallShield, or Advanced Installer.

Internally, .msm files use the same OLE2 Compound File Binary (CFB) container as .msi packages - the file-level magic bytes (D0 CF 11 E0 A1 B1 1A E1) are identical. The container holds a subset of Windows Installer relational database tables (File, Component, Registry, and others) plus MSM-specific tables such as ModuleComponents, ModuleDependency, and ModuleSignature. Payload files are stored in an embedded MergeModule.CABinet stream, compressed with LZX or MSZIP.

Every component GUID within a merge module is unique, preventing table-name conflicts when the module is absorbed into a parent installer. The format was introduced in 1999 with Windows Installer 1.0 on Windows 2000; its last specification update came with Windows Installer 5.0 (Windows 7 / Server 2008 R2).

Modern packaging increasingly favors MSIX for Windows 10 and later, which does not support merge modules. WiX v4/v5 still accommodates them via the <MergeRef> element for legacy compatibility. .msm files can be inspected with Orca (Windows Installer SDK) or opened by 7-Zip as OLE2 compound documents.

Security & safety

RISK: MEDIUM

MSM files are installer components that, when merged into an MSI and executed, install files, registry keys, and COM objects on a Windows system. Do not merge untrusted .msm files into production installers. Inspect with Orca or 7-Zip before use. Files can be Authenticode-signed; verify signature if provided.

Format details

in a nutshell
FULL NAMEWindows Installer Merge Moduleaka MSM file, Merge Module
DEVELOPERMicrosoft Corporationsince 1999 (Windows Installer 1.0, Windows 2000)
MIME TYPEapplication/octet-stream
TYPEbinary OLE2 Compound Document (simplified MSI database)
This extension is also used by…
  • MediaMonkey skin module - MediaMonkey audio player uses .msm for skin/module files - unrelated to Windows Installer.
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304050607
HEX
D0CF11E0A1B11AE1
ASCII
········
OLE2 Compound Document File Format (CFB) signature - same as .msi, .doc, .xls, and other OLE2 files.

Programs that open MSM files

Windows5 apps
Microsoft Visual Studio Freemium Visual Studio with the WiX v3 extension or Setup Project add-in can open and consume .msm files in installer projects. No direct 'viewer' - consumed at build time.
7-Zip Open-source 7-Zip can open .msm as a compound file and extract contents including the embedded .cab - useful for inspecting packaged files.
WiX Toolset Open-source Reference an .msm via <MergeRef> in a WiX .wxs source file; WiX light.exe/wix.exe merges it into the output .msi.
Orca (Windows Installer SDK) Free Orca.exe (from Windows SDK) opens MSM files as a database editor - inspect tables, components, and file lists.
Advanced Installer Freemium Advanced Installer can import and consume .msm merge modules in MSI projects.

Technical details

deep spec
Container formatOLE2 Compound File Binary (CFB / Structured Storage) - same container as .msi and legacy .doc/.xls files
Magic bytesD0 CF 11 E0 A1 B1 1A E1 at offset 0 (OLE2 CFB signature, shared with .msi)
Byte orderLittle-endian
Embedded cabinetMergeModule.CABinet stream inside the OLE2 container; payload files compressed with LZX or MSZIP
Database typeWindows Installer relational database - subset of MSI tables plus MSM-specific tables
MSM-specific tablesModuleComponents, ModuleDependency, ModuleExclusion, ModuleSignature, ModuleSubstitution
Standalone installNot possible - must be merged into a parent .msi database at build time via Mergemod.dll
Component GUID policyEvery component GUID is unique per module to prevent table-name conflicts during merge
Typical file size50 KB - 50 MB depending on packaged payload
Code signingOptional Authenticode signature; not applied by default
Associated OSWindows (Windows 2000 and later)
Merge tool APIMergemod.dll (Windows Installer SDK); also WiX Toolset, InstallShield, Advanced Installer
WiX compatibilityWiX v4/v5 supports merge modules via the <MergeRef> element
Modern replacementMSIX/APPX packaging (Windows 10+) does not support merge modules; WiX fragment/library model preferred for new development
Released1999 (Windows Installer 1.0, Windows 2000)
Latest versionWindows Installer 5.0 (Windows 7/Server 2008 R2)
Specificationlearn.microsoft.com

MSM conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with MSM files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about MSM files.

Frequently asked questions

What is an MSM file?
A Windows Installer Merge Module - a reusable package of shared components (DLLs, files, registry entries) that developer tools merge into MSI installers at build time.
Can I install an MSM file directly?
No - MSM files cannot be run directly. They must be merged into a parent .msi installer database using tools like WiX Toolset, Visual Studio, or Advanced Installer.
How do I inspect the contents of an MSM file?
Use Orca.exe (from the Windows SDK, free) to view the database tables, or open with 7-Zip to extract the embedded cabinet file and see what files are packaged.
What is the difference between MSM and MSI?
An MSI (.msi) is a complete installer that Windows can run. An MSM (.msm) is a reusable component module that cannot run alone - it gets merged into an MSI at build time.
Is WiX Toolset still the right tool for MSM files?
Yes - WiX v3 and v4/v5 both support merge modules via <MergeRef>. WiX v3 has a Visual Studio 2022 extension on the VS Marketplace.

References

1Microsoft Docs - About Merge Moduleslearn.microsoft.com
2Microsoft Docs - Merge Moduleslearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.RPMSGRestricted Permission Message
6.BINCD/DVD Disc Image (BIN/CUE)
7.EXEWindows Executable (Portable Executable)
8.M4AMPEG-4 Audio File
9.JSONJavaScript Object Notation file
10.ICSiCalendar data file

Related extensions

.ICACitrix Independent Computing Architecture file
.DS_STOREmacOS Finder Desktop Services Store (.DS_Store)
.WMZWindows Media Player Skin
.CFGConfiguration File
.LICLicense File
.CONFConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z