• 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 Plugins - how to run as root?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installer Plugins - how to run as root?


  • Subject: Re: Installer Plugins - how to run as root?
  • From: Bill Coderre <email@hidden>
  • Date: Fri, 11 May 2007 14:43:12 -0700


On May 11, 2007, at 12:14 PM, Andy Kim wrote:
At the end of the install, I have a panel to enter some user data, and another panel to download a file into the application's bundle. I have this implemented as two Installer Plugins (EmailPlugin and DownloadPlugin). Using the excellent Iceberg tool, I placed the EmailPlugin and DownloadPlugin right after the Install panel (right before the Finish Up panel). I have "Root Authorization" required for the package. EmailPlugin creates a file in /Library/Application Data/<app>. DownloadPlugin creates a file in /Application/<app>.app

There are many who believe that the installer should ask ALL of its questions BEFORE the user hits install. (cf. "About Face" by Cooper and Reimann. In the first edition, Cooper calls installers that ask users questions during install, "Klingon interrogation mode" among other choice epithets.)


Assuming that you can just as easily ask for all the information before install as after, pose your plugins as part of the Welcome/ ReadMe/License sequence, write the info into Installer Temp, then have your scripts copy the information to the appropriate places in postflight scripts.

Then the user can deal with everything before install starts, and if they find a question they don't understand, they can back out and email someone, as opposed to leaving their machine stuck in the installer while they frantically phone their sysadmin for help. (The "Principle of Least Surprise," another rule of thumb, suggests you don't let the user irrevocably commit to a task and then ask for information they might not have.)


_______________________________________________ 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: Installer Plugins - how to run as root?
      • From: Andy Kim <email@hidden>
References: 
 >Installer Plugins - how to run as root? (From: Andy Kim <email@hidden>)

  • Prev by Date: Re: Installer Plugins - how to run as root?
  • Next by Date: Re: Installer Plugins - how to run as root?
  • Previous by thread: Re: Installer Plugins - how to run as root?
  • Next by thread: Re: Installer Plugins - how to run as root?
  • Index(es):
    • Date
    • Thread