• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: User Defaults (settings) during install question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: User Defaults (settings) during install question


  • Subject: Re: User Defaults (settings) during install question
  • From: John Daniel <email@hidden>
  • Date: Wed, 31 Jan 2007 08:37:48 -0600

You could do that during the postinstall script. However, a much better way to handle that would be to change your app so that it already has its own set of defaults and can re-create the plist file if one does not already exist.

John

On Jan 30, 2007, at 10:23 PM, Matt R wrote:

Hi!

How can I create a .plist file in the ~/Library/Preferences folder
with the default User Defaults (settings) during the installation of a
program? Without the .plist file in the ~/Library/Preferences folder
the app will not start up.

~Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40etresoft.com


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
References: 
 >User Defaults (settings) during install question (From: "Matt R" <email@hidden>)

  • Prev by Date: User Defaults (settings) during install question
  • Next by Date: Re: User Defaults (settings) during install question
  • Previous by thread: User Defaults (settings) during install question
  • Next by thread: Re: User Defaults (settings) during install question
  • Index(es):
    • Date
    • Thread