Re: mac os packaging. per-user data deployment
Re: mac os packaging. per-user data deployment
- Subject: Re: mac os packaging. per-user data deployment
- From: Bill Coderre <email@hidden>
- Date: Tue, 14 Feb 2012 13:16:07 -0800
This is not an easy problem, because:
1) What if there's more than one user on the system? You really should do this for all users.
1b) What if some user is created later? There's no easy way to set preferences for uncreated users.
1c) What if some users' home directories are not local to the machine?
2) During preflight/postflight scripts, installer is running as root. You have to take special care to "su" to the user in question while creating the preferences, and make sure that the owner/group/permissions are correct.
That all being the case, it's possible to address most of these things. Perhaps someone can share some code to do so?
On Feb 14, 2012, at 12:29 AM, Sergey Krulikovskiy <email@hidden> wrote:
> I'm a newbie in packaging for MAC OS...
> At the moment I already tried to create a few simple packages (using the PackageMaker)... But, unfortunately each time i was faced with the same problem - how to install settings files into the "~/Library/Preferences" folder for each user who uses the computer.
> By default via PKG file I can install files into current users' profile only...
>
> PS: I need to prepare ~ 100 applications for the enterprise deployment. So I need some common solution. Or, maybe I should some specific tool to distribute per-user data...
>
> Any help would be greatly appreciated
> Thanks in Advance
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Installer-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden