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:
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 .