/build/static/layout/Breadcrumb_cap_w.png

Script for Malwarebytes

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

Answers (2)

Posted by: jbakeer 1 year ago
White Belt
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).


Posted by: Gerhart 1 year ago
Green Belt
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.

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ