• 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: creating alias during installation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating alias during installation


  • Subject: Re: creating alias during installation
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 14 Feb 2007 22:00:47 +0100


On mercredi, février 14, 2007, at 03:18 PM, John Daniel wrote:

On Feb 14, 2007, at 12:17 AM, Bill Coderre wrote:

So it's incorrect to have a "no authenticate" installer install into any location that a user might not be able to write to. If the user is non-admin, almost the only place that they CAN write is their home directory. (Almost)

The Installer is not enforcing this. Unix is.

Yes, I know. The only "officially correct" way to install an application (using PackageMaker) is to force the user to authenticate. But once someone authenticates, they give the installer complete access to their machine - Applications, /System, Startup Items, kernel, everything. Does my little shareware app need that? Clearly not.


So, I am going to investigate creating an "incorrect" installer that uses a preflight script to test for the ability to install into /Applications. Just because it is officially "incorrect" doesn't mean it might not be the best option:) I am a little worried about depending on a preflight script, but only because the scripts in my "official" admin-authorized installer don't always work. But with this method, I might even have a chance to tell a user why the install failed. I know I definitely need more error handling and recovery in my scripts in any case.

IMHO, just ask for root authentication. Everyone is doing it and it will let you set the correct permissions on your application bundle instead of doing the bad stuff a drag and drop installation can do.


Personally, I would not trust an installer that does not ask me for permissions and install stuff in /Applications assuming that since I'm admin, it's OK.


_______________________________________________ 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: 
 >Re: creating alias during installation (From: John Daniel <email@hidden>)

  • Prev by Date: Re: creating alias during installation
  • Next by Date: Re: creating alias during installation
  • Previous by thread: Re: creating alias during installation
  • Next by thread: Re: creating alias during installation
  • Index(es):
    • Date
    • Thread