Available Switches to run / deploy application silently

Created by Izzat Amirul, Modified on Wed, 18 Jan, 2023 at 1:31 PM by Izzat Amirul

There are several switches available to deploy applications silently / to supply during the installation. Some of it are:


/s
Indicates that the installation should be silent.
/quiet
This switch is similar to /S, but it is used by some installers to indicate a quiet installation.
/qn
This switch is similar to /quiet and /S, but it is used by some installers to indicate a "no-interface" installation.
/norestart
This switch is used to prevent the installer from automatically restarting the system after installation.
/passive
This switch is used to indicate a passive or "unattended" installation, which does not require user interaction.
/log
This switch is used to specify a location to save installation log files
/msi
Indicate that the installer package being used is an MSI (Windows Installer Package) file
EULA_ACCEPT=YES
Indicate acceptance of the End-User License Agreement (EULA) during an installation process.
/rs
short for "/reboot suppress" and it is used to suppress reboot when installing or uninstalling an application using the Windows Installer (msiexec.exe)
/i
command-line switch used with the Windows Installer (msiexec.exe) to perform an installation of an application
/promptrestart
Prompts the user to restart the system after installation
/forcerestart
Forces the installer to restart the system after installation.



Example:


msiexec /i package.msi /quiet /log install.log


msiexec /i package.msi /sAll


msiexec /i package.msi /quiet EULA_ACCEPT=YES


msiexec /i package.msi /quiet /log install.log


executeFile ("#vAgentConfiguration.agentTempSecureDir#/AcroRdrDC2200320310_en_US.exe", "/sAll /rs /msi EULA_ACCEPT=YES", "Execute as System and Wait", "Halt on Fail")


msiexec /i package.msi /quiet /rs



It's important to note that this switch may not be supported by all installers or all applications, so it's always best to consult the package documentation for any additional information. Also, using this switch may prevent any error messages from being displayed, so it's essential to check the installation log after the installation to ensure it completed successfully.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article