Xink install/configure using Jamf

New Contributor

My company is rolling out an email signature application called Xink to all users. Has anyone had any success with this product or have any tips on its rollout? Xink Support sent me to this link for instructions but unfortunately the (very complicated) script they say works with other customers does not work with our hybrid Exchange/O365 environment.

I can use the "defaults" commands to manually update the .plist file for the app but running the same commands in a Jamf script using Self Service doesn't seem to work. I will admit that I'm just barely more than a novice when it comes to setting up scripts from scratch. I'm usually pretty good at figuring out existing ones and modifying them.

Below is my existing script. Perhaps someone can show me where I'm going wrong? I'm sure I'm missing something simple. - Chad


defaults write com.emailsignature.Xink isUsingICloudDrive -int 1
defaults write com.emailsignature.Xink updateSignaturesForMai -int 0
defaults write com.emailsignature.Xink updateSignaturesForOutlook -int 1

# using the Jamf variable for currently logged-in user, append email domain
defaults write com.emailsignature.Xink userName -string "$"
defaults write com.emailsignature.Xink domainToken -string "[domain token]"


New Contributor III

I have the same question.  I found the Signin Helper script that xink recommends, but not sure how to use it.  You can find it here:

Let me know if you've found anything, I'll do the same.

New Contributor

currentUser=$(ls -l /dev/console | awk '/ / { print $3 }')
DisplayName=$(/usr/libexec/PlistBuddy -c "Print :DisplayName" $jamfConnectStateLocation || echo "Does not exist")
Token="[Your domain token]"

if [[ $DisplayName != "File Doesn't Exist"* ]]; then
sudo -u $currentUser /usr/bin/defaults write /Users/$currentUser/Library/Preferences/com.emailsignature.Xink.plist hideInfobox -bool true
sudo -u $currentUser /usr/bin/defaults write /Users/$currentUser/Library/Preferences/com.emailsignature.Xink.plist hideQuitMailInfobox -bool true
sudo -u $currentUser /usr/bin/defaults write /Users/$currentUser/Library/Preferences/com.emailsignature.Xink.plist isUsingICloudDrive -bool false
sudo -u $currentUser /usr/bin/defaults write /Users/$currentUser/Library/Preferences/com.emailsignature.Xink.plist updateSignaturesAutomatically -bool true
sudo -u $currentUser /usr/bin/defaults write /Users/$currentUser/Library/Preferences/com.emailsignature.Xink.plist updateSignaturesForMail -bool false
sudo -u $currentUser /usr/bin/defaults write /Users/$currentUser/Library/Preferences/com.emailsignature.Xink.plist updateSignaturesForOutlook -bool true
sudo -u $currentUser /usr/bin/defaults write /Users/$currentUser/Library/Preferences/com.emailsignature.Xink.plist userName $DisplayName
sudo -u $currentUser /usr/bin/defaults write /Users/$currentUser/Library/Preferences/com.emailsignature.Xink.plist domainToken -string $Token

echo "Invalid Username - Possibly Local Only Account"
exit 0

This is what I came up with for version 3.2.8.

Probably no help to you now but hopefully someone can make use of it!