To change the installation location of the xAgent software, use the TARGETDIR option. Always use quotes around the path name specified with this option.
For example, the following command installs the xAgent 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 xAgent software and you installed your older agents in a customized installation location, see Upgrading Older Agents with Customized Installation Locations .