Re: How to test to see if a program is running?
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=0GvUHwUidLFdFV4Zc1KfqOLZOiMMOI8oah9xYesORq4=; b=jxLXRgjOBhl3zEi09TtgrjN15ylhGyUn51eO2oTTGeQBnVFuvAlNYWUVTOkZSkFWCZ 6yl3yEQ6Ci743G767UXqu14Fg5zUCTwz6iEsmI5A22zW1V92FIec1r7BMPAQpf51ensh ydG6Vzj1OLoBFIiOFefpxBVTXTUCt4cTc132Q= 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=TQy3YKQyhoIZsr1Gi2xliC7Ir0ec7So7w2aSPrgg8j3cT2FCaXUM7lXBo/MZeCUe5+ 6000QhR9YZEXZB45QadyTb1Ba2E0r0GX1Z1JnlEb5YzwUf//gfpwOHj9G5rCRFrnXLNf NAmsjJqYH89b9bNZ8IQDehFqrPlAbrNACmgpk= On Mar 5, 2010, at 6:32 PM, Allan Marcus wrote: Please let me clarify. questions: 1) what should the script return to indicate pass or fail? exit 0 for pass exit 1 for fail ? Whatever you want. The exit value is the value returned by system.run. _______________________________________________ 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... I see that I can have a script run for system requirements. I cannot find any documentation on how to use this feature. I have a test.sh script that I put into the script path field. 2) the script doesn't seem to get included in the package. In the installer log when I run the installer it appears the install is trying to run the script from the original location. Yes, this is a known bug. I reported on my side probably more than a year ago. The only solution I know so far to work around this issue is to build a bundle distribution (this means choosing 10.4 as the target in PackageMaker). Then you need to edit the distribution script and copy the script in the Resources folder. This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev