• 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: Shouldn¹t allow to install on non-Macintosh Volumes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shouldn¹t allow to install on non-Macintosh Volumes


  • Subject: Re: Shouldn¹t allow to install on non-Macintosh Volumes
  • From: Karl Kuehn <email@hidden>
  • Date: Mon, 05 Sep 2011 10:24:32 -0500

On Sep 5, 2011, at 7:02 AM, Per Olofsson wrote:

>> If by the Macintosh Volume, you mean the Startup Disk, you just need
>> to allow the package to install only on the root volume.
>
> And note that this package will then fail to install with DeployStudio, InstaDMG, and on NetInstall NetRestore images. Whatever dependency you have should should probably be checked with a installation check script instead.

	Actually, for command line installs the 'root volume only' marker is totally ignored. So InstaDMG and the others will happily install it. The problem that often occurs in cases like this is that something in the pre- or post-flight scripts assumes that / is the install location, and so gets itself in trouble. The general solution there is to make sure that pre- or post-flight scripts use the $3 input to correctly determine where things should go, and also detect that it is a command line install (the COMMAND_LINE_INSTALL environment variable) and then not do things that would be inappropriate (show dialogs, load kexts, etc).

--
	Karl Kuehn
	email@hidden _______________________________________________
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: 
 >Shouldn¹t allow to install on non-Macintosh Volumes (From: Satyanarayana Chebrolu <email@hidden>)
 >Re: Shouldn¹t allow to install on non-Macintosh Volumes (From: Stephane Sudre <email@hidden>)
 >Re: Shouldn¹t allow to install on non-Macintosh Volumes (From: Per Olofsson <email@hidden>)

  • Prev by Date: Re: Shouldn¹t allow to install on non-Macintosh Volumes
  • Next by Date: Re: Shouldn¹t allow to install on non-Macintosh Volumes
  • Previous by thread: Re: Shouldn¹t allow to install on non-Macintosh Volumes
  • Next by thread: Re: Shouldn¹t allow to install on non-Macintosh Volumes
  • Index(es):
    • Date
    • Thread