--- title: "Capturing and installing the agent JAMF package" slug: "capturing-and-installing-the-agent-jamf-package" updated: 2026-09-08T19:06:27Z published: 2026-09-08T19:06:27Z canonical: "docs.trellix.com/capturing-and-installing-the-agent-jamf-package" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Capturing and installing the agent JAMF package You must create an agent package before you can deploy the macOS agent to your macOS endpoints using JAMF. This section describes how to capture, create, and install the macOS agent installation package using JAMF. ### Creating the source package JAMF Composer allows you to create software packages to meet your deployment requirements. This section describes how to create the source package for your Endpoint Security Agent (HX) software deployment using JAMF Composer. To create an agent package in JAMF: 1. Launch the **JAMF Composer** and click **New**. 2. Click **Normal Snapshot** to capture a snapshot of your system before and after the installation. Click **Next**. ![Casper-1-1method.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-4f18296f-f816-2c74-af86-fe85fa4f7494(1).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A58%3A23Z&se=2026-11-22T14%3A58%3A23Z&sr=c&sp=r&sig=dvN5Cnva1pd93%2FGklvYReWWrc0RwzruxvF%2FuHRk4CKk%3D) 3. Enter a name in the **Package Name** field for the agent package you are capturing. The example below shows `Agent-25.7.0` in the **Package Name** field. ![Casper-1-2pkgname.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-7d7e6f46-ec63-5c0d-abbc-f9f2d405f20b(1).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A58%3A23Z&se=2026-11-22T14%3A58%3A23Z&sr=c&sp=r&sig=dvN5Cnva1pd93%2FGklvYReWWrc0RwzruxvF%2FuHRk4CKk%3D) 4. Click Next. The system creates a snapshot of your system before any further processing occurs. When the snapshot is complete, the following screen appears: ![Casper-1-3perfinst.jpg](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-be6ca3cc-85e0-bdef-7fd8-2a859db7e78e(1).jpg?sv=2026-02-06&spr=https&st=2026-11-22T13%3A58%3A23Z&se=2026-11-22T14%3A58%3A23Z&sr=c&sp=r&sig=dvN5Cnva1pd93%2FGklvYReWWrc0RwzruxvF%2FuHRk4CKk%3D) 5. Open the agent installation file by double-clicking the `.dmg` file you downloaded. 6. Create a temporary folder and copy the contents of the `.dmg` file in to the folder. In the example below, the `.dmg` file contents were copied to a `FireEye` folder that resides in the `Downloads` directory. ![Casper-1-4Downloads.jpg](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-5d48ec82-2539-2ab4-e7f7-57ba1f2ac30c(1).jpg?sv=2026-02-06&spr=https&st=2026-11-22T13%3A58%3A23Z&se=2026-11-22T14%3A58%3A23Z&sr=c&sp=r&sig=dvN5Cnva1pd93%2FGklvYReWWrc0RwzruxvF%2FuHRk4CKk%3D) 7. Click the **Create Package Source** button in Composer and select the **xAgent package source name** in the left pane. ### Creating new directories for file copying You need to create new directories and copy the xAgent source package in to your new directory. To create the source directories and copy the source package: 1. In the right pane, delete any directories or files. 2. Create a new directory called` Library` and create a new directory under `Library` called `Application Support`. ![Casper_1-6pkgsource2.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-14be4b5c-bf0b-848c-9415-759af8eb8023(1).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A58%3A23Z&se=2026-11-22T14%3A58%3A23Z&sr=c&sp=r&sig=dvN5Cnva1pd93%2FGklvYReWWrc0RwzruxvF%2FuHRk4CKk%3D) 3. Right-click in the right pane and select **Create new directories** from the drop-down menu. 4. In the Finder, copy the entire folder that you created in [Creating the source package](/docs/capturing-and-installing-the-agent-jamf-package#UUID-6c47cfea-fae5-7490-17bb-f27eb8265201_id_creatingthesourcepackage) to the `Application Support` directory in Composer. The screen will look similar to this: ![Casper-1-7finder.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-2add7d9a-577f-850e-0af6-695fae810c38(1).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A58%3A23Z&se=2026-11-22T14%3A58%3A23Z&sr=c&sp=r&sig=dvN5Cnva1pd93%2FGklvYReWWrc0RwzruxvF%2FuHRk4CKk%3D) ### Building the package for deployment The .pkg file you create in this section will be used to deploy the Endpoint Security Agent (HX) software to all of your macOS endpoints enrolled in JAMF. To create the build package: 1. Click the **Build as PKG** button at the top of the Composer screen. 2. Save the .pkg file to a location on your Endpoint Security (HX) server system. :