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

Re: Quitting the Installer


  • Subject: Re: Quitting the Installer
  • From: Bill Coderre <email@hidden>
  • Date: Tue, 28 Oct 2008 08:50:28 -0700


On Oct 28, 2008, at 1:56 AM, raju p wrote:
please have a look at the installer documentation for InstallationCheck scripts.this provides ways to quit installer and provide user with warnings / messages

To elaborate a bit:

Installers have several ways of denying installation entirely. The old method is to have a unix executable called InstallationCheck, which can return an error, a warning, or a nonError code. Typically people write these in perl or one of the shell scripting languages. 

There's also a newer, _javascript_-based "distribution script" that has the same functionality. It is preferred because _javascript_ provides a sandbox which prevents Installation Check scripts from altering the user's disk.

If an Installation Check returns an error, the installation window will show an error and prevent the user from continuing to install. In 10.5, for example, the error drops down on a sheet and presents a button called "Close" which quits the installer.

This seems like what the client wants: The user sees an error, acknowledges it, and the install quits. It requires no extra code and is compatible with the command line installer.

(There's also Volume Check scripts, which prevent installation on particular disk volumes.)
 _______________________________________________
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: Quitting the Installer (From: raju p <email@hidden>)

  • Prev by Date: Re: Quitting the Installer
  • Next by Date: Re: Quitting the Installer
  • Previous by thread: Re: Quitting the Installer
  • Next by thread: Re: Adobe Creative Suite 3 - how are you guys pkg'ing for deployment?
  • Index(es):
    • Date
    • Thread