View forum topicList of forum topics
Subject: Run installer from command line with no prompts?
Is there a way to run an installer from the command line without prompting the user? This could be done with a response file of some sort or even command-line options to set values needed by the installer (install path, option settings, etc.) This would be useful when installing on a headless system or when repeating an installation as part of an update process.
By default, there is the '-silent' command-line parameter for silent mode. You can redefine it on Project tab - Settings.
Of course, you can use any other parameters but, in this case, you have to detect them yourself.
For example, we have added the 'Command-Line Parameter' comparison type in the 'If Statement' command in the last version. It allows to check if the specified parameter is present. Also, there are predefined variables: parcount, par1,par2,par3 etc.
This will do what I want. I should note for others who come across this topic that the contents of par1 is the "-silent" flag itself, while parameters that follow are found in par2, par3, etc.
Between this capability and the Replace within files function, I believe I'll be able to capture the settings chosen by the user when they first installed my application, and use them to repeat the installation silently using the same settings when an update is available.
February 05, 2021 Installer CreateInstall 8.8.0 was released. read more
April 11, 2020 Installer CreateInstall 8.7.0 was released.
March 07, 2020 Installer CreateInstall 8.6.2 was released.
November 09, 2019 Installer CreateInstall 8.5.5 was released.
August 08, 2019 Installer CreateInstall 8.5.1 was released.
June 19, 2019 Installer CreateInstall 8.4.11 was released.