Summary
A silent, or unattended installation is one that presents no user interface.
Discussion
To run an installation silently, run msiexec with the /qn command-line option, as in the following.
msiexec /i C:\Sample.msi /qn
The /q option specifies the level (quiet) of user interface to display, and the n specifies that no interface should be displayed.
Here are some command-line switches that are available with the /q option as documented by Microsoft:
| Command | Description |
|---|---|
| q , qn | No UI. |
| qb | Basic UI. Use qb! to hide the Cancel button. |
| qr | Reduced UI with no modal dialog box displayed at the end of the installation. |
| qf | Full UI and either SetupCompleteError, SetupInterrupted or SetupCompleteSuccess modal dialog box at the end. |
| qn+ | No UI except for a modal dialog box displayed at the end. |
| qb+ |
Basic UI with a modal dialog box displayed at the end.
|
| qb- |
Basic UI with no modal dialog boxes.
|
To silently run a setup program that uses Setup.exe, a user can enter the following command:
setup.exe /s /v"/qn"
Additional Information
The following Microsoft article has additional information on the Command-Line Options for msiexec.exe and the User Interface Levels.
Related Articles
Authoring a Silent Installation 40Number of Views How to Run a Custom Action Only During a Silent Install 27Number of Views Installation of a Basic MSI Setup in Non-User Interface Mode(Reduced UI, Basic UI, No UI - Means a Silent Installation Tha… 11Number of Views Silent Installation Behavior when using InstallAnywhere 19Number of Views Determining Whether a Silent Install Was Successful 14Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add additional feedback (optional)
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
|
FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513
(toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367
(toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895
2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago