Silent installation
SECURITY Administrators
File Protection Desktop or Server has the ability to silently install the Workplace app on a user’s machine via endpoint management tools such as Datto RMM, Kaseya VSA, Active Directory Group Policy Software Installations (AD GPSI), Microsoft Intune, Microsoft System Center, or similar.
For information about installing silently via Datto RMM, please refer to Integrate with Datto RMM.
You'll find File Protection in the Kaseya VSA catalog for remote deployment, but the team key will have to be entered manually by the user. For more information on how to generate team keys, please refer to Deployment Configuration.
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 device 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.
For more information about the benefits of this integration, please refer to this topic in the RMM Online Help.
The integration workflow video below demonstrates how to remotely deploy, manage, and update File Protection with Datto RMM.
You can also create alert tickets in Autotask and sync the status information to your Autotask configuration items. For more information about the Datto RMM/Autotask integration, refer to this topic in the Datto RMM Help.
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”.
Command | Result |
---|---|
/? | 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)>” com.datto.dfp TEAM_KEY
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.