Managing Packages
Packages in the following formats can be administered using Jamf Pro:
Note: There are special instructions for managing macOS Installers, and Adobe Updaters and Installers for CS3 or CS4. For more information, see Managing macOS Installers or Administering Adobe CS3 and CS4.
Before you can deploy a package, it must exist on the distribution point you plan to deploy it from and in Jamf Pro. There are three ways to achieve this:
-
Add the package to Jamf Admin—This method adds the package to the master distribution point and Jamf Pro. You can then add the package to other distribution points via replication.
-
Upload the package directly to Jamf Pro—This method is only available if your master distribution point is the cloud distribution point. It adds the package to the master distribution point and Jamf Pro. You can then add the package to other distribution points via replication.
-
Manually—This method is only available if your master distribution point is a file share distribution point. It involves manually copying the package to the distribution point and then entering information about the package in Jamf Pro.
Each of these methods also involves configuring settings for the package. When you configure settings for a package, you can do the following:
- Add the package to a category. (For more information, see Categories.)
- Choose a priority for deploying or uninstalling the package.
- Fill user templates with the contents of the home directory in the package’s Users folder.
- Fill existing user home directories with the contents of the home directory in the package’s Users folder.
- Allow the package to be uninstalled.
- Specify whether computers must be restarted after installing the package.
- Choose whether the package must be installed on the boot drive after imaging.
- Specify operating system and architecture type requirements for deploying the package.
- Only allow the package to be installed if it is available in Software Update.
You can also index packages. Indexing creates a log of all the files contained within a package. This allows you to uninstall the package and view the contents of the package from Jamf Pro. Packages can only be indexed using Jamf Admin.
In addition, you can validate packages using the checksum. (For more information, see Calculating a Checksum.)
When you add, edit, or delete a package in Jamf Admin, the changes are reflected in Jamf Pro and vice versa.
Requirements
To manage packages, you need a distribution point set up in Jamf Pro. (For more information, see About Distribution Points.)
Adding a Package to Jamf Admin
Adding a package to Jamf Admin automatically adds the package to the master distribution point and Jamf Pro.
-
Open Jamf Admin and authenticate to the Jamf Pro server.
-
Drag the package to the main repository in Jamf Admin.
The package is displayed in blue text in the Unknown category until you add it to a category.
-
Double-click the package in the main repository.
-
Click the General tab and configure basic settings for the package, including the display name and category.
-
Click the Options tab and configure additional settings for the package, including the priority, and operating system and architecture type requirements.
Note: Package Limitations options do not apply when installing a package during imaging.
-
Click OK.
Uploading a Package to Jamf Pro
If your master distribution point is the cloud distribution point, you can upload the package directly to Jamf Pro. This adds the package to the master distribution point and Jamf Pro.
-
Log in to Jamf Pro.
-
In the top-right corner of the page, click Settings .
-
Click Computer Management.
-
In the “Computer Management” section, click Packages .
-
Click New .
-
Use the General pane to configure basic settings for the package, including the display name and category.
Note: If you do not add the package to a category, Jamf Admin displays the package in blue text in the Unknown category.
-
Click Upload Package and upload the package.
-
Click the Options tab and configure additional settings for the package, including the priority.
-
(Optional) Click the Limitations tab and configure limitations for the package, including operating system and architecture type requirements.
-
Click Save.
Manually Adding a Package to a Distribution Point and Jamf Pro
If your master distribution point is a file share distribution point, you can manually copy a package to the distribution point and then enter information about the package in Jamf Pro.
-
Copy the package to the Packages folder at the root of the file share on the distribution point.
-
Log in to Jamf Pro.
-
In the top-right corner of the page, click Settings .
-
Click Computer Management.
-
In the “Computer Management” section, click Packages .
-
Click New .
-
Use the General pane to configure basic settings for the package, including the display name, category, and filename.
Note: If you do not add the package to a category, Jamf Admin displays the package in blue text in the Unknown category.
-
Click the Options tab and additional settings for the package, including the priority.
-
(Optional) Click the Limitations tab and configure limitations for the package, including operating system and architecture type requirements.
-
Click Save.
Editing or Deleting a Package Using Jamf Admin
-
Open Jamf Admin and authenticate to the Jamf Pro server.
-
In the main repository, select the package you want to edit or delete.
-
Do one of the following:
-
To edit the package, double-click it and make changes as needed. Click OK. Then click File > Save.
-
To delete the package, click Delete and then click Delete again to confirm.
The edit or delete action is applied immediately on the master distribution point. The action is applied to your other distribution points when replication occurs.
Indexing a Package
Indexing a package creates a log of all the files contained within the package. This allows you to uninstall the package and view the contents of the package from Jamf Pro.
Packages can be indexed using Jamf Admin only. The time it takes to index a package depends on the amount of data in the package.
-
Open Jamf Admin and authenticate to the Jamf Pro server.
-
In the main repository, select the package you want to index and click Index at the bottom of the pane.
-
If prompted, authenticate locally.
When the indexing process is complete, Jamf Admin defaults back to the main repository.
Viewing the Contents of an Indexed Package
-
Log in to Jamf Pro.
-
In the top-right corner of the page, click Settings .
-
Click Computer Management.
-
In the “Computer Management” section, click Packages .
-
Click the package you want to view the contents of.
-
Click Contents.
A table that contains the package contents is displayed.
Calculating a Checksum
The checksum is calculated when a package is uploaded to Jamf Pro. The checksum ensures authenticity when the package is downloaded.
The checksum can also be calculated manually using Jamf Admin:
-
Open Jamf Admin and authenticate to the Jamf Pro server.
-
In the main repository, select the package you want to calculate checksum for.
-
Control-click (or right-click) and select Calculate Selected Package Checksum(s).
Installing Packages
When you install a package, you can do the following:
-
Fill user templates.
-
Fill existing user home directories.
-
Add the package to Autorun data.
-
Specify a distribution point for computers to download the package from.
There are two ways to install a package on computers: using a policy or using Jamf Remote.
Note: You can also install packages during imaging. For more information, see Configurations.
Requirements
To install a package on computers, the package must exist on the distribution point you plan to deploy it from and in Jamf Pro. (For more information, see Managing Packages.)
Installing a Package Using a Policy
-
Log in to Jamf Pro.
-
Click Computers at the top of the page.
-
Click Policies.
-
Click New .
-
Use the General payload to configure basic settings for the policy, including the trigger and execution frequency.
For an overview of the settings in the General payload, see General Payload.
-
Select the Packages payload and click Configure.
-
Click Add for the package you want to install.
-
Choose "Install" from the Action pop-up menu.
-
Configure the settings for the package.
To add the package to each computer's Autorun data, select the Update Autorun data checkbox. For more information, see Autorun Imaging.
-
Specify a distribution point for computers to download the package from.
-
Use the Restart Options payload to configure settings for restarting computers.
For more information, see Restart Options Payload.
-
Click the Scope tab and configure the scope of the policy.
For more information, see Scope.
-
(Optional) Click the Self Service tab and make the policy available in Self Service.
For more information, see Making Items Available to Users in Jamf Self Service for macOS.
-
(Optional) Click the User Interaction tab and configure messaging and deferral options.
For more information, see User Interaction.
-
Click Save.
The policy runs on computers in the scope the next time they check in with Jamf Pro and meet the criteria in the General payload.
Installing a Package Using Jamf Remote
-
Open Jamf Remote and authenticate to the Jamf Pro server.
-
Click Site and choose a site.
This determines which items are available in Jamf Remote.
Note: This button is only displayed if you have a site configured in Jamf Pro and are logged in with a Jamf Pro user account that has full access or access to multiple sites.
-
In the list of computers, select the checkbox for each computer on which you want to install the package.
-
Click the Packages tab.
-
In the list of packages, select the checkbox for the package you want to install.
-
Choose "Install" from the Action pop-up menu.
-
Configure the settings for the package.
To add the package to each computer's Autorun data, select the Update Autorun data checkbox. For more information, see Autorun Imaging.
-
If you want to change the distribution point that computers download packages from, click Override Defaults and choose a distribution point.
-
Click the Restart tab and configure settings for restarting computers.
-
Do one of the following:
-
To immediately perform the tasks on the specified computers, click Go .
-
To schedule the tasks to take place at a specific day and time, click Schedule and choose a day and time. Then click Schedule again.
Uninstalling Packages
There are two ways to uninstall packages that were installed using Jamf Pro: using a policy or using Jamf Remote.
When you uninstall a package, you can remove the package from Autorun data.
Requirements
To uninstall a package from computers, you need:
-
The package indexed in Jamf Admin (For more information, see Managing Packages.)
-
The package configured so that it can be uninstalled (For more information, see Managing Packages.)
Note: If the package is an Adobe CS3/CS4 installation, it does not need to be indexed or configured so that it can be uninstalled.
Uninstalling a Package Using a Policy
-
Log in to Jamf Pro.
-
Click the Computers tab at the top of the page.
-
Click Policies.
-
Click New .
-
Use the General payload to configure basic settings for the policy, including the trigger and execution frequency.
For an overview of the settings in the General payload, see General Payload.
-
Select the Packages payload and click Configure.
-
Click Add for the package you want to uninstall.
-
Choose “Uninstall” from the Action pop-up menu.
-
Configure the settings for the package.
To remove the package from each computer's Autorun data, select the Update Autorun data checkbox. For more information on Autorun data and Autorun Imaging, see Autorun Imaging.
-
Use the Restart Options payload to configure settings for restarting computers.
For more information, see Restart Options Payload.
-
Click the Scope tab and configure the scope of the policy.
For more information, see Scope.
-
(Optional) Click the Self Service tab and make the policy available in Self Service.
For more information, see Making Items Available to Users in Jamf Self Service for macOS.
-
(Optional) Click the User Interaction tab and configure messaging and deferral options.
For more information, see User Interaction.
-
Click Save.
The policy runs on computers in the scope the next time they check in with Jamf Pro and meet the criteria in the General payload.
Uninstalling a Package Using Jamf Remote
-
Open Jamf Remote and authenticate to the Jamf Pro server.
-
Click Site and choose a site.
This determines which items are available in Jamf Remote.
Note: This button is only displayed if you have a site configured in Jamf Pro and are logged in with a Jamf Pro user account that has full access or access to multiple sites.
-
In the list of computers, select the checkbox for each computer from which you want to uninstall the package.
-
Click the Packages tab.
-
In the list of packages, select the checkbox for the package you want to uninstall.
-
Choose "Uninstall" from the Action pop-up menu.
-
Configure the settings for the package.
-
Click the Restart tab and configure settings for restarting computers.
-
Do one of the following:
-
To immediately perform the tasks on the specified computers, click Go.
-
To schedule the tasks to take place at a specific day and time, click Schedule and choose a day and time. Then click Scheduleagain.
Managing macOS Installers
Adding a macOS Installer to Jamf Admin is the first step to installing a clean copy of macOS on computers.
Requirements
To manage macOS Installers, you need a distribution point set up in Jamf Pro. (For more information, see About Distribution Points.)
To add a macOS Installer to Jamf Admin, the installer must be a .app file from the Mac App Store or a DMG.
Adding a .app File for macOS to Jamf Admin
Adding a .app file for macOS to Jamf Admin adds it to the master distribution point and Jamf Pro.
-
Open Jamf Admin and authenticate to the Jamf Pro server.
-
Drag the .app file to the main repository in Jamf Admin.
Jamf Admin extracts the InstallESD.dmg file from the .app file and then analyzes the contents of the InstallESD.dmg file.
The InstallESD.dmg file is displayed in blue text in the Unknown category until you add it to a category.
-
Double-click the package in the main repository.
-
Click the General tab and choose a category for the package.
-
Click OK.
Adding a DMG of a macOS Installer to Jamf Admin
Adding a DMG of a macOS Installer to Jamf Admin adds it to the master distribution point and Jamf Pro.
-
Open Jamf Admin and authenticate to the Jamf Pro server.
-
Drag the DMG to the main repository in Jamf Admin.
The DMG is displayed in blue text in the Unknown category until you add it to a category.
-
Double-click the DMG in the main repository.
-
Click the General tab and configure basic settings for the DMG, including the display name and category.
Be sure to select the Item is a DMG with an OS X Installer, or Adobe Updater/Installer for CS3 or CS4 checkbox.
-
When prompted, click OK to continue.
Jamf Admin analyzes the contents of the DMG.
-
When the Options pane appears, choose a default language for the installation from the Language pop-up menu.
-
Click OK.