Worklet: Install LogMeIn client on Mac or Windows

This worklet will check to see if LogMeIn is installed and if it isn’t, will download and install it.

See this KB article for how to setup a worklet:

Evaluation Code:


if [ -d "/Applications/LogMeIn" ]; then
    exit 0
    exit 1

Remediation Code:


echo -e "Downloading LogMeIn Client..."
curl -L -o "/tmp/LogMeInClientMac.dmg"

echo -e "Installing LogMeIn Client..."
hdiutil attach "/tmp/LogMeInClientMac.dmg" -nobrowse
ditto "/Volumes/LogMeInClient/LogMeIn" "/Applications/LogMeIn"

echo -e "Cleaning up..."
hdiutil detach "/Volumes/LogMeInClient"
rm -f "/tmp/LogMeInClientMac.dmg"

Any chance someone can make one of these for windows please :slight_smile:

nvm I got one made :slight_smile:

Use required software for windows, and attach the logmein client installer msi.

Add this code:

`exit (Start-Process -FilePath 'msiexec.exe' -ArgumentList ('/qn', '/i', '"LogMeInIgnition.msi"') -Wait -Passthru).ExitCode`
1 Like

Thanks for sharing that - I’ll change the title to indicate windows and Mac so that people can find your code.