Re: does script have return value? and how to make uninstaller app?
Re: does script have return value? and how to make uninstaller app?
- Subject: Re: does script have return value? and how to make uninstaller app?
- From: Karl Kuehn <email@hidden>
- Date: Wed, 25 Jun 2008 08:50:26 -0700
On Jun 24, 2008, at 11:59 PM, Andrew Li wrote:
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:
http://s.sudre.free.fr/Stuff/PackageMaker_Howto.html
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.
--
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