05 August 2025 Windows, Installer Robert Muehsig

This is more of a “Today-I-Learned” post and not a “full-blown How-To article.” If something is completely wrong, please let me know – thanks!

What is an MSI?

Let’s start simple: An MSI (Microsoft Installer) is a package used to install software on Windows. The MSI contains everything needed to install the software, such as files, registry changes, and custom actions.

An MSI also includes properties—for example, the install location or custom values that need to be applied during installation.

You can install an MSI interactively (by double-clicking it) or by using the msiexec command.

A more complex msiexec command can look like this:

msiexec /qb /i "installer.msi" APPLICATIONFOLDER="C:\Program Files\customSoftware" SOMEPROP="SomeValue" SOMEOTHERPROP="SomeOtherValue"

Ok… and what is an MST?

An MST (Microsoft Transform) is a file that contains a set of modifications for an MSI installation. All those properties (and more) that you would pass via command line can be “baked into” an MST file.

You can apply an MST during installation like this:

msiexec /i setup.msi TRANSFORMS=custom.mst /qn

Pros / Cons

Pros:

If you want to apply the same settings across multiple installations and keep them stored in one place, an MST is a good solution.

Cons:

The MST file, like the MSI itself, is a binary file and can only be edited with tools like Orca.

Both file formats are quite old, but I recently learned that MST files are still a thing—and quite useful if you’re dealing with automated or enterprise software deployments.

Hope this helps!


Written by Robert Muehsig

Software Developer - from Saxony, Germany - working on primedocs.io. Microsoft MVP & Web Geek.
Other Projects: KnowYourStack.com | ExpensiveMeeting | EinKofferVollerReisen.de