If an NullSoft Install System installer is launched with the /S switch, how can I detect it from the script?
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.
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.
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.
IfSilent
or if you are using the logiclib:
${If} ${Silent} ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With