See Silent Installation.
This topic explains how to perform so-called silent installation with a MSI installer*.
The user interface of an MSI installer* typically queries the target system and displays an installation wizard (Setup Wizard) which enables the user to change various options that will affect the installation.
The same MSI can also perform a so-called 'quiet mode' or 'silent mode' installation whereby the User Interface of the Setup Wizard gets suppressed. This is done by running the msiexec.exe command-line utility with the /qn (or /qb or /qr) option and specifying on the command line all the information that the wizard would normally gather. Therefore, any actions that occur within the user interface sequence will not be performed during a 'silent' installation.
See Command line options for msiexec.exe on the Microsoft site.
* Windows Installer (aka Microsoft Installer .msi).