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