• 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: Klaus Wik <email@hidden>
  • Date: Tue, 21 Mar 2006 11:11:51 +0100

On 21.03.2006 08:59, j o a r wrote:
On 21 mar 2006, at 08.40, Klaus Wik wrote:

Don't forget:
- the package can contain pre and postflight scripts, and can be installed from the command line.

How about: $ cp -r MyApp.app /Applications

Where did the post and preflight scripts go? You would have to do all sorts of check either in the program on startup, which I guess is a clean way of doing it, or running them yourself in a shell script prior to installation. Ideally an application should be self contained and self repairing so that it does all the tidying before running instead of doing it in a pre/postflight. On the other hand, sometimes you need a preflight to determine, can I really install and run this application on this computer? Or, a postflight script that runs update_prebinding.


On another note, I have found that when it comes to having _users_ execute a script of some kind, either installing several small tidbits which needs to go where most users won't dare to venture, an installer is just right. You just tell them to click on the installer and follow the white rabbit, and things are done perfectly each time. As opposed to telling them to do

telnet distro 5151 | sed 1,3d > /tmp/install_stuff.sh
sh /tmp/install_stuff.sh

One answer I got to that was that the user, who didn't want to cutnpaste, could not find the | key, so he just used a \ instead.

All in all, what I am saying is that you shouldn't be too quick to judge installer as useless, as there are probably tons of good examples of its usage, just as there are opposite examples.
--
Klaus Wik
may contain traces of nut.
_______________________________________________
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
  • Follow-Ups:
    • Re: Installer
      • From: j o a r <email@hidden>
References: 
 >Re: Installer (From: Stéphane Sudre <email@hidden>)
 >Re: Installer (From: j o a r <email@hidden>)

  • Prev by Date: Frameworks and Preferences
  • Next by Date: Exception while migrating CoreData store
  • Previous by thread: Re: Installer
  • Next by thread: Re: Installer
  • Index(es):
    • Date
    • Thread