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:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=+KXJGwaRoU4M9PFbh04WeRrX54O+dRnTXCehYp1zy3s=; b=EtpECKJIWdXmps4fcRKvaBPAahejX5NAMAN8md/Ubp570Wd4XdWXsQNHq73kfkdRR6 ECGFjeO+W1E7Sg6FoVyY+VKUeUXxqK7OdjtEJc0YW7ZccdJoILf5Yy3lNUcjr9MP/RO9 Xft3iSIp/REQZxcecJIDaZlSPQb3xRL58tT0w= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=b6TjMczjQvuecw7T9zmgUq7OMKXbphSOTeT6UXWIlBqIAJAUd8zupynJ/50zCdTJuu CLU3oPakrx/qvipYj1bwrnT0Xod8RtEFqAFF4yOFlRbH8SONvmU1u9J9c/ptr2gS4UI/ j5KF5SkQ/5igCqq9hiZrYby+ih96noAXLFpRw= -Erik On Jan 12, 2009, at 9:51 PM, Bill Coderre 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... You're absolutely right-- I'll make sure to implement a full suite of testing in InstallationCheck and VolumeCheck. It was simply for testing purposes though-- a client wanted to see what the error looked like. I figured it out though. An exit of anything greater than 0 seems to do the trick. On Jan 12, 2009, at 6:03 PM, Erik Benoist wrote: How can I get a preflight script to cause the installation to be canceled? I want to make sure a few things happen in the preflight script and I would rather have the installation error out then to continue with installation. It is considered Bad and Wrong to error during preflight, especially if your installer might be part of a bigger metapackage. I am not sure what Installer does when you return an error. I have always made sure not to. I realize this is not so helpful, but gosh, would you like to come back from lunch and see that your install stopped 2 minutes into its 45 minute run? There must be some kind of way to check for errors during InstallationCheck or VolumeCheck instead. This email sent to site_archiver@lists.apple.com