question

winprofessional avatar image
0 Votes"
winprofessional asked winprofessional answered

Silent Installation using cmd/batch file

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?

windows-10-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

If you resolved it using our solution, please click "Accept Answer" to help other community members find the helpful reply quickly.
If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.

0 Votes 0 ·
MotoX80 avatar image
0 Votes"
MotoX80 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TeemoTang-MSFT avatar image
0 Votes"
TeemoTang-MSFT answered

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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

winprofessional avatar image
0 Votes"
winprofessional answered

As far as I could understand, the vendor might have included the silent installation switches when they packed the setup exe. The command Setup.exe /? will list the switches. Thanks

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.