Has anyone packaged TextExpander?

stevehahn
Contributor

I've created a TextExpander package in Composer. When I deploy it to a test machine it installs, but the license doesn't work (it comes up unlicensed). I'm not sure if there's a license file that's tied to the individual machine or if Composer just missed the license file. Help?

1 ACCEPTED SOLUTION

Josh_S
Contributor III

The file you're looking for is ~/Library/Preferences/com.smileonmymac.textexpander.plist. As Jpcorzo said, you'll want to FUT and FEU. If you want to avoid overwriting other preferences, you could use a script, this is for the user account "$userdir".

#!/bin/sh

defaults write "/Users/$userdir/Library/Preferences/com.smileonmymac.textexpander" serialnumber "$serialnumber"
defaults write "/Users/$userdir/Library/Preferences/com.smileonmymac.textexpander" serialnumber2 "$serialnumber2"
defaults write "/Users/$userdir/Library/Preferences/com.smileonmymac.textexpander" username "$username"
defaults write "/Users/$userdir/Library/Preferences/com.smileonmymac.textexpander" username2 "$username2"

Examine the file on a licensed system to determine what you should set these values to.

View solution in original post

3 REPLIES 3

Jpcorzo
Contributor

I haven't packaged TextExpander before but did you make sure you selected the FUT and FEU during policy creation? sometimes licenses are stored under the users folders. I had the same problem with Sublime Text

Josh_S
Contributor III

The file you're looking for is ~/Library/Preferences/com.smileonmymac.textexpander.plist. As Jpcorzo said, you'll want to FUT and FEU. If you want to avoid overwriting other preferences, you could use a script, this is for the user account "$userdir".

#!/bin/sh

defaults write "/Users/$userdir/Library/Preferences/com.smileonmymac.textexpander" serialnumber "$serialnumber"
defaults write "/Users/$userdir/Library/Preferences/com.smileonmymac.textexpander" serialnumber2 "$serialnumber2"
defaults write "/Users/$userdir/Library/Preferences/com.smileonmymac.textexpander" username "$username"
defaults write "/Users/$userdir/Library/Preferences/com.smileonmymac.textexpander" username2 "$username2"

Examine the file on a licensed system to determine what you should set these values to.

stevehahn
Contributor

Awesome. Thanks for the responses!