Skip to content

Silent Installations

Contents

Overview

A silent install is the installation of a software program that requires no user interaction. It is a convenient way to streamline the installation process of a desktop application. Silent installs are performed by many legitimate software programs, but they are also used by malware and PUPs to hide the installation process from the user.

A typical installer has several parameters that instruct the installer how to run. Examples include where the program should be installed, if a shortcut should be placed on desktop, and if additional components should be installed. In a non-silent or “attended installation,” the user is prompted to select or confirm these options during the installation process. In a silent install, these items are selected automatically and the installer runs from start to finish without requiring any user input.

Silent installs are useful for simple programs that have limited installation options. They are also helpful for installing software on several machines at once. For example, a network administrator may prefer to distribute a software program via a silent installer to ensure all users within the network have the same installation settings. Even though silent installers run without any user interaction, legitimate programs typically require you to manually initiate the installation process.

While silent installations are used for many good reasons, some programs, such as spyware and adware use silent installers to run without your knowledge. These types of programs may even run without you initiating the installation process. They may be tacked on to another installer or executed by a malicious file, such as virus.

Resources

The best resource to find relevant silent installation commands and parameters is silent-install.net:

Finding Install Parameters

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.

setup.exe /?

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. Today, it informed me how many licks it takes to get to the center of a Tootsie Pop. If you were wondering, it takes 364 licks. It can also be a good 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:

Universal Silent Switch Finder (ussf)

See Also: Universal Silent Switch Finder

Universal Silent Switch Finder (USSF) is about as accurate a program name as I’ve ever seen.   If you haven’t guessed  already, 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.

Full 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.

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.

Last but not Least

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.

Backlinks:

list from [[Silent Installations]] AND -"Changelog"