Technical Tip: Installing the Reveal Agent using the Windows CLI
| Description | This article describes how to install the Reveal Agent using the Windows CLI. |
| Scope | FortiDLP. |
| Solution | The Reveal Agent can be installed via msiexec using the /i flag with the corresponding MSI package. For example:
msiexec /i agent_x64_release_signed.msi
Silent installation:
msiexec /i agent_x64_release_signed.msi /qn
Add the /qn for silent execution. Note that this may cause a restart on install or upgrade if the /norestart flag is not supplied.
Further documentation can be found in the Microsoft Documentation
Silent install, no restart:
msiexec /i agent_x64_release_signed.msi /qn /norestart
Note: some tools such as SCCM/Configuration Manager will monitor for the return code and may still trigger a reboot even if the /norestart flag is supplied. Consult the deployment tool's documentation for further instructions.
Automatic Enrollment on install: It is possible to specify either an enrollment code or a path to an enrollment bundle file as part of the CLI installation process.
For example: msiexec /i agent_x64_release_signed.msi /qn /norestart ENROLL_CODE=v1.xxxxxx
Return codes & Logging: To log the output of the Windows installer, add the /L*v flag. For example:
msiexec /i agent_x64_release_signed.msi /qn /norestart /L*v agent-install.log
The usual successful return codes for the agent installation are:
|
