Example: Package files

Some package commands depend on utilities and resources that were previously installed in known locations, while other commands depend on files distributed with the package. For example, the Tanium Client uninstall utility resides in the top-level installation folder on Windows (such as C:\Program Files (x86)\Tanium\Tanium Client).

You can easily develop a package that invokes the uninstall utility.

Figure  1:  Package that invokes the uninstall application
The command syntax you specify in the Command box must include all appropriate command line switches to ensure the task is executed silently. For example, setup.exe /S, msiexec.exe /i installme.msi /qn, installme.exe /S /D=DIR, and 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.

Figure  2:  Package that distributes and runs an uninstall script

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. The Tanium Client has been removed, so the endpoint has no means to communicate with the Tanium Server.

Last updated: 6/4/2019 4:33 PM | Feedback