Adding a plist file to a network user's Library/Preferences folder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 12-16-2014 09:46 AM
I am trying to compose and deploy an application to my computer lab that includes a License Key.
When I'm logged in as admin I run a new/modified snapshot. I install the app, open it, enter the key, close the app and finish snapshot. If I create the package and deploy via Remote, it runs fine for the Admin user.
My issue is, whenever I log into a network user account, it asks for the key. I see in my composer source after I open the app and type in the license key, it creates a plist file in User/Admin/Library/Preferences. If I copy that plist file into User/JaneDoe/Library/Preferences, it no longer requires them to enter the key.
Is there way to accomplish this in composer? or does anyone have a better method to deploy the license code to network users?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 12-16-2014 09:56 AM
I would package the plist file separate from the actual application, and then set a policy scoped to your lab to install the plist with the frequency set to "Once per user".

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 12-16-2014 10:12 AM
It sounds like you need to save it as a dmg package in composer, then use the FUT (Fill User Template) and FUE (Fill Existing Users) options when deploying it.
If its just a standard pkg, or you are deploying without the FUT & FUE options it will just install it in the same location it came from (i.e. /Users/Admin/Library/Preferences)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 12-16-2014 02:24 PM
I'm with @stevewood package the app and the settings files seperately, makes it easier when you want to upgrade it later as the settings frequently don't require changes with minor application updates.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 12-17-2014 10:23 AM
If your network users are not using Mobile Accounts then you may need to make a change in the jamf plist as described in the following feature request/discussion:
https://jamfnation.jamfsoftware.com/featureRequest.html?id=141
https://jamfnation.jamfsoftware.com/discussion.html?id=4600

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 12-17-2014 12:11 PM
you could always try putting this plist in the /Library/Preferences folder first. Some apps will work this way, rather than copying it to every network users homefolder.
