View forum topic
List of forum topicsSubject: 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.
January 16, 2025 Installer CreateInstall 8.11.1 was released.
June 19, 2024 Installer CreateInstall 8.11.0 was released. read more
November 13, 2022 Installer CreateInstall 8.10.1 was released.
May 21, 2022 Installer CreateInstall 8.10.0 was released.
September 25, 2021 Installer CreateInstall 8.9.0 was released.
July 15, 2021 Installer CreateInstall 8.8.1 was released.