Command-line options for installing McAfee Agent on Windows

Depending on whether McAfee Agent is already installed, you can use command-line options when you run McAfee Agent installation package (FramePkg.exe) or McAfee Agent framework installation (FrmInst.exe) program.

Use these command-line options with the deployment task to upgrade to a new version of McAfee Agent.

This table describes McAfee Agent installation command-line options. These options are not case sensitive. FramePkg.exe and FrmInst.exe require administrator rights, so they must be run from an administrator command prompt or configured to always run as administrator.

FramePkg.exe and FrmInst.exe command-line options

Command Description
/Customprops Allows you to set custom properties.


FRAMEPKG /INSTALL=AGENT /Customprops1="prop1" /Customprops2="prop2" /Customprops3="prop3"

/DATADIR Specifies the folder on the system to store McAfee Agent data files. The default location is: <Documents and Settings>\All Users\Application Data\McAfee\Agent. If the operating system does not have a Documents and Settings folder, the default location is C:\ProgramData\McAfee\Agent.





Specifies a domain, and account credentials used to install McAfee Agent. The account must have rights to create and start services on a system. If left unspecified, the credentials of the currently logged-on account are used. If you want to use an account that is local to a system, use the system’s name as the domain.



/enableVDImode Installs McAfee Agent in VDI mode.
/FORCEINSTALL Specifies that the existing McAfee Agent is uninstalled, then the new McAfee Agent is installed. Use this option only to change the installation directory or to downgrade McAfee Agent. When using this option, we recommend specifying a different directory for the new installation (/INSTDIR).



/INSTALL /INSTALL=AGENT Installs and enables McAfee Agent in managed mode.



/INSTALL=UPDATER Enables the AutoUpdate component if it has already been installed, and does not change whether McAfee Agent is enabled. This command-line option upgrades McAfee Agent. Use this command to install McAfee Agent in unmanaged mode.
Note: An Embedded credential package cannot be used to install McAfee Agent in unmanaged mode.



/INSTALL=AGENT /FORCE32BITSERVICES Installs McAfee Agent in a 32-bit mode on a 64-bit operating system.



/INSTDIR Specifies the installation folder on the system. You can use Windows system variables, such as <SYSTEM_DRIVE>. If not specified, the default location is: <DRIVE>: \program files\mcafee\Agent


/REMOVE Removes McAfee Agent if not in use. If in use, McAfee Agent changes to updater mode.


/FORCEUNINSTALL Removes McAfee Agent forcibly from the client system.

Example: FrmInst.exe /FORCEUNINSTALL

/RESETLANGUAGE Resets McAfee Agent language to its default operating system language.
/SILENT or /S Installs McAfee Agent in non-interactive mode, hiding the installation from the user.


/SITEINFO Specifies the folder path to a specific repository list (McAfee Agent installer, reqseckey.bin (the initial request key), srpubkey.bin (the server public key), req2048seckey.bin, sr2048pubkey.bin, Sitelist.xml file, and agentfipsmode file).


/USELANGUAGE Specifies the locale ID of McAfee Agent that you want to install. Use the switch to change current McAfee Agent language to any supported language.


Note: If errors occur during installation, all error messages are displayed in English regardless of the installed locale.