Hello Srujan,
One thing to be kept in mind when it comes to .EXE files is the fact that they have dual UI's, the bootstrapper (.EXE) UI and the UI of the .MSI file. Therefore, in order to fully launch a .EXE file silently, a command line sample is as follows:
In what regards the prerequisite, it is important to notice how their command line parameters work. For instance, if you go to
"Prerequisites" page -->
"Setup Files" tab -->
"Install Command Lines" section, you will notice the following:
- Full UI --> these command lines will be executed when the main package (that launches the prerequisite) is launched with full UI
- Basic UI --> these command lines will be executed when the main package (that launches the prerequisite) is launched with basic UI
- Silent --> these command lines will be executed when the main package (that launches the prerequisite) is launched silently
Basically, as you can see, the command lines that are executed is dictated by the UI level of the main package. For example, if you want to execute certain command lines when the main package is run silently, you should add the command lines to the
"Silent (no UI)" field.
Lastly, in what regards the parameters, they can be passed through the properties, as follows:
Code: Select all
setup.exe /exenoui /qn MY_PROPERTY="MyValue1" MY_PROPERTY_TWO="MyValue2"
Hope this helps.
Best regards,
Catalin