How do I know that the installer was launched with the /quiet command-line option?
Posted: Thu Aug 08, 2024 3:13 am
Hello,
We use the Windows Installer "/quiet" switch to install silently:
How would we know that it was run with "/quiet"?
I know, we can get and process variables in the code if we use CMDLINE, but I wouldn't want to pass another variable like that if the switch is present. As far as I understand, the predefined variable SILENT could be used if we run it like
and does not help in this case.
Thanks,
Kostya
We use the Windows Installer "/quiet" switch to install silently:
Code: Select all
msiexec /i installer.msi CMDLINE="SOMEVAR=TRUE" /quiet
How would we know that it was run with "/quiet"?
I know, we can get and process variables in the code if we use CMDLINE, but I wouldn't want to pass another variable like that if the switch is present. As far as I understand, the predefined variable SILENT could be used if we run it like
Code: Select all
installer.exe /s
Thanks,
Kostya