Skip to main content
Solved

Has anyone packaged TextExpander?

  • August 19, 2013
  • 3 replies
  • 16 views

Forum|alt.badge.img+13

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?

Best answer by Josh_S

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.

3 replies

Forum|alt.badge.img+7
  • Contributor
  • August 19, 2013

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


Forum|alt.badge.img+11
  • Contributor
  • Answer
  • August 19, 2013

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.


Forum|alt.badge.img+13
  • Author
  • Contributor
  • August 19, 2013

Awesome. Thanks for the responses!