/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Script for Malwarebytes

11/25/2019 175 views

I have a simple script to install Malwarebytes on pcs, tested and worked fine. I want to modify to check it its already installed, if it isnt install. Any help?

Example:

@echo off
msiexec /i \\NETWORK\LOCATION\Setup.MBEndpointAgent.x64.msi /qb


0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

3

Hello hlanderos,

The Managed Installation (MI) feature of the SMA can do this. The MI will run during agent check in so if the software is already installed on a targeted device, it will skip installation. If the software is not detected on a targeted device, it will be installed.

Confirmed in the admin guide: https://support.quest.com/technical-documents/kace-systems-management-appliance/10.0%20common%20documents/administrator-guide/148#TOPIC-1224435 (second paragraph under the anchor links).


Answered 11/25/2019 by: jbakeer
White Belt

All Answers

2

Managed Installation is well suited for this.

If you want to install with scripts, you can alternatively work with smartlabel.
Create a smartlabel that filters the computers which have NOT installed the software. Deploy the script to the smartlabel with a schedule.

- If the computer does NOT have the software, it is in the smartlabel and gets the software.

- If the computer has the software installed, it is NOT in the smartlabel and falls out of schedule.

Answered 11/26/2019 by: Gerhart
Purple Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share