Summary
How to run a basic MSI installation in silent mode.Synopsis
This article discusses how to run a Basic MSI installation in silent mode so that it is not necessary for users to monitor the setup or provide input via the dialog boxes.Discussion
Silent installations are installations that run without an end-user interface. End users can run your package silently in any of the following ways:
1. Instruct them to pass the silent parameters via the command line
To run the installation in silent mode, you would need to pass the /qn parameter to the MSI package.
For example, msiexec /I C:\WINDOWS\Desktop\Sample\sample.msi /qn
If your release includes a setup.exe launcher, pass the /s parameter to run the setup.exe silently and pass the /v/qn parameter to run the MSI package silently.
For example, C:\WINDOWS\Desktop\Sample\setup.exe /s /v/qn.
2. Provide your end users with a modified Setup.ini
You can specify the above command-line arguments via the Setup.ini file so that end users do not have to manually pass these arguments to the setup. This parameters can be specified within the InstallShield IDE under the Releases view -> Setup.exe tab -> MSI Command Line Arguments
Alternatively, you can manually modify the setup.ini for an uncompressed release by following the below steps:
a. Locate the Setup.ini file in the Disk1 folder in the location where your release is built.
b. Open the Setup.ini file using a text editor such as Notepad and look for the [Startup] section.
c. In the 'CmdLine=' section, set 'CmdLine=' to the /s /v/qn arguments. For example, CmdLine=/s /v/qn.
Because the Setup.ini file is passed to setup.exe at run time, the setup runs silently when the user clicks on the setup.exe.
Related KB Articles
Q105473Related Articles
Perform Silent Install for a Basic MSI 9Number of Views Implementing Setup Types in a Basic MSI Project 3Number of Views Add an Unsupported Language to a Basic MSI Project 4Number of Views Perform Major Upgrade of InstallScript MSI Project with Basic MSI 3Number of Views Logging An InstallScript MSI Project 350Number 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. | |
Case id: 00001065
Activity: Status change: 2 hours ago