211k views
1 vote
What are the valid switches that can be used when deploying through command prompt with the stub installer?

1) /s
2) /v
3) /qn
4) /norestart

User EMP
by
7.6k points

1 Answer

3 votes

Final answer:

When deploying software through the command prompt with a stub installer, valid switches include /s for silent mode, /v to pass arguments to an MSI package, /qn for quiet mode without a user interface, and /norestart to prevent automatic restarts post-installation. Always consult the specific installer's documentation for verification.

Step-by-step explanation:

The switches that can be used when deploying software through the command prompt with a stub installer can vary depending on the specific software and installer being used. However, commonly known switches include:

  • /s: Runs the installer in silent mode without displaying any user interface.
  • /v: Passes specified arguments to the MSI (Windows Installer) package. This is often used in conjunction with other switches.
  • /qn: Combined with /v, this switch installs the software with no user interface (Quiet mode, No user interface).
  • /norestart: Prevents the computer from restarting automatically after the installation is complete.

It's important to refer to the documentation of the particular installer you're working with to ensure you use the correct and supported switches.

User QuasarDJ
by
8.6k points