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?
msiexec /i \\NETWORK\LOCATION\Setup.MBEndpointAgent.x64.msi /qb
Community Chosen Answer
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).