Installing FortiClient using the CLI
You can install FortiClient using the CLI. The following table summarizes the installation options available when using the CLI:
Option |
Description |
---|---|
/quiet |
Installation is in quiet mode and requires no user interaction. |
/passive |
Installation is in unattended mode, showing only the progress bar. |
/norestart |
Does not restart the machine after installation is complete. |
/promptrestart |
Prompts you to restart the machine if necessary. |
/forcerestart |
Always restarts the machine after installation. |
/uninstallfamily |
Uninstalls FortiClient. With this option, the FortiClient installer detects whatever version of FortiClient is installed and uninstalls it. For example, a FortiClient 6.4.7 installer can detect and uninstall an installed copy of FortiClient 7.0.0. |
/log <path to log file> |
Creates a log file in the specified directory with the specified name. |
The following example installs FortiClient build 1131 in quiet mode, does not restart the machine after installation, and creates a log file with the name "example" in the c:\temp directory:
FortiClientSetup_6.4.7.1131_x64.exe /quiet /norestart /log c:\temp\example.log