Hi Simon,
The Composer DMG package file will overwrite your user preferences when selecting fill existing user home directories (FEU) in the Options of the DMG package.
You still can use managed preferences to change user preferences (and apply serial numbers like Transmit does for example) or use a script to apply settings. Had not much trouble deploying license files so far. Lot of them are places outside the users home folder.
Thanks for your response Martin, although I can't seem to get this to work after testing it.
See images ;-
https://www.dropbox.com/s/h1tfvsu92kojwm6/composer.png
https://www.dropbox.com/s/n1jvu6835u6gfyy/files.png
On the test machine, rather than drop the <user>/Library/Preferences/serial.plist into the correct place, it has now created a directory on the test machine from where the package was created rather than create the Preference files in the homes of the logged in user.
Any idea how I get around this?
That's correct and is by design. It creates a home directory for the user that created the package. I advice you to use an admin or support account for packaging.
When you check the option FEU (and FUT) in Casper Admin all (new) users get the files that are in the captured users home directory.
I see, that was the issue - I am only using Composer and not Casper Admin. Thanks for the advice.
For several reasons, I am not a fan of installing files directly into a user's home folder, including preferences.
Check if you application supports preferences in /Library as well as ~/Library, you might be able to install the license globally.
If not, than I would suggest creating a LaunchAgent to create the preference for each user that logs in (you can use defaults write to inject a single preference setting without overwriting the entire plist), rather than writing the preference for only the user installed or the user present at time of package creation.