Would you like to learn how to use the MSIEXEC command? In this tutorial, we are going to have multiple examples showing how to use the MSIEXEC command on a computer running Windows.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 2022
• Windows 10
• Windows 11

Equipment list

Here you can find the list of equipment used to create this tutorial.

This link will also show the software list used to create this tutorial.

Windows Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Windows.

Tutorial Windows - Using Msiexec with examples

As an Administrator, start an elevated command line.

Windows - Elevated command prompt

Install the MSI package.

Copy to Clipboard

Perform a silent installation.

Copy to Clipboard

Perform a passive installation of the MSI package.

Copy to Clipboard

Perform an administrative installation.

Copy to Clipboard

Set the MSI installation directory.

Copy to Clipboard

Configure the option to reboot.

Copy to Clipboard

Create a log file of the MSI installation.

Copy to Clipboard

Repair or reinstall the MSI software.

Copy to Clipboard

Uninstall an MSI application.

Copy to Clipboard

List the MSI applications installed on the computer.

Copy to Clipboard

Congratulations! You learned how to use the MSIEXEC command to install MSI packages.