• 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: [OT] Installation into home directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Installation into home directory


  • Subject: Re: [OT] Installation into home directory
  • From: Robert Borsuk <email@hidden>
  • Date: Mon, 18 Aug 2003 12:57:52 -0400

Tom,
Thanks. This is part what I was looking for. That's interesting about the installer script idea, I need to look into that. I tried modifying the info.plist to point to it (I thought I would be clever) but it didn't install anything.

Rob Borsuk
email@hidden


On Monday, August 18, 2003, at 12:36 PM, Thomas Harrington wrote:

My suggestions in this case are:
1. First consider whether this is the best location; you might be better off aiming for /Library/PreferencePanes rather than a user-specific location.
2. If that's not possible for some reason, you can't do what you want directly with PackageMaker. However a post-install script may provide a solution. Use a scheme something like, the installer puts the software in /private/tmp/, and then your postinstall script (which runs as the user, and therefore evaluates ~ correctly) creates ~/Library/PreferencePanes and then moves the software into it. Note that for this to work you must not be requiring authentication in the installer, since in that case the effective user will be root.

You *might* be able to trick PackageMaker by creating the installer to target /Library/PreferencePanes, and then manually modifying the .info file to point to ~. But that seems pretty iffy to me.

--
Tom Harrington
email@hidden
_______________________________________________
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.

References: 
 >Re: [OT] Installation into home directory (From: Thomas Harrington <email@hidden>)

  • Prev by Date: Can't set directory for runModalSavePanelForSaveOperation
  • Next by Date: Using Distributed Objects in an Internet-Game
  • Previous by thread: Re: [OT] Installation into home directory
  • Next by thread: Re: [OT] Installation into home directory
  • Index(es):
    • Date
    • Thread