Document
Installing FortiClient using the CLI

Installing FortiClient using the CLI

Installing FortiClient CLI You can install FortiClient CLI. When an EMS administrator creates a FortiClient installer as Adding a FortiClient deplo

Related articles

Diagrams The Best Chrome Extensions for Changing Your IP Address 6 Лучших бесплатных VPN для ПК Speech to Text Transcription with the Cloud Speech API Proton VPN now offers the most advanced free Linux VPN app

Installing FortiClient CLI

You can install FortiClient CLI. When an EMS administrator creates a FortiClient installer as Adding a FortiClient deployment package describes, EMS creates .exe and .msi installers. You can use either to install FortiClient:

.exe

Includes custom modifications as configured when creating the deployment package. You can double-click the file to run the installer, or install FortiClient in the CLI.

.msi

You must use the .msi installer in combination with the .mst file., as the .msi file does not include any custom modifications configured when creating the deployment package. If using the .msi file, you must install FortiClient CLI so that you can provide the accompanying .mst file. Otherwise, the custom modifications are unavailable to FortiClient after installation.

The following table summarizes the installation options available when CLI. All of the following options are available if you use the .exe file. If you use the .msi file with the .mst file, not all of the following options are available, as you are constrained by the CLI options that Windows Installer permits. See Command-Line Options.

/quiet

Installation is in quiet mode and requires no user interaction.

/passive

Installation is is unattended mode , showing 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. option , FortiClient installer is detects detects version FortiClient installed uninstalls . example , FortiClient7.2.4 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, using the .exe file:

FortiClientSetup_7.2.4.1131_x64.exe /quiet /norestart /log c:\temp\example.log

The following example installs FortiClient using the .msi and .mst files, and creates a log file with the name “output”:

msiexec.exe /i “FortiClient.msi” TRANSFORMS=”FortiClient.mst” /log output.log