Example: Package files

When you deploy actions, the Tanium Server distributes packages that run commands on the target endpoints. Some package commands depend on files that are distributed with the package. Other commands depend on utilities and resources that were previously installed in known locations on the endpoints. The following figure shows an example of a command that invokes the Tanium Client uninstallation utility uninst.exe. The utility file resides in the top-level installation folder on Windows, such as C:\Program Files (x86)\Tanium\Tanium Client.

Figure 1. Package that invokes the uninstallation utility
Package that invokes the uninstallation utility
Important: The syntax that you enter in the Command field of the package configuration must include all the appropriate command-line switches to ensure silent execution. For example, you can enter setup.exe /S, msiexec.exe /i installme.msi /qn, installme.exe /S /D=DIR, or ipconfig /flushdns.

On macOS, the Tanium Client distribution does not include an uninstall utility. You can create a shell script to uninstall the Tanium Client and use a package to deploy it. For more information, see Uninstall using a script.

Figure 2. Package that distributes and runs an uninstall script
Package that distributes and runs an uninstall script
Note: In these example actions, the Tanium Client is uninstalled. If an action to uninstall the Tanium Client succeeds, the endpoint does not send a final success message for the action. Because the Tanium Client is removed, the endpoint has no way to communicate with the Tanium Server.