Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I detect silent install?

If an NullSoft Install System installer is launched with the /S switch, how can I detect it from the script?

like image 797
joelsand Avatar asked Jan 13 '10 19:01

joelsand


People also ask

How do I know if silent is installed?

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 can I tell if an exe has a silent switch?

Open the program and browse for your setup.exe. This will display various information on the setup exe, such as what tools have been used to package the installer, what parameters are supported, etc. However, as mentioned previously in this article, not all the programs support the silent switch.

What is a silent install of software?

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.


1 Answers

IfSilent

or if you are using the logiclib:

${If} ${Silent} ...
like image 119
Anders Avatar answered Sep 19 '22 00:09

Anders