> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xdr-agent/7.9-ce/cortex-xdr-agent-7.9-for-windows/install-the-cortex-xdr-agent-with-installer-and-content-update-package.md).

# Install the Cortex XDR Agent with Installer and Content Update Package

To reduce the network load and time typically required for the initial roll-out or major upgrades of the Cortex XDR agent, Cortex XDR offers an agent installation and content update distribution package. The distribution package includes the agent installer and the latest supported content available in Cortex XDR, eliminating the content update download phase which is typically required after agent installation. You can deploy the distribution package using a third party tool such as an SCCM, or manually on the endpoint.

To deploy or upgrade agents using the distribution package, you first need to create an agent installation package in Cortex XDR. Then, you can choose to download the distribution package zip along with the latest content zip. The content version included in the package is the latest content available in Cortex XDR at the time of package download. If between the time you created a package and the time you downloaded it a new content version has become available, Cortex XDR will automatically update the content version within the distribution packages available in your tenant. After you download the package, the content version within that zip archive is static and cannot be updated. It is therefore advised to always download a pre-created distribution package only at the time you intend to start the deployment.

The following are prerequisites to use this deployment method:

| Requirement | Description                                                                                                      |
| ----------- | ---------------------------------------------------------------------------------------------------------------- |
| General     | <ul><li>When you deploy using the SCCM system, you must have network credentials in your organization.</li></ul> |

#### Install or Update Agents Using Installer and Content Package Manually

To deploy the Cortex XDR agent and content manually on the endpoint, first create an agent installation package with the latest content, download and extract it, and then proceed to Install the Cortex XDR Agent for Windows using the CONTENT runtime argument:

1. Create an agent installation package.

   In Cortex XDR, go to Endpoints → Endpoint Management → **Agent Installations** page, and Create an agent Installation Package.
2. Download the installation and content distribution package locally.

   In **Agent Installations**, right-click the distribution package you created and according to the endpoint architecture, select 64/32 bit installer → **Download 64/32 bit installer + latest content update (zip)**.

   The extracted downloaded distribution package zip includes two files: the msi installer and the content zip.

   ![installer-and-content-package-download-zip.png](/files/AiJpuWX1Z8BXOO3Nrfl7)
3. Install the agent on the endpoint.

   Proceed to [Install the Cortex XDR Agent for Windows](/cortex-xdr-agent/7.9-ce/cortex-xdr-agent-7.9-for-windows/install-the-cortex-xdr-agent-for-windows.md) and add the **`CONTENT`** runtime argument as explained.

#### Install or Update Agents Using Installer and Content Package Using SCCM

To deploy the Cortex XDR agent and content on the endpoint using an SCCM, follow these guidelines and fill-in the values as specified.

{% hint style="info" %}

### Note

This high-level workflow refers only to the specific SCCM configurations that you must set for this type of deployment. For the other optional settings that are not included in this workflow, follow the Microsoft official guidelines and your organization needs.
{% endhint %}

1. Upload the files to your SCCM network Share folder.

   Unpack the Cortex XDR agent installation.zip file, and copy both the installation msi and content-XXX-XXXXX.zip files to the Share folder on your SCCM server under a directory of your choice. For example, `\\SCCM\Share\MyCortexXDRAgentDeploymentFolder\`. To copy files to the Share folder, you must have network credentials in your organization.
2. Create the SCCM application package.
   1. In SCCM Applications, **Create Application** to launch the **Create Application Wizard** and specify the following settings for this application:

      * Ensure the **Automatically detect information about this application from installation files** option is selected to enable SCCM to pull both msi and content-XXX-XXXXX.zip files from the Share folder on the SCCM server.
      * **Type**—**Windows installer (\*.msi file)**
      * **Location**—Browse to your Share folder and select the installation file.
      * Click **Next** to continue.

      ![sccm-create-package.png](/files/ajuzjV0jYU0eTd1aTA97)
   2. In **View imported information**, verify that SCCM detected both files in the Share folder, the msi and the content zip files (Number of files:2). Click **Next** to continue.

      ![sccm-create-package-2.png](/files/rPxI6QMHIpymm6wejrjL)
   3. In **Specify info about this application**, fill-in the following information:

      * **Name**—Displays the name of your deployment application.
      * **Installation program**—Enter the Cortex XDR agent installation command line to include the msi and content zip files. For example:

        ```programlisting
        msiexec /i “installer_x64.msi”  CONTENT=\\SCCM\Share\MyCortexXDRAgentDeploymentFolder\content-XXX-XXXXX.zip /qn
        ```

        It is highly recommended to add the `/qn` installation flag for a quiet installation. Other installation flags such as creating a log file are optional and can be added as described in [Install the Cortex XDR Agent Using Msiexec](/cortex-xdr-agent/7.9-ce/cortex-xdr-agent-7.9-for-windows/install-the-cortex-xdr-agent-for-windows.md#install-the-cortex-xdr-agent-using-msiexec).
      * **Install behavior**—**Install for system**.
      * Proceed to fill-in other fields as required, and click **Next** to continue.

      ![sccm-general-info.png](/files/N0Dq4ZeBz8a38kcCGevu)
   4. Review the **Summary**. To confirm the settings for this application, click **Next**. Wait for the application package to generate and **Close** to exit the wizard.

      ![sccm-application-complete.png](/files/7cvaPrJRIw0xWiRGMM2v)
3. Set the Working Directory.

   To ensure that SCCM deploys the Cortex XDR agent installation and content files in the correct folders on the endpoint, you must set the application package working directory.

   1. From the SCCM applications list, right-click your application package and select **Properties**.

      ![properties.png](/files/J3incleR2X7gbyonAFG3)
   2. Go to the **Deployment Types** tab, select the msi file, and **Edit**.

      ![sccm-working-dir.png](/files/Kg1yP54dNEgheSis54ol)
   3. Go to the **Programs** tab.

      In the **Installation starts in** field, carefully enter the full path to the Share folder on the SCCM server where the msi and content zip files are and **Apply**. For example, `\\SCCM\Share\MyCortexXDRAgentDeploymentFolder\`

      ![sccm-start-path-highlighted.png](/files/ixfzMoHQ2TZnKtC9D6Zl)
4. Distribute the application package content.
   1. To launch the **Distribute Content Wizard** from the SCCM applications list, right-click your application and select **Distribute Content**.

      ![sccm-distribute-content.png](/files/tFnMRGMNIsKr1y2kAPfg)
   2. When you **Review selected content**, ensure that the **Detect associated content dependencies and add them to this distribution** option is selected. This ensures that SCCM pulls both the msi and content zip files from the Share folder.

      ![sccm-distribute-content-2.png](/files/iJYArDnlyLPXM85xIbnx)
   3. Continue to configure the other settings in this wizard, and when you are done, **Close** the wizard to exit.

      ![sccm-distribute-content-complete.png](/files/CZIOCRBLadyk7Kqtb7PS)
5. Proceed to deploy the application package on your endpoints.
   1. To launch the **Deploy Software Wizard** from the SCCM applications list, right-click your application and select **Deploy**.

      ![sccm-deploy.png](/files/bs9lWeY6hQV3qPPSwQqa)
   2. When you **Specify general information for this deployment**, ensure that the **Automatic distribute content for dependencies** option is selected. This ensures that SCCM pulls both the msi and content zip files from the Share folder.

      ![sccm-deploy-device-collection.png](/files/RNGtu7TdcCpJ8GOfchWh)
   3. In **Deployment Settings**, ensure that:

      * **Action** is set to **Install**.
      * **Purpose** is set to **Required**. Otherwise, if set to **Available**, SCCM will only advertise the new Cortex XDR agent application but will not install it on the endpoint.

      ![sccm-deploy-settings.png](/files/1SQRMtUg7s3f9161S3kW)
6. Continue to configure the other settings in this wizard, and when you are done, **Close** the wizard to exit.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xdr-agent/7.9-ce/cortex-xdr-agent-7.9-for-windows/install-the-cortex-xdr-agent-with-installer-and-content-update-package.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
