Re: mac os packaging. per-user data deployment
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 <krulikovskiy@yandex.ru> 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/bc%40apple.com
This email sent to bc@apple.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Bill Coderre