• 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: Installer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installer


  • Subject: Re: Installer
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 21 Mar 2006 16:13:08 +0100

John,

On 21.3.2006, at 15:17, John Stiles wrote:

But, for apps where it does matter, why not have the app itself run that script when it is executed for the very first time? Then the app can be drag-and-drop-installed like 99% of the apps on Mac OS X, and the setup phase will happen quickly and invisibly. (Unless you need root privs, which is a separate argument-filled can of worms.)

Not quite. The run-up script (if any, and I do agree there should be none for 99.99 % of apps) generally needs to access and change the installed app itself. That, though, is possible only with an admin authentificaiton, which is of course natural for the Installer, but which would no user who value his personal data ever grant to the application itself (unless he wrote it himself :))


Note that there's an extremely good reason an installer script is a script (and not a binary): you can easily check what it does *before* you grant it the privileges to access your admin realm.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Installer (From: Stéphane Sudre <email@hidden>)
 >Re: Installer (From: j o a r <email@hidden>)
 >Re: Installer (From: John Stiles <email@hidden>)

  • Prev by Date: Re: NSTask and authentication...I have to clarify my original question
  • Next by Date: NSTextView text too narrow
  • Previous by thread: Re: Installer
  • Next by thread: Re: Installer
  • Index(es):
    • Date
    • Thread