Mac Admin: Deploying SwiftDialog via Mosyle.

Create two device groups and a custom command.

Your first group is for detecting if SwiftDialog has been installed. I simply call this Software - SwiftDialog - Installed

Go create a Custom Command Response, I call it Software - SwiftDialog - Install Check and the code for that is:

#!/bin/bash
[ -e /usr/local/bin/dialog ] && echo "True" || echo "False"

and the criteria is simply Software - SwiftDialog - Install Check response is True

Mosyle device group configuration showing SwiftDialog Installed group with criteria set to Software - SwiftDialog - Install Check response is True

Second Device group is Software - SwiftDialog - Missing and the criteria is simply Software - SwiftDialog - Install Check response is False

Mosyle device group configuration showing SwiftDialog Missing group with criteria set to Software - SwiftDialog - Install Check response is False

Upload the PKG

Go get the current release URL, throw it into a PKG deployment, mark it as signed and managed, that’s it.

Mosyle PKG deployment configuration screen showing SwiftDialog package setup with signed and managed options selected

Create a PKG profile

Simple as can be, just hit install all after saving

Mosyle PKG profile configuration with install all after saving option highlighted

Your device group is, you guessed it, Software - SwiftDialog - Missing

Mosyle PKG profile device group assignment showing Software - SwiftDialog - Missing group selected

Notifications

Make a quick notification profile with these options:

Mosyle notification profile configuration options for SwiftDialog deployment notifications
Mosyle notification profile settings showing notification delivery preferences
Mosyle notification profile completion screen showing all configured notification options

Apply that to every device.