--- title: "Upgrading older xAgent s with customized installation locations" slug: "upgrading-older-xagent-s-with-customized-installation-locations-1" updated: 2026-09-08T19:20:20Z published: 2026-09-08T19:20:20Z canonical: "docs.trellix.com/upgrading-older-xagent-s-with-customized-installation-locations-1" --- > ## 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. # Upgrading older xAgent s with customized installation locations [Skip to main content](/docs/upgrading-older-xagent-s-with-customized-installation-locations-1#content-wrapper) If you used a customized installation location when you installed your older xAgent s (xAgent s earlier than version 20), any upgrade jobs you create using the Web UI will automatically install newer agent software in the same location. For example, if you installed your version 11 xAgent s in a customized directory called `C:\temp\trythis`, the agent upgrade job will install the newer xAgent software there too. If you do not use an agent upgrade job to upgrade your older xAgent s, you can install the newer xAgent software on your hosts by running the regular installation wizard, running the `.msi` installation file from a Windows command prompt, or using a software management utility (such as BigFix or SCCM). In this case, the newer xAgent software will, by default, be installed into `C:\Program Files\FireEye\xagt`. If you want to install the newer xAgent software into the same customized installation directory used by your older xAgent s, follow these guidelines: - Upgrade your Trellix Endpoint Security (HX) software before you upgrade your xAgent software. - If you use the installation wizard to upgrade, enter the customized location on the appropriate installation wizard screen when prompted. - If you use command-line prompts or a software management utility to upgrade, specify the TARGETDIR command-line option when you run the installation executable. For more information, see [Specifying the Agent Installation Location](/docs/windows-xagent-installation-options-1). :