Create McAfee agent .msi file for SCCM deployment

by lionardo

This article describe how create .msi file for McAfee agent with ePO.

Login to McAfee ePolicy Orchestrator and go to System tree – New systems

System tree – New Systems

Choose options like this:
1. How to add system: Create and download
2. Agent version: Current
3. Credentials for agent: unchecked
4. Save to drive

Click “OK” and save it.
Go to file (I created new folder for him) and Shift+click on blank space in folder: this allow you to run PowerShell from specific folder.

Open PowerShell window here

In PowerShell run this command:

.\Framepkg.exe /gengpomsi/SiteInfo="\\SERVER\SHARE\Sitelist.xml"/FrmInstLogLoc="c:\temp\mcafeelog1.log"

SiteInfo: local network share with user permission to access it. I use NETLOGON folder.
Sitelist.xml: this file will extracted from “FramePkg.exe”
FrmInstLogLoc: local temp folder on user PC

This command will create some files in same location as .exe file. We need “SiteList.xml” and “MFEagent.msi”
SiteList.xml going to shared folder
MFEagent.msi (or x64) going to SCCM for deploy