• 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: "First Run" installation of Application support stuff?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "First Run" installation of Application support stuff?


  • Subject: Re: "First Run" installation of Application support stuff?
  • From: Sheehan Olver <email@hidden>
  • Date: Thu, 19 Dec 2002 13:50:13 -0600

Couldn't you just copy the applet from your .app bundle to /tmp whenever you run, and delete it when you quit? This way you don't need to worry about permissions (/tmp is guaranteed everyone-readwrite, correct?) Why do you need write access on an applet anyways?


On Thursday, December 19, 2002, at 10:29 AM, email@hidden wrote:

- I use the /Library/Application Support/myApplication/ folder since I need the applet accessible for all users. Were that not the case, any ~/Library subfolder would do, I think.
- I check if the applet is already there, check its size, if it's the same I compare it bit-for-bit with the original which is somewhere inside the app bundle. I store this in encrypted form so nobody can tamper with it.
- Only if the applet is outdated or corrupted, or if the permissions are not correct, I ask for the admin password and copy or fix everything.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: "First Run" installation of Application support stuff?
      • From: Rainer Brockerhoff <email@hidden>
    • Re: "First Run" installation of Application support stuff?
      • From: "Peter Sichel" <email@hidden>
  • Prev by Date: Re: NSUserDefauts - Am I Missing the Obvious?
  • Next by Date: Re:Methods with Variable Numbers of Arguments; OCUnit & GDB
  • Previous by thread: Re: "First Run" installation of Application support stuff?
  • Next by thread: Re: "First Run" installation of Application support stuff?
  • Index(es):
    • Date
    • Thread