• 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: [Slightly OT] PackageMaker question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Slightly OT] PackageMaker question...


  • Subject: Re: [Slightly OT] PackageMaker question...
  • From: Stéphane Sudre <email@hidden>
  • Date: Thu, 13 May 2004 22:07:39 +0200

On jeudi, mai 13, 2004, at 08:07 PM, Chris Pavicich wrote:

Hi List:

I am getting ready to release a piece of software that I've written, and would like to use PackageMaker to
distribute it.

I would like to give users the ability to install my stuff for a given user, or for everyone. (i.e. either in /Library/ or ~/Library/)

Is there an easy way to do this, using PackageMaker?

Yes and no.

It's easy to set the package as being relocatable with the default location being /Library.

Yet, there's an incoherence and problem in this situation.

* the incoherence:

o to install something in /Library, you need admin authorization (or root authorization it depends on what you want to do)
o to install something in ~/Library, you don't need any authorization.

So to fill case 1 requirement, you would have to ask for admin authorization even though you do not require it in case 2.

* the problem:

As soon as the package is relocatable, it can be installed anywhere (there's no way (at least currently) to filter the "Choose..." target location dialog).

Hope it helps.

<shameless plug> if you go for a package, check: http://s.sudre.free.fr/Software/Iceberg.html </shameless plug>
_______________________________________________
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: 
 >[Slightly OT] PackageMaker question... (From: Chris Pavicich <email@hidden>)

  • Prev by Date: Re: Subclassed AppKit vis IB & Designated Initializer
  • Next by Date: KVO Oddity
  • Previous by thread: [Slightly OT] PackageMaker question...
  • Next by thread: Subclassed AppKit vis IB & Designated Initializer
  • Index(es):
    • Date
    • Thread