How to Find Silent Switches for EXE [Switch Finder]

XINSTALL BY CLICKING THE DOWNLOAD FILE
To fix various PC problems, we recommend Restoro PC Repair Tool: This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:
  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

If you want to Install a piece of software, it’s obviously very easy to do generally speaking. Just run the setup file, agree to the license agreement, select destination location to install, confirm the program’s shortcut location, create desktop and tray icon, and finally install. It looks like many steps are involved but we usually just ignore all those and continue clicking Next until the setup completes. Obviously, these days you have to be a bit more careful because of all the extra options during installation such as installing toolbars etc, but it’s still pretty fast and easy with common sense applied.

Installing an application one time on your computer is not a problem but what if you have just installed Windows and have loads to install? Or worse still, what if you need to install applications on several computers? Sitting there and installing each program manually can be frustrating and a huge waste of time and something you’re not going to enjoy doing. Do we all want an easier solution? Of course we do!

The useful things is, there are hidden command line switches in most installer packages or setup files which be can used to bypass all those confirmation message boxes. With these commands you can install just about anything automatically, if you know the commands to use. Some software developers will include the command line switches in their documentation but many do not and you have to search the internet to find what they are.

Thankfully, there are a couple of easier ways to find the unattended install switches and install software silently.

Find Silent Switches using a Program

There is a way that you can sniff out and find the silent switch for a number of setup files. Universal Silent Switch Finder (USSF) has been around for many years and was used by XP custom install programs such as the Windows Post Install Wizard (WPI) among many others to determine the silent switches for unattended installs. The program itself is very simple to operate and is also portable so no need for installation. All you need to do is just run USSF and load the setup file.

universal silent switch finder

USSF will then automatically analyze the file and tell you what type of installer package is being used to pack the files and also the command line switches the installer uses. You can then use those switches in other programs, batch files, scripts or from the command line.

To show how the program works, we’ll do a simple test. Let’s say you want to find the silent switches in the setup file of the excellent Malwarebytes AntiMalware (mbam-setup-1.75.0.1300.exe) because you always install it on your own, or your friend’s computers. Run Universal Silent Switch Finder and click the > button on the File line and load the mbam-setup-1.75.0.1300.exe file. Once loaded, it’ll take a few seconds to analyze the setup file and then show the available silent command line switches.

finding silent switches with ussf

As you can see from the image above, USSF is able to tell that mbam-setup-1.75.0.1300.exe is packed using Inno Setup package and we can use the commands in yellow when running the executable:

“mbam-setup-1.75.0.1300.exe” /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-

If we test this from the Command Prompt, Malwarebytes will install to the default location without popping up any dialog window, and also create a desktop icon and start menu entry. Basically, USSF uses PEiD to identify the installer type and reports available switches accordingly. Mileage will vary from file to file, some will work and some may not completely install silently or not be recognised at all. This program though, is the easiest way to find the switches for setup installers.

Download Universal Silent Switch Finder

Finding Silent Switches on the Internet

Although USSF is a very useful tool, it does have a drawback which is the program has not been updated for several years. This means that as new switches have been added to setup packages, USSF is not able to pick them up. It also won’t find switches from custom installers or those to avoid extras like toolbars etc. There is however, a website resource which is dedicated to gathering the information required to deploy setup installers in an IT environment. Of course, anyone is welcome to take advantage of the switches found on the website.

Previously called AppDeploy, ITNinja has a massive database of over 350,000 software titles where you can browse and find the information you need. Simply type in the name of the software into the box and search for it or browse through the database manually by software title or company title. Then you can browse through the tips left for installing different file versions as well as FAQ’s and various other snippets of information.

silent switches for adobe reader from itninja

Taking Adobe Reader as an example, Universal Silent Switch Finder cannot identify the Adobe Reader installer and just shows “Undetected PE file”, but looking on ITNinja, we can see 22 tips have been posted for version 11 alone which we can browse through and test. The following switches have been posted which work from the Command Prompt and can install Adobe Reader silently:

“Adberdr11000_en_US.exe” /msi EULA_ACCEPT=YES REMOVE_PREVIOUS=YES /qn

As the database is filled with so much information for multiple versions of software, it may take a few attempts and a bit of time to find the right combination of switches for your purpose. But as an all-in-one resource for finding setup installer silent switches, ITNinja is hard to beat and a great way to get the commands you need if USSF fails.

16 Comments - Write a Comment

  1. uday 4 years ago
  2. halla 5 years ago
  3. andy 7 years ago
  4. GHULAM NABI 8 years ago
  5. Mike 10 years ago
  6. Yes Man 11 years ago
  7. BASSIX 16 years ago
  8. Marko 16 years ago
  9. Billy 17 years ago
  10. Tejas 17 years ago
  11. bob 17 years ago
  12. Syahid A. 17 years ago
  13. Nesto® 17 years ago
  14. KallAngo® 17 years ago
  15. k9 17 years ago
  16. Champz 17 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *

Note: Your comment is subject to approval. Read our Terms of Use. If you are seeking additional information on this article, please contact us directly.