What Is a .MSI File? (.msi, .msp)
A .msi file is a Windows Installer package, a standard format for installing, repairing and removing software on Windows. Unlike a setup .exe, an MSI is a database that Windows Installer (msiexec) reads to copy files and create shortcuts and registry entries. IT departments prefer MSIs because they install silently and consistently.
- Extension
- .msi, .msp
- Full name
- Windows Installer Package
- Type
- System and app file
- Developed by
- Microsoft
About MSI files
An MSI describes what to install rather than containing a custom program to do it. That gives predictable behavior: Windows can roll back a failed install, repair missing files, and uninstall cleanly from Settings > Apps. Updates can ship as .msp patch files. Many setup .exe files are simply wrappers that unpack and run an MSI.
Administrators deploy MSIs to many PCs with tools like Intune and Group Policy, or from the command line, for example msiexec /i app.msi /quiet for a silent install. Microsoft's newer MSIX format adds containerized, cleaner installs, but MSI remains common for business software.
An MSI installs software with elevated permissions, so it can do anything an installer can. Before running one, check that it came from the vendor's official site and look at Properties > Digital Signatures for a valid publisher. Windows SmartScreen warns about unrecognized installers; do not click Run anyway for files you did not expect. MSIs do not run on Mac or Linux.
What MSI files are used for
- Installing desktop software on Windows
- Silent deployment of apps across company PCs
- Installing runtimes, drivers and developer tools
- Repairing or modifying an existing installation
How to open a .msi file
Windows
Double-click to run the installer. To uninstall or repair later, go to Settings > Apps > Installed apps.
Windows (command line)
Use msiexec /i file.msi to install, adding /quiet for no prompts, or msiexec /a for an administrative extract of the files.
Mac and Linux
MSI installers do not run here. 7-Zip and similar tools can list the contents, but the software is for Windows.
How to convert a .msi file
Developers can repackage an MSI as MSIX with Microsoft's MSIX Packaging Tool.
An MSI cannot be turned into a Mac app or a DMG; download the vendor's Mac version instead.
Renaming .msi to .exe does not work; Windows will not recognize it.
Changing the extension in the file name does not convert the file. See how to change a file extension for when renaming is safe.
Naming and renaming MSI files
- Keep the product name, version and architecture in installer names (product-5.2.0-x64.msi) so admins deploy the right package.
- Do not rename an MSI that has an accompanying .cab file or transform (.mst); the package may refer to them by name.
- Check the digital signature rather than the file name to confirm who published an installer.
Renaming lots of .msi files? Use the free online bulk renamer for patterns and numbering, or try File Renamer AI to name each file from what is inside it.
Related file types
A .exe file is a Windows executable: a compiled program that runs when you open it. Installers, apps and games on Windows are EXE files. Because running one gives it the same access to your computer that you have, only open EXE files from sources you trust. Macs, iPhones and Android cannot run them natively.
A .dll file is a Dynamic Link Library: a file of compiled code and resources that Windows programs load while they run. Many programs can share one DLL, which saves memory and disk space. DLLs are not opened by double-clicking; errors about a missing DLL are fixed by reinstalling the program or runtime that provides it.
A .bat file is a Windows batch script: a plain-text list of Command Prompt commands that run one after another when you double-click it. Batch files automate tasks such as copying files, launching programs or changing settings. The .cmd extension works almost the same. They run with your permissions, so only run trusted ones.
A .ps1 file is a PowerShell script, the file extension Microsoft uses for scripts written in its PowerShell command-line language. It contains plain text commands that automate Windows and server administration tasks. Double-clicking a .ps1 opens it in Notepad rather than running it, a deliberate safety measure.
Frequently Asked Questions
What is the difference between MSI and EXE installers?
An MSI is a standard Windows Installer database with built-in repair, rollback and silent options; an EXE installer is a custom program that may or may not wrap an MSI.
Is an MSI file safe?
It installs software with admin rights, so only run MSIs from the official vendor and check the digital signature.
How do I install an MSI silently?
Run msiexec /i file.msi /quiet in an administrator Terminal.
Can I open an MSI file on a Mac?
You can view its contents with an archive tool, but the software only installs on Windows.