site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thanks - sometimes it's hard to know whether I'm failing to find a feature that exists, or whether the feature doesn't exist at all :) In this case overwriting user entered values is not a problem, so I'll probably go with the last idea you mentioned: Install with the package into /tmp or something, and then copy it out using a bash script… -Robin On Sep 21, 2011, at 6:08 PM, Colin Cornaby wrote:
A post flight script is generally the best way to handle this, either using defaults write from a script, or a tool written in Foundation/Cocoa.
You could do other things like copying a plist into place from a post flight, but you risk over writing user entered values.
Sent from my iPad
On Sep 21, 2011, at 3:02 PM, Robin Miller <robincello@gmail.com> wrote:
Hi,
I'm fairly new to packaging, and have been trying to use Stephane Sudre's Packages app to get some software ready for deployment to a number of machines at work.
I would like the package installer to place a .plist file in the ~/Library/Preferences folder for the current user as well as for all other users on the computer. Does this require some post flight scripting or is there a more 'built in' way to handle this (presumably) common situation?
Thanks, Robin _______________________________________________ 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: http://lists.apple.com/mailman/options/installer-dev/colin.cornaby%40mac.com
This email sent to colin.cornaby@mac.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: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com