We are using the NSIS Bootstrapper and want to build it that you could start it
with clicking on it and there should be displayed the UI (Which we're trying to realize
through Chrome), but if started over command line it should be silent and take a config file
for the needed Values (like Database logins etc) so for example that we add the path to
the config file (NOT inside the MSI, should be next to the .exe) and it runs in silent mode.
how can we give the parameters from command line to the MSIs?
In normal bootstrapper there was MsiProperty but not in NSIS as far as we saw.
By default parameters passed through the command file to the exe file will be relayed to the MSI.
So for example the following call
MyProduct.exe /qn PARAM1=VALUE1 PARAM2=VALUE2
will be internally executed as:
msiexec.exe /I "primary.msi" /qn PARAM1=VALUE1 PARAM2=VALUE2
Thank you Tigran. I hoped you would step in :)