Mcafee VSE 8.7i silent installation

(imported topic written by netsecurity91)

hi i am new to bigfix.kindly help me in installing the VSE 8.7i in a silent mode.is it possible through software distribution.Also what would be the relevance for installing VSE 8.7i on only those machines which dont have Mcafee installed in it.and the same for Mcafee Agent as well.

help would be appreciated :slight_smile:

Regards

Vishal

(imported comment written by JackCoates91)

Hi Vishal,

Unfortunately, while many vendors do use standard MSIs to distribute their packages, they often wrap their MSIs with subtly different EXEs. The best way to find out what command line to use is to check the package on appdeploy.com. One you’ve determined the right command line for your organization, you can use the BigFix software distribution wizard to deploy the package. Here’s McAfee VSE 8’s page at appdeploy: http://www.appdeploy.com/packages/detail.asp?id=450

(imported comment written by netsecurity91)

thnx for the reply buti am findin it hard to understand can you provide me with an example…As in what would be the action and the relevence for silent installation.

(imported comment written by JackCoates91)

Hi,

you’d use the software distribution wizard to generate those. Point it to the VSE installer, give it the command line, and tell it which systems you want to install to. It will generate a fixlet that you can then take an action from.

(imported comment written by netsecurity91)

Hi Jack…i manged to get the custom fixlet run successfully…but the thing is that it shows all the workstations even if those have Mcafee already installed in them…Can you help with the relevance for Vse 8.7i so tht bigfix searches for that particular path or particular service and if this is not present, it can carry on to install VSE8.7i and same for Mcafee

Agent.

Thnx again

(imported comment written by SystemAdmin)

I just took the Install directory for McAfee 8.7 and zipped it up to VSE870LMLRP3.zip , I also added the EPO agent in the same zip file

Relevance :

(name of operating system as lowercase starts with 
"win" and (

if ((

if (exists key 
"HKEY_LOCAL_MACHINE\Software\Network Associates\TVD\VirusScan" of registry) then (value 
"szCurrentVersionNumber" of key 
"HKEY_LOCAL_MACHINE\Software\Network Associates\TVD\VirusScan" of registry as string) 

else 

if (exists key 
"HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\VirusScan Enterprise\CurrentVersion" of registry) then (value 
"szProductVer" of key 
"HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\VirusScan Enterprise\CurrentVersion" of registry as string) 

else 

if (exists key 
"HKEY_LOCAL_MACHINE\Software\McAfee\DesktopProtection" of registry) then (value 
"szProductVer" of key 
"HKEY_LOCAL_MACHINE\Software\McAfee\DesktopProtection" of registry as string) 

else 
"0.0.0") as version) < 
" then true else false))

Action1:

download http:
//software.bigfix.com/download/redist/unzip-5.52.exe 

continue 

if 
{(size of it = 167936 and sha1 of it = 
"e1652b058195db3f5f754b7ab430652ae04a50b8") of file 
"unzip-5.52.exe" of folder 
"__download"
}   prefetch VSE870LMLRP3.zip sha1:bf3df291769fe705b53b050495aa2b11d49c119b size:34173859 http:
//<SERVER>/shared/Component_Install/McAfee_Update/VSE870LMLRP3.zip dos mkdir 
{name of drive of windows folder
}\McAfee_Update wait __download\unzip-5.52.exe -o -j  __download\VSE870LMLRP3.zip -d 
{name of drive of windows folder
}\McAfee_Update   wait 
{name of drive of windows folder
}\McAfee_Update\SetupVSE.exe  ADDLOCAL=ALL REMOVE=LotusNotesScan REMOVE=EmailScan /qn wait 
{name of drive of windows folder
}\McAfee_Update\FramePkg.exe /INSTALL=AGENT /SILENT   dos rmdir /S /Q 
{name of drive of windows folder
}\McAfee_Update

Success Criteria:

(name of operating system as lowercase starts with 
"win" and (

if ((

if (exists key 
"HKEY_LOCAL_MACHINE\Software\Network Associates\TVD\VirusScan" of registry) then (value 
"szCurrentVersionNumber" of key 
"HKEY_LOCAL_MACHINE\Software\Network Associates\TVD\VirusScan" of registry as string) 

else 

if (exists key 
"HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\VirusScan Enterprise\CurrentVersion" of registry) then (value 
"szProductVer" of key 
"HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\VirusScan Enterprise\CurrentVersion" of registry as string) 

else 

if (exists key 
"HKEY_LOCAL_MACHINE\Software\McAfee\DesktopProtection" of registry) then (value 
"szProductVer" of key 
"HKEY_LOCAL_MACHINE\Software\McAfee\DesktopProtection" of registry as string) 

else 
"0.0.0") as version) < 
" then true else false))

(imported comment written by ErinC91)

Hey netsecurity,

Don’t you have an e-policy orchestrator server ? It’s perfect for managing silent installations of McAfee products.

You mention the McAfee Agent. I think you would only really need this if you

did

have an ePO server.

Information on the command line options to install VScan can be found on the McAfee Knowledgebase https://mysupport.mcafee.com/Eservice/templatepage.aspx?sURL=3 but the info Mark has posted above may be all you need.

If you need to install the framework service in a custom location you can add the install dir as follows;

FramePkg.exe /INSTALL=AGENT /FORCEINSTALL /SILENT /INSTDIR=
"C:\Program Files\McAfee\ePO Agent4"

(imported comment written by netsecurity91)

thnx a lot MARK and Erin for ur replies…it worked great…i hav a one last doubt can i uninstall McafeeVse 8.7 and Agent from bigfix silently.if ye how would i go about it…

Thnx in Advance

(imported comment written by SystemAdmin)

This site should give you all the options…

https://kc.mcafee.com/corporate/index?page=content&id=kb59996&pmv=print

I have not tried removing VSE8700 but from that site above the code below should work

Uninstalling Framework Services

(Tested Working)

waithidden 
{substring before 
"\FrameworkService.exe" of (image path of running service 
"McAfeeFramework")
}\FrmInst.exe /remove=agent /silent

Uninstalling VSE8700

(not tested)

waithidden 
{substring before 
"\FrameworkService.exe" of (image path of running service 
"McAfeeFramework")
}\FrmInst.exe /remove=updater /product=Viruscan8700

you could also try this…

VirusScan Enterprise 8.7i

msiexec /x {147BCE03-C0F1-4C9F-8157-6A89B6D2D973} REMOVE=ALL REBOOT=R /q

waithidden  msiexec /x 
{
{147BCE03-C0F1-4C9F-8157-6A89B6D2D973
} REMOVE=ALL REBOOT=R /q

VirusScan Enterprise 8.5i

msiexec.exe /x {35C03C04-3F1F-42C2-A989-A757EE691F65} REMOVE=ALL REBOOT=R /q

waithidden msiexec.exe /x 
{
{35C03C04-3F1F-42C2-A989-A757EE691F65
} REMOVE=ALL REBOOT=R /q

VirusScan Enterprise 8.0i

msiexec.exe /x {5DF3D1BB-894E-4DCD-8275-159AC9829B43} REMOVE=ALL REBOOT=R /q

waithidden msiexec.exe /x 
{
{5DF3D1BB-894E-4DCD-8275-159AC9829B43
} REMOVE=ALL REBOOT=R /q