File Protection Desktop or Server can be silently installed on a machine via an Endpoint Management tool such as Datto RMM, Active Directory Group Policy Software Installations (AD GPO), Microsoft Intune, Microsoft System Center, or a similar tool.
NOTE File Protection Server for Mac does not support silent installation, but File Protection Server for Windows does.
Various installer commands can be used. You can even include a team key to make the installation entirely transparent to the end user - they’ll simply see the icon appear in their taskbar/menu bar.
NOTE If you install remotely with a team key, you must log out of the user profile and log back in or restart the machine. If you do not, the user will be prompted for a team key when they launch the application.
If File Protection Desktop/Server is remotely installed without entering a team key, the user will simply launch the application and enter a valid team key.
The Datto File Protection Integration with Datto RMM allows you to silently deploy or remove the application, and to monitor the endpoints’ backup status with the help of two components downloaded from the Datto RMM ComStore. The integration keeps you informed on all events, and the information can be used in reports or filters. You can also create alert tickets in Autotask PSA and sync the status information to your Autotask PSA configuration items.
For more information, refer to this topic in the Datto RMM Help: Autotask Integration.
VIDEO Click here to watch a video about how to use Datto RMM to deploy the File Protection agent.
When deploying via the Datto RMM component, you can specify the team key and can select between installing (uninstall = false) and uninstalling (uninstall = true). If you are installing and you enter a team key, the deployment will automatically proceed to the approval process. If the Team Key field is left blank, the user will be prompted to enter a team key when they launch the application.
Team keys have no impact when you uninstall the application.
NOTE A team key is not used when upgrading, but you would also select the Install option in that case.
The following commands are supported by the application EXE installation package. The commands must be preceded by the application installer name, for instance “DattoFileProtectionSetup_v8.0.exe”.
|/?||Displays a list of all possible commands.|
|/install||Checks system prerequisites, installs required components (for instance, .NET Framework and Visual C++ Runtime library), and the Desktop or Server application.|
|TeamKey (parameter of the install command)||
Enters the team key (you will generate a team key for each team on the Deployment Configuration page) automatically during silent installation. It is written "TeamKey=XXXXXXXXXX", where XXetc. is the actual team key. The complete install command with the team key parameter might be:
EXAMPLE fileprotectiondesktop8,3.exe /install /quiet TeamKey=a12b3456-6789-1cd2-3
|/uninstall||Removes the Desktop Agent, its binaries, and unregisters Windows components (shell extensions, Microsoft Office Add-in and others). It will not uninstall prerequisite components which include .NET Framework, Visual C++ Runtime or other similar components.
When used in combination with /quiet or /passive, the configuration and data are retained.
|/quiet||Nothing is displayed to the user.|
|/passive||Shows minimal UI with no ability to interact, but progress is displayed.|
|/norestart||Suppresses any attempt to restart the computer.|
|/log <PATH><FILENAME>.txt||Allows you to specify the path and filename to which installation logs are saved. By default, the path is %TEMP% and the filename is “DattoFileProtectionSetup_<datetime>.log"|
|/repair||Repairs the application and prerequisite components.|
Errors are reported by means of an exit code and detailed information can be found in the log file. Successful installation returns exit code 0.
File Protection Server for Mac does not support silent installation.
The Datto File Protection agent can be silently installed on a user’s machine via an Endpoint Management tool such as Datto RMM.
NOTE The installer can be downloaded from within File Protection Manager. Refer to the Copy the agent download link section in the Deployments topic.
The command syntax for installing the Mac Agent remotely is:
/silent_install.sh “<DMG_NAME>” “APPLICATION_NAME (as created in application folder)>” <application_identifier> TEAM_KEY
So, for example:
./silent_install.sh "Datto File Protection.dmg" "Datto File Protection" com.datto.dfp 123abc456
IMPORTANT The script must be run under root!
The agent can be upgraded by using the same “silent_install.sh” shell script. In this scenario, the team key is optional. Download the install script.
To uninstall using a shell script, the command should be used as follows (assuming the default application name hasn’t been changed):
./silent_uninstall.sh com.datto.dfp "Datto File Protection” dfpPreferencePane 1
NOTE If is uninstalled via menu bar > > Preferences... > Uninstall, the application will be uninstalled for all users but their setting will remain. If you use the “silent_uninstall.sh” shell script, the application and all user settings will be removed.