Root > Quick start tutorials > Installation > Installer command line arguments

Installer command line arguments

Previous pageReturn to chapter overviewNext page   

The EurekaLog installer accepts optional command line parameters. These can be useful to system administrators, and to other programs calling the installer program.

 

Note: EurekaLog installer is compiled by Inno Setup by Jordan Russell.

 

1. /HELP, /?

Shows a summary of this information.

 

2. /SKIPDOWNLOAD

Instructs installer to skip downloading of Microsoft Debug Information.

 

3. /LICENSE=license key or file name

Specifies the license to use. You can either specify a file name (.ellicense file) or supply text of the license key directly. See for more information.

 

4. /SILENT, /VERYSILENT

Instructs installer to be silent or very silent. When installer is silent the wizard and the background window are not displayed but the installation progress window is. When a setup is very silent this installation progress window is not displayed. Everything else is normal so for example error messages during installation are displayed and the startup prompt is (if you haven't disabled it with the '/SP-' command line option explained below).

 

If a restart is necessary and the '/NORESTART' command isn't used (see below) and installer is silent, it will display a Reboot now? message box. If it's very silent it will reboot without asking.

 

5. /SP-

Disables the This will install... Do you wish to continue? prompt at the beginning of installer.

 

6. /SUPPRESSMSGBOXES

Instructs installer to suppress message boxes. Only has an effect when combined with '/SILENT' or '/VERYSILENT'. This is only applicable to message boxes which define a default answer.

 

7. /LOG, /LOG="filename"

Causes installer to create a log file in the user's TEMP directory detailing file installation and actions taken during the installation process. Second form allows you to specify a fixed path/filename to use for the log file. If a file with the specified name already exists it will be overwritten. If the file cannot be created, installer will abort with an error message.

 

This can be a helpful debugging aid. For example, if you suspect a file isn't being replaced when you believe it should be (or vice versa), the log file will tell you if the file was really skipped, and why.

 

The log file is created with a unique name based on the current date. (It will not overwrite or append to existing files.)

 

The information contained in the log file is technical in nature and therefore not intended to be understandable by end users. Nor is it designed to be machine-parsable; the format of the file is subject to change without notice.

 

8. /NOCANCEL

Prevents the user from cancelling during the installation process, by disabling the Cancel button and ignoring clicks on the close button. Useful along with '/SILENT' or '/VERYSILENT'.

 

9. /NORESTART

Prevents installer from restarting the system following a successful installation, or after a Preparing to Install failure that requests a restart. Typically used along with '/SILENT' or '/VERYSILENT'.

 

10. /RESTARTEXITCODE=exit code

Specifies a custom exit code that installer is to return when the system needs to be restarted following a successful installation. (By default, 0 is returned in this case.) Typically used along with '/NORESTART'.

 

11. /CLOSEAPPLICATIONS

Instructs installers to close applications using files that need to be updated by installer if possible.

 

12. /NOCLOSEAPPLICATIONS

Prevents installer from closing applications using files that need to be updated by Setup. If '/CLOSEAPPLICATIONS' was also used, this command line parameter is ignored.

 

13. /FORCECLOSEAPPLICATIONS

Instructs installer to force close when closing applications.

 

14. /NOFORCECLOSEAPPLICATIONS

Prevents installer from force closing when closing applications. If '/FORCECLOSEAPPLICATIONS' was also used, this command line parameter is ignored.

 

15. /RESTARTAPPLICATIONS

Instructs installer to restart applications if possible. Only has an effect when combined with '/CLOSEAPPLICATIONS'.

 

16. /NORESTARTAPPLICATIONS

Prevents installer from restarting applications. If '/RESTARTAPPLICATIONS' was also used, this command line parameter is ignored.

 

17. /LOADINF="filename"

Instructs installer to load the settings from the specified file after having checked the command line. This file can be prepared using the '/SAVEINF=' command as explained below.

 

Don't forget to use quotes if the filename contains spaces.

 

18. /SAVEINF="filename"

Instructs installer to save installation settings to the specified file.

 

Don't forget to use quotes if the filename contains spaces.

 

20. /DIR="x:\dirname"

Overrides the default directory name displayed on the Select Destination Location wizard page. A fully qualified pathname must be specified. May include an "expand:" prefix which instructs Setup to expand any constants in the name. For example: '/DIR=expand:{pf}\My Program'.




Send feedback... Build date: 2018-11-26
Last edited: 2018-06-14
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/installer_command_line.php