Forum Discussion

ddidak's avatar
ddidak
New Contributor
3 years ago

macOS Monterey 12.x LogMeIn Control Panel Install script - Jamf Pro

Hi,

I was using this script from below for Jamf Pro remote installation and I am getting an error:

JamfManagementService and JamfDaemon needs to be updated 

Do you maybe have a new script without Python? 

 

 

The script:

#!/bin/sh
############################################
# LogMeIn for Mac silent deployment script
# In order to use, you must be a subscriber of LogMeIn Central
#
# To get a Deploy ID, log in to Central, click Deployments, then create a new one
# Customize the settings as you see fit
# The Deploy ID is part of the URL that is generated
# ex. https://secure.logmein.com/i?l=en&c=xyz
# xyz is the Deploy ID
#
# Tested on OS X 10.10.5 (Yosemite) with JSS 9.73
############################################

############################################
# Set the deploy ID via command line argument
#
#
DEPLOYID=$4 #Change to 1 if not using Casper Suite
#
echo "Deploy ID is: $DEPLOYID"
############################################

echo "Running LogMeIn host install"

# Change working directory to /tmp
cd /tmp

# Clean up any existing LogMeIn install files first
rm -rf /tmp/LMI

# Create working folder, LMI doesn't like being in the root of /tmp
mkdir LMI
cd LMI

# Download LogMeIn Mac software
echo "Downloading LogMeIn installer"
curl -O https://secure.logmein.com/LogMeInInstallerMac.zip

# Extract the installer
echo "Unzipping LogMeIn installer"
unzip LogMeInInstallerMac.zip

# Get the versioned file name
FILE="$(ls | grep LogMeIn*.app)"
echo "File name is: $FILE"

# Write the deploy ID as an extended attribute on the install package
echo "Setting deploy ID as attribute"
xattr -w com.logmein.deployid $DEPLOYID "$FILE"
echo "Reading deploy ID attribute to confirm"
xattr -p com.logmein.deployid "$FILE"

# Run the silent install
echo "Running the LogMeIn installer"
./"$FILE"/Contents/MacOS/Lili --silent

# Remove temp files
echo "Cleaning up temp files"
rm -rf /tmp/LMI

echo "Exiting with success"
exit 0

  • Ever have any luck on this? My script is slightly different but have the same issue. I also notice sometimes logmein doesnt show up in privacy settings and I have to manually reinstall it.