Using MSI in Tanium Deploy to Make Package Deployment Easier

There is a lot of value to automating software distribution, especially for large organizations: when installing software on thousands or millions of systems, it has to be fast and easy to deploy. Tanium’s peering architecture not only enables fast and scalable deployments, but also has additional advantages in eliminating the need for distribution servers: cost reductions around server upkeep and licensing and eliminating risk of a single point of failure.

To make enterprise package deployments even easier, Tanium Deploy leverages a tried and true technology called MSI Inspection. MSI (aka Windows Installer) has provided a consistent experience for deploying software on computers since it came on the scene back in 1999. Many software distribution tools leverage its ease of use and installation capabilities.

This article shows how Tanium Deploy users can use MSI to simplify Windows deployments. The article uses Microsoft Remote Desktop Connection Manager as an example application to be deployed.

Populating Package Information with an MSI File

When creating a new package, if there is an MSI file either uploaded locally or from a remote source, MSI Inspection will pick this file up. If multiple MSI files are in a remote folder, a drop down will allow you the option of which MSI to pull product data from.

In this case, we’ll use Microsoft Remote Desktop Connection Manager, which is locally uploaded into a new package:


MSITanDepMakePa_1c14e4a9-8751-41be-b74b-e7784765c602.png

As in the image above, MSI is in the drop down and the Inspect button is ready. Clicking this populates several fields:

  • Product Vendor

  • Product Name

  • Product Version

  • OS Platform

  • The Install Command

  • The Update Command

  • The Remove Command

  • Install Verification

This information is all extracted directly from the Windows Installer database inside of the MSI file itself. One key thing to note for the sake of sanity: any product is only as good as the data it is fed. Be sure to verify that the data coming from the MSI file is accurate.

Do note that if there are already values in any of these fields, Tanium Deploy will not overwrite them. You will need to erase the field values for Deploy to populate this info from the MSI file.


MSITanDepMakePa_2540765c-285b-4b48-a987-f79ba1157b11.png

MSITanDepMakePa_cf347321-af5a-4dd2-a656-0d2579a53332.png

What can we do from here?

For basic deployments, nothing more needs to be done; you have the makings of a ready-to-deploy package. However, here are some suggestions to help with additional deployment requirements commonly seen among our customers:

  • Add system requirements: for example, operating systems that you want to deploy to.

  • Add exclusions, for example: Ensuring any systems running Windows Server Core are excluded, or making sure domain controllers are excluded (even better if it’s Server Core)

  • Add a Run command after install, with a custom script to configure the application. Example outcomes: configure the user experience or disable updates so you can control them better.

  • For an update, add some update detection logic (eg. Determining if an existing version of Chrome is less than the current upload version). Afterwards, don’t forget to go to Update and Copy Commands from Install, since a vast majority of installers both install and update the same (be sure to test this).

Don’t forget to check your work. If you added a custom script to make configuration changes, modify Install Verification to make sure your settings applied correctly.