Deploying the Automox Agent in Bulk for macOS with Jamf Pro

This article describes how to deploy the Automox agent with Jamf Pro.

Install with Automox agent installation package and post-install script

Download the Automox agent installation package:

  1. From the Automox console, select the Devices tab.
  2. Click Add Devices.
  3. Copy the user key from the Add Devices dialog window.
  4. Choose OS X as the operating system. 
  5. Click Download Installer.

Download the Automox post-install script.

Update the post-install script: 

  • Add the access key you copied in the preceding operation to the accessKey variable in the script. This script is used in the following procedure:

Deploy with Jamf:

  1. Log in to your Jamf Pro server and go to Computers > Management Settings > Scripts.
  2. Click the + New button in the upper-right corner to create a new script.
  3. In the General tab, enter your script name and select a category. Include whatever information or notes necessary for your organization.
  4. In the Script tab, paste the contents of the post-install script that includes your user key.
  5. In the Options tab, set the priority to After.
  6. Click Save in the lower-right corner to save your script.
    To add the Automox agent installer package, continue with these steps:
  7. Navigate to Computers > Management Settings and click Packages.
  8. To add a new package, click + New in the upper-right corner.
  9. Enter a display name for the package and choose a category from the drop-down menu.
  10. Click Choose File and upload the Automox agent installer that you downloaded from the Automox console.
  11. Fill in any other field used by your organization and click Save.  
    After the package is uploaded and available, do the following:
  12. To add a new policy, go to Computer > Policies and click + New.
  13. Enter a name for the policy.
  14. Set the site, category, trigger, execution frequency, and other required fields. 
  15. Click Packages on the left and add the Automox agent installer package to the policy.
  16. Click Scripts on the left and add the post-install script.
  17. Set the priority of the script to After.
  18. If you’ve created Smart Groups or extension attributes to detect the installation of the agent, then adding the Update Inventory option from the Maintenance section might be helpful. Otherwise, add a Scope and any desired Self Service or User Interaction settings and save your policy.

The Automox agent will now start installing on your scoped Mac devices.

Repackage the installer for use with Jamf Pro or other MDMs

The Automox agent installer can be repackaged with a post-install script for use in Jamf Pro, Intune, other MDMs, or manually through a number of methods. The installer can be repackaged using Jamf Composer, Packages, or other similar tools. In this example we use WhiteBox packages.

Download and install packages from http://s.sudre.free.fr/Software/files/Packages.dmg

Download the Automox agent installation package:

  1. From the Automox console, select the Devices tab.
  2. Click Add Devices.
  3. Copy the user key from the Add Devices dialog window.
  4. Choose OS X as the operating system.
  5. Click Download Installer.

Download the Automox post-install script for packaging.

Update the post-install script:

  • Add the access key you copied in the preceding operation to the accessKey variable in the script. This script is used in the following procedure:

Repackage Automox installer using Packages:

  1. On your computer, launch Packages and choose Raw Package as the template.
  2. Click Next.
  3. Enter a name and directory for your project, then click Create.
  4. In the Settings tab, enter an identifier name and version for your installer package.
  5. Select "Require admin password for installation".
  6. In the Scripts tab, choose the updated post-install script under the Post-installation option.
  7. Under Additional Resources click the + button and add the Automox agent installer.
  8. Save the project.
  9. From the menu bar, click Build and from the drop-down menu click Build again.

After testing the repackaged installer, follow these steps:

  1. Log in to your Jamf Pro server and go to Computers > Management Settings > Packages.
  2. Click the + New button in the upper-right corner to add a new package.
  3. Enter a display name for the package and choose a category from the drop-down menu.
  4. Click Choose File and upload the repackaged Automox agent installer.
  5. Fill in any other field used by your organization and click Save.
    After the package is uploaded and available, do the following:
  6. To add a new policy, go to Computer > Policies and click + New.
  7. Enter a name for the policy.
  8. Set the site, category, trigger, execution frequency, and other required fields.
  9. Click Packages on the left and add the repackaged Automox agent installer package to the policy.
  10. If you’ve created Smart Groups or extension attributes to detect the installation of the agent, then adding the Update Inventory option from the Maintenance section might be helpful. Otherwise, add a Scope and any desired Self Service or User Interaction settings and save your policy..

The Automox agent will now start installing on your scoped Mac devices.

Related Topics: