--- title: "Upgrading Older Agents with Customized Installation Locations" slug: "upgrading-older-agents-with-customized-installation-locations" updated: 2026-09-08T19:06:27Z published: 2026-09-08T19:06:27Z canonical: "docs.trellix.com/upgrading-older-agents-with-customized-installation-locations" --- > ## 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 Agents with Customized Installation Locations If you used a customized installation location when you installed your older agents (agents 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 agents in a customized directory called `C:\temp\trythis`, the agent upgrade job will install the newer agent software there too. If you do not use an agent upgrade job to upgrade your older agents, you can install the newer agent 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 agent software will, by default, be installed into `C:\Program Files\FireEye\xagt`. If you want to install the newer agent software into the same customized installation directory used by your older agents, follow these guidelines: - Upgrade your Endpoint Security (HX) server software before you upgrade your agent 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/specifying-the-agent-installation-location). :