Re: correct way of putting InstallationCheck script
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:in-reply-to :references:content-type:message-id:content-transfer-encoding:from :subject:date:to:x-mailer; bh=T/bhCsrxBMNySzLQW+Ch0OorQe/QD8g9VNxWxOluy6Q=; b=uf1dz8UP0meQJyiOb2PiBHYrEbF0FRPoA9GqwYQGbXaQqLV51dCkXDTVFazoXujp3i 5eUVmZ5kTNX11hJcdJ56MFYB21DRmFydZilVUqdrbMogWLHROqvkKwQZBbIiopySB8zw glf9LHQmS/JnejS7q1JSwlaL7k8rVUp4XJ1YE= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:content-type:message-id :content-transfer-encoding:from:subject:date:to:x-mailer; b=w6Lc+6qkLl+5iNcbYUZqtoG8OyMZHU27SxddULaDQgn6lQHDHdrga8gSRnv7GvLJ21 D1rj3w85IyNuZymWsbKXiest2DMuFJA6KgwfnqcPNbXE/VGSHhen1JxHNfrV1iDsLua/ su8QhxYVNcKsbalrAz6mELDsFg9vSAD040aVY= On Mar 27, 2010, at 11:51 AM, spondita Madhuri Neog wrote: _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... InstallationCheckScript are used only by metapackages and packages. They are not supported directly by distribution scripts. If you want to set an InstallationScript on a metapackage, you need to select the Mac OS X 10.3 target. Mac OS X 10.4 target implies it will be a distribution script if you're not building just one package. InstallationCheck script may not be invoked by a metapackage if requirements are defined (because the purpose of requirements is to replace the InstallationCheck and VolumeCheck scripts). Can anyone tell me which is the correct way of putting InstallationCheck script into a package.I have dragged and dropped the Installationcheck script into the "resources" folder of the package in "raw editing mode" and after building of the package when I do "Show Package Contents" I am able to see the scripts but the scripts are never invoked.My InstallationCheck script checks if the application is running and throws an error if it is running.But no custom error message(which I had defined in InstallationCheck.strings file) is not getting displayed if application is running. I am using minimum target as 10.4.,packagemaker version is 3.0.4 I have read somewhere that InstallationCheck script works only for packages not for metapackages.Is it true? Kindly help. This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev