• 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: John Daniel <email@hidden>
  • Date: Wed, 14 Feb 2007 08:18:51 -0600

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.

John

_______________________________________________
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


  • Follow-Ups:
    • Re: creating alias during installation
      • From: Bill Coderre <email@hidden>
    • Re: creating alias during installation
      • From: Stéphane Sudre <email@hidden>
References: 
 >Re: creating alias during installation (From: email@hidden)
 >Re: creating alias during installation (From: John Daniel <email@hidden>)
 >Re: creating alias during installation (From: Luke Bellandi <email@hidden>)
 >Re: creating alias during installation (From: John Daniel <email@hidden>)
 >Re: creating alias during installation (From: Bill Coderre <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