Try running:
setup.exe /?
Normally, a setup program will display the command line switches that it honors.
You could also search the web site of whatever software you are installing to see if they have additional instructions.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I need to run an installation of a Setup.exe in silent mode using command line. I am using the below in my batch file.
@echo off
Setup.exe /quiet
What I need is a silent unattended installation. But when I run the above command, it is not a silent installation and I need to press Next button etc. during the install. Is this the correct switch to use? Any more options? Also it is possible to get the error code if any of the installation?
Try running:
setup.exe /?
Normally, a setup program will display the command line switches that it honors.
You could also search the web site of whatever software you are installing to see if they have additional instructions.
Not all .exe installers support silent install. You have a few options:
Run the .exe with /? to see if it has help info (you already tried this - just including it for completeness)
Extract the .exe with 7-Zip to see if there are .msi installers inside. Sometimes the .exe is just a wrapper to detect the architecture and launch the correct .msi.
Consult vendor documentation to see if they have any switches documented or if there is a separate program for configuring installation options (like the OCT for Office VL installs)
Contact the vendor to see if they have a .msi installer available
Use something like AppDeploy Repackager to create a .msi yourself.
Here is a link explaining installer types - http://unattended.sourceforge.net/installers.php
-------------------------------------------------------------------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.