.MSI

MSI File

Microsoft Windows Installer Package
Ask a question
QUICK ANSWER

An MSI file is a Windows installer package that the built-in Windows Installer (msiexec) reads to install a program. On Windows, double-click it to run the setup wizard. There is no installer for macOS or Linux. To peek inside without installing, open the MSI with 7-Zip.

Developer: Microsoft Category: Executable Files MIME: application/x-msi
OPENS ON Windows
Related: .APK · .EXE · .VBS · .JAR

On this page

19k+ extensions indexed
Last reviewed Sep 7, 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 MSI file format?

Files with the .msi extension store an application installation package or a driver package for Microsoft Windows. .msi files have a standardized structure defined by metadata and contain all resources needed to install an application. The name MSI comes from Microsoft Installer, the original name of the technology before Microsoft rebranded it Windows Installer.

MSI package structure

.msi packages are relational databases saved in the OLE2 Compound File Binary format - the same container used by legacy Office binary documents. Because of this shared container, the first eight magic bytes (D0 CF 11 E0 A1 B1 1A E1) are not unique to .msi; the format is distinguished by its internal database streams such as _Tables and _Columns. Each package is divided into:

  • One or more products to be installed
  • Product components - the atomic units of installation (files, registry keys, shortcuts)
  • Features - larger hierarchical structures comprising components; users may choose optional features during setup
  • Key paths for components - critical elements verified during component installation or uninstallation

Although a single installer may bundle multiple products, it cannot natively verify cross-product dependencies. Dependency management is handled by uninstaller tools or through the GUI. .msi remains the dominant installer format for enterprise and legacy Windows software.

Creating and using Windows Installer packages

.msi packages are authored with dedicated tools such as the WiX Toolset, Orca (included in the Windows SDK for inspecting and editing databases), or commercial authoring products. The installation process is driven by msiexec.exe and divided into three phases:

  1. User interface - users configure installation options
  2. Execution - the actual installation, running in either *immediate* or *deferred* (pending) mode
  3. Rollback - if installation fails, the transaction is rolled back and no system changes persist

Contents of an .msi package can be extracted without running the installer using 7-Zip or via msiexec /a (administrative install).

Versions of Windows Installer

.msi packages debuted with Office 2000 in 1999 (Windows Installer 1.0); the runtime was also built into Windows 2000. Version 5.0 shipped in 2009 alongside Windows 7 and Windows Server 2008 R2. Closely related formats include .msp (patch packages delivering binary diffs to installed products) and .mst transform files that modify installer behavior at runtime. The newer .msix standard, introduced in 2018, combines .msi, .appx, App-V, and ClickOnce technologies for improved security, sandboxing, and Store distribution - but .msi continues to be widely deployed for enterprise and traditional desktop software. Payload files inside an .msi are typically compressed as .cab streams embedded in the database.

Security & safety

RISK: MEDIUM

An MSI is a trusted-looking installer, which makes it a favoured malware disguise: attackers ship trojaned MSIs (often with malicious Custom Actions that run code during install) or fake "software updates". Install MSIs only from the official vendor site, and prefer signed packages - right-click > Properties > Digital Signatures shows the publisher; an unsigned MSI from an unknown source is a red flag. Because MSI runs with installer privileges, a malicious one can do anything an admin can. The rename/7-Zip trick lets you inspect contents before running.

Format details

in a nutshell
FULL NAMEMicrosoft Windows Installer Package
DEVELOPERMicrosoftsince 2000 (Windows Installer 1.0, shipped with Office 2000 / Windows 2000)
MIME TYPEapplication/x-msi
TYPEInstaller database stored as an OLE/Compound File Binary (binary)
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304050607
HEX
D0CF11E0A1B11AE1
ASCII
········
An MSI is a Microsoft Compound File (CFBF/OLE2) so its first 8 bytes are the generic D0 CF 11 E0 A1 B1 1A E1 signature shared with old Office binary documents and Outlook .msg files. It is NOT identifiable by the first bytes alone; an MSI is distinguished by the internal installer-database streams it contains (e.g. tables, the _Tables/_Columns stream).

Programs that open MSI files

Windows4 apps
7-Zip Open-source Right-click the MSI > 7-Zip > Open archive to browse and extract the bundled files without installing.
Windows Installer (msiexec, built-in) Built-in Double-click the .msi to launch the setup wizard. For silent install: msiexec /i package.msi /qn. To uninstall: msiexec /x package.msi.
Orca (Windows SDK) Free MSI database editor from the Windows SDK - open the MSI to view/edit its tables (for admins building transforms).
WiX Toolset Open-source Build/decompile MSI packages from XML source (the open-source successor to 'Windows Installer XML'). For authors, not end users.

Technical details

deep spec
Container formatOLE2 Compound File Binary (CFBF) - same outer structure as legacy .doc and .xls binary Office files
Magic bytes (offset 0)D0 CF 11 E0 A1 B1 1A E1 - OLE2 signature shared with other Compound Documents; not unique to MSI alone
MIME typeapplication/x-msi
Internal database tablesFixed-schema relational tables including File, Registry, Component, Feature, Property, and CustomAction
Payload storageFiles compressed as Cabinet (.cab) streams embedded in the database or referenced as external .cab archives
Compression algorithmsCabinet streams use LZX or MSZIP (zlib-compatible) compression
Transaction modelFull rollback on failure - all file and registry changes are undone via a shadow-copy scripting mechanism
Execution enginemsiexec.exe (built into Windows); install: /i, remove: /x {ProductCode}, repair: /f, admin extract: /a
Privilege modelSupports per-machine (elevated, ALLUSERS=1) and per-user (non-elevated) installation modes
Advertised installationCOM classes and shortcuts can be advertised - registered but not deployed until first use (demand-install)
Patch support.msp patch files deliver binary diffs and supplemental table data targeting a specific MSI product code
Transform support.mst transform files override property values and table data at install time without modifying the base .msi
Merge modules.msm merge module packages encapsulate reusable components for inclusion in multiple .msi databases
Custom actionsPre- and post-install logic can execute VBScript, JScript, DLL entry points, or external EXE processes
Uninstall registrationAutomatically writes HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ProductCode} entries
Runtime versionsWindows Installer 1.0 (1999) through 5.0 (2009, bundled with Windows 7 and Server 2008 R2)
Released2000 (Windows Installer 1.0, shipped with Office 2000 / Windows 2000)
Specificationlearn.microsoft.com

MSI conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with MSI 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 MSI files.

Frequently asked questions

How do I open or run an MSI file?
Double-click it on Windows to start the installer. There's nothing to 'open' beyond running it; to inspect the files inside without installing, open the MSI with 7-Zip.
Can I open an MSI file on a Mac or Linux?
Not to install - MSI is a Windows-only format and there's no Mac/Linux installer. You can extract its files with 7-Zip/p7zip, or run the program under Windows in a VM or via Wine/WINE on Linux, but the MSI itself targets Windows.
What's the difference between an MSI and an EXE installer?
An MSI is a structured database read by Windows Installer, so Windows can repair, roll back and cleanly uninstall it. A setup EXE is an arbitrary program that can do anything its author coded. Admins prefer MSI because it's scriptable and policy-managed.
How do I install an MSI silently / for many computers?
Use the command line: msiexec /i package.msi /qn (quiet, no UI). Admins deploy MSIs at scale via Group Policy, SCCM or Intune, often with a transform (.mst) to customize settings.
How do I uninstall a program that was installed from an MSI?
Use Settings > Apps > Installed apps (or Control Panel > Programs), or msiexec /x package.msi. Because Windows Installer tracks the package, removal is clean.
Can I convert an MSI to EXE?
There's rarely a reason to - the MSI already installs the program. If you need a single EXE wrapper you can bundle the MSI with WiX Burn or IExpress, but that just embeds the MSI; it doesn't change what it installs.

References

1Microsoft Learn - Windows Installerlearn.microsoft.com
2Microsoft Learn - Command-line options (msiexec)learn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.MDMarkdown Document
4.PARTPartial Download File
5.RPMSGRestricted Permission Message
6.CRDOWNLOADChrome Partial Download File
7.NOMEDIAAndroid No-Media Marker File
8.PRDXSoftMaker Presentations Document
9.PRO6XProPresenter 6 Bundle File
10.SWFSmall Web Format (Shockwave Flash)

Related extensions

.APKAndroid Package
.EXEWindows Executable (Portable Executable)
.VBSVBScript file (Visual Basic Script)
.JARJava Archive
.EX4MetaTrader 4 Compiled Program (Expert Advisor / Indicator / Script)
.APPXMicrosoft Windows App Package (AppX)

Free file tools

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

Open the toolbox

Browse file extensions A-Z