--- title: "Specifying the Agent Installation Location" slug: "specifying-the-agent-installation-location" updated: 2026-09-08T19:06:27Z published: 2026-09-08T19:06:27Z canonical: "docs.trellix.com/specifying-the-agent-installation-location" --- > ## 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. # Specifying the Agent Installation Location To change the installation location of the agent software, use the TARGETDIR option. Always use quotes around the path name specified with this option. For example, the following command installs the agent software in `C:\MyInstallationDirectory`: `msiexec /i xagtSetup_x.x.x_universal.msi TARGETDIR="C:\MyInstallationDirectory"` The default directory name for installations is `%ProgramFiles%\FireEye\xagt`. If you are migrating your older agents (agents earlier than version 20) to a newer version of the agent software and you installed your older agents in a customized installation location, see [Upgrading Older Agents with Customized Installation Locations](/docs/upgrading-older-agents-with-customized-installation-locations) . :