How to silently install and find silent parameters | PDQ (2024)

Applications vary significantly in size and complexity. Some have large storage requirements and take forever to install (thanks AutoCAD), while others are small and install in seconds. Some can even run in a portable mode, which can then be launched from a flash drive.

Regardless of whether you’re installing a massive productivity suite or a small portable application, installations generally come in two forms, an EXE or an MSI file.

What’s the difference between MSI and EXE files?

Most sysadmins will look at an MSI file or an EXE file and instantly know that the file will either install something or run something. When downloading programs from the web, you’ll often have the choice to download the files as an EXE or an MSI.While they share some similarities in their purpose, there are many differences between them. The key difference I want to focus on is that EXE files are highly customizable by the developer, while MSI installers are standardized.

When you install an MSI file, you can be assured that certain parameters will exist, such as the silent parameter /quiet or /qn. You can get a list of the supported parameters in PowerShell or CMD by typing msiexec.exe /?. This command will display the usage statement.

How to silently install and find silent parameters | PDQ (1)

EXE’s, on the other hand, can be configured however the developer sees fit. They may include a usage statement, or they may not. They may have used different silent switches like /silent, /s, or /S, or they may or may not accept installation parameters at all. Because EXE’s aren’t standardized like MSI files, deploying them to our users becomes more difficult, especially if we need to ensure the installation runs silently and doesn’t restart end-user computers.

5 ways to find silent install parameters

Since we can’t rely on all EXE files using the same installation parameters, we need to do some detective work to ensure our installations go off without a hitch. So grab your deerstalker cap and your gourd Calabash pipe, because the game is afoot, Watson.

1. Find silent install parameters with the usage statement

Displaying the usage statement is my go-to method for finding silent installation parameters. The problem is that not all EXE files are created equal, and not all EXE files include a usage statement. Thankfully, viewing the usage statement, if one exists, is pretty straightforward. Here are a couple of different methods you can use to view the usage statement.

The first, and my preferred method is to drag the executable file into the Run window. Open the folder containing the EXE file and launch the Run window by typing run into the Windows 10 search bar and hitting enter. Next, drag the EXE file into the Open field of the Run window. Doing so will bring up the path to the executable. Add /? to the end of the path, making sure to include the space before the backslash and click OK.

How to silently install and find silent parameters | PDQ (2)

After clicking OK, you may be prompted with a User Account Control window. If a UAC prompt opens, click Yes.

How to silently install and find silent parameters | PDQ (3)

After clicking Yes, if the EXE comes with a usage statement, it should then be displayed.If the EXE doesn’t come with a usage statement, the application may just start to install.Here is the usage statement for the Silverlight executable.

How to silently install and find silent parameters | PDQ (4)

An alternative to using the Run window is to use CMD or PowerShell. If you grew up with Mavis Beacon and love typing, you could launch CMD or PowerShell and type out the path to the executable file followed by /?. If you’re like Lex and don’t like typing, there are easier ways of doing things. Just as with our example using the Run command, you can also drag and drop the file into the CMD or PowerShell window and append the /? to the end of the path.

How to silently install and find silent parameters | PDQ (5)

Make sure you don’t launch CMD or PowerShell with Admin rights, or this won’t work.

Another trick you can use if you don’t like to drag your files everywhere is to hold the Shift key and right-click on the executable, and click Copy as path. Then you can just paste the path in Run, CMD, or PowerShell and add /? to the end of the path.

2. Use Google to find silent install parameters

Is there anything Google can’t do? Probably, but the list of things it can’t do gets shorter and shorter every day. Google is a solid source of information for install parameters. Simply search Google for “silently install (application_name)” and you’ll find loads of information to help you out. As an example, I searched for “silently install Firefox,” which lead me to this support page, which contained this information:

How to silently install and find silent parameters | PDQ (6)

This information is usually pretty easy to find for most mainstream applications. However, this isn’t always the case. That’s when you need to resort to method number three, using a program designed to return silent switches.

3. The Universal Silent Switch Finder (USSF)

Universal Silent Switch Finder (USSF) is about as accurate a program name as I’ve ever seen. If you haven’t guessedalready, Universal Silent Switch Finder attempts to detect the silent switch or parameter for an executable. Simply launch the program and point it to an executable file, and it’ll take care of the rest.

Disclaimer: I’ve had mixed results using USSF. Some apps simply don’t have a silent switch option, in which case USSF was never going to find anything. Another possible explanation for my mixed results could be that USSF hasn’t been updated in quite some time. Regardless, when you need to find a silent parameter, and you’ve already tried the other resources, USSF is worth a shot.

How to silently install and find silent parameters | PDQ (7)

4. Extract executables with 7-Zip

One more option when finding silent parameters is to extract the executable using 7-Zip to see if any other MSI or EXE files within the executable can help us get the application installed silently. If you have 7-Zip installed, you can explore the contents of an executable by right-clicking on the EXE file and selecting 7-Zip > Open archive.

How to silently install and find silent parameters | PDQ (8)

5. If all else fails, use AutoHotKey

If you’ve exhausted all of your resources and still can’t find a silent install option for an application you need to deploy, there is a last resort option you can consider.AutoHotKey is an application that can automate tasks by mimicking clicks and button presses. It can launch EXE files minimized and still run through interactive menus without requiring user interaction. This process is scripted in AutoHotKey, after which it can be deployed to end-users.

Again, this is a last resort option. If you’re not familiar with AutoHotKey, things can go south quickly if the script you deploy isn’t perfect. Check out this video to learn more about AutoHotKey and see this process in action.

Roll out solutions with PDQ Deploy

Having the ability to install applications silently is necessary for any deployment on a network. I can’t imagine the chaos that would ensue if an interactive application deployment was pushed out to hundreds of users that required their input. PDQ Deploy requires deployments to run silently for this very reason.

If you’re tired of tracking down silent parameters and building packages, let PDQ Deploy do it for you. PDQ Deploy takes the guesswork out of deployments by providing pre-built packages for hundreds of the most common applications available today.Check it out with a free trial of PDQ Deploy or schedule a demo to learn more!

How to silently install and find silent parameters | PDQ (9)

Brock Bingham

Born in the '80s and raised by his NES, Brock quickly fell in love with everything tech. With over 15 years of IT experience, Brock now enjoys the life of luxury as a renowned tech blogger and receiver of many Dundie Awards. In his free time, Brock enjoys adventuring with his wife, kids, and dogs, while dreaming of retirement.

How to silently install and find silent parameters | PDQ (2024)

FAQs

How to silently install and find silent parameters | PDQ? ›

5 ways to find silent install parameters
  1. Find silent install parameters with the usage statement. ...
  2. Use Google to find silent install parameters. ...
  3. The Universal Silent Switch Finder (USSF) ...
  4. Extract executables with 7-Zip. ...
  5. If all else fails, use AutoHotKey.
Jun 14, 2021

How do I install a program silently? ›

As you want to install the software silently, find the switch available for silent installation. Use this command to use the silent switch: "softwarename.exe /switch". Once you are done with the silent switch command, sit back and relax. Your software will get installed automatically.

How do I know if I have silent installation? ›

Check the log file to see if it exists in the target directory. If the log is not there, the installation failed, and you can refer to the log file that was specified on the silent installation command with the -log option to see why the installation failed.

How do I install MSI silently? ›

If you are looking for complete silence then you also need the MSI to run in quiet mode. You achieve this by running the msiexec.exe with the /qn switch. This switch means quiet and no interface.

Where can I find silent install parameters? ›

When you install an MSI file, you can be assured that certain parameters will exist, such as the silent parameter /quiet or /qn. You can get a list of the supported parameters in PowerShell or CMD by typing msiexec.exe /?. This command will display the usage statement.

How do you do a silent install using CMD? ›

Running a silent installation using cmd
  1. @echo off.
  2. Setup. exe /quiet.
Mar 5, 2021

How do I run a .exe file silently? ›

To run silent installations:
  1. Open a command prompt.
  2. Navigate to the directory of the Smart View installer.
  3. Run the installation commands; for example: To install in the default directory, run: SmartView.exe /s. To install in another directory, run: SmartView.exe /s /v" INSTALLDIR=<target path>"

What is silent mode installation? ›

What Is Silent-Mode Installation? Silent-mode installation allows you to define an installation configuration only once and then use the configuration to duplicate the installation on many machines.

How do I force a program to install with CMD? ›

For Windows 10
  1. Right click on Windows Start , choose Command Prompt (Admin)
  2. In the command prompt, input. msiexec /i “path\setup.msi“
  3. Press Enter to start the install process.
May 25, 2020

How do I run an MSP file in silent mode? ›

msp. Open a command prompt and run the silent installer by specifying the /p parameter to the Msiexec command. To generate a log file, specify the /l option.

How do I install an MSI file in Powershell? ›

As an Administrator, start a Powershell command-line.
  1. Start the MSI installation using Powershell. ...
  2. Perform a silent MSI installation. ...
  3. Perform a passive installation of the MSI package. ...
  4. Perform the MSI installation and create a log file. ...
  5. Install the MSI package as a background job.
Feb 16, 2022

How do I run an executable file silently? ›

To run silent installations:
  1. Open a command prompt.
  2. Navigate to the directory of the Smart View installer.
  3. Run the installation commands; for example: To install in the default directory, run: SmartView.exe /s. To install in another directory, run: SmartView.exe /s /v" INSTALLDIR=<target path>"

Whats a silent install? ›

An installation program that displays no dialogs after starting. It is used when uniformity is mandatory, and options are not allowed such as changing the name of the destination folder.

What is unattended installation? ›

An unattended installation is the traditional method of deploying a Windows operating system. Unattended installations use an answer file named Unattend. xml, which contains user input to various GUI dialog boxes that appear during the installation process.

What is a clean installation? ›

A clean install refers to the installation of a software package where the previous version is completely deleted. The alternative to a clean install is an upgrade, where portions of the original software remain and are not removed.

Top Articles
Latest Posts
Article information

Author: Kerri Lueilwitz

Last Updated:

Views: 6687

Rating: 4.7 / 5 (47 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Kerri Lueilwitz

Birthday: 1992-10-31

Address: Suite 878 3699 Chantelle Roads, Colebury, NC 68599

Phone: +6111989609516

Job: Chief Farming Manager

Hobby: Mycology, Stone skipping, Dowsing, Whittling, Taxidermy, Sand art, Roller skating

Introduction: My name is Kerri Lueilwitz, I am a courageous, gentle, quaint, thankful, outstanding, brave, vast person who loves writing and wants to share my knowledge and understanding with you.