Re: does script have return value? and how to make uninstaller app?
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=OiBhHHtW9CXU1h/KbW3tJx3DrdI1hi5TSNPmE69ctok=; b=my+KMfVWrLCKjufxMoGbdAd7nunHzM69zFV/NpCnJpPddM4DSm8pqp8auvBkiAjH+6 xESqYIulEjYBjyYn4MAf2vHH76OnRXuuwRM4MO3o3jInhAzipWWvJdl2x7A6i3DjMXts 9eluSFc99E29sgzW4IS4FS1YGPYfen1pG2BP8= 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=qDBArEK9hafAa10lzudvW6v+4JAM9yDh26aT+rtER0mxQkSBBpIgy1lIuOxLPvCABJ a/6674VHOw/PWbaXXKFTUZ/tlF7Ov70k2f/Jxh/bhaCjgfuZ6BAquoL76Qbp6RvgjpsB XGZ5p5kvp+eZmQ+1fgC23mMKTZ3yu3MNvh+0w= On Jun 24, 2008, at 11:59 PM, Andrew Li wrote: http://s.sudre.free.fr/Stuff/PackageMaker_Howto.html -- Karl Kuehn larkost@softhome.net _______________________________________________ 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... Hi, I have read the <<SoftwareDeliveryGuide.pdf>> document, and it says that only the preflight, preinstall, and preuprade can stop an install. When one of these executables returns anything other than 0, Installer cancels the install. So, my question is that, Is there any other return value from script? If I want to get some return value from these scripts, so how can I do? The documentation on this is a little scattered, but there is a good summary of what you are looking for on this page: Search for the phrase "32: Warning", and that should get you to the right place. And, my other question is that, how to make an uninstaller app using PackageMaker? That is a bit more difficult, and you would be scripting everything. A .pkg only really supplies a rudimentary GUI and an easy-to-use method of acquiring the rights you need. This email sent to site_archiver@lists.apple.com
participants (1)
-
Karl Kuehn