Re: Packages: Issues with 10.2 Installer App
Re: Packages: Issues with 10.2 Installer App
- Subject: Re: Packages: Issues with 10.2 Installer App
- From: stephane sudre <email@hidden>
- Date: Fri, 8 Oct 2004 19:12:57 +0200
On Oct 8, 2004, at 5:31 PM, Huyler, Christopher M wrote:
I have some basic shell scripts that I use during my package install,
preflight and postflight. I was running some tests on a fresh 10.2.0
system and even though the postflight script failed and returned 1, the
Installer Application said the software installed successfully. I
tried
changing postflight to postinstall/postupgrade to see if that made a
difference but it didn't.
Am I doing something wrong or is the 10.2 Installer Application broken?
Shouldn't the install fail if anything other than 0 is returned?
Stupid question: is this working on later versions of 10.2 or
Installer.app?
Because if it is, then it was a bug which got fixed. So your only hope
is to find a workaround:
a really stupid one which comes to my mind is to kill the Installer pid
and display an alert from the preflight script. Haven't tested it
though.
Also, I noticed that you can display a message when something fails in
the InstallationCheck script by making an InstallationCheck.strings
file. Can you do the same for the other scripts? It would be
nice...the more customizable an install using Installer is, the easier
it will be for Developers to adopt the package technology.
You can for VolumeCheck but not for other scripts.
One possible solution involves using a secondary tool using the
CFUserNotification API from the CoreFoundation framework from the
Script.
BTW, there's a new installler-dev mailing list hosted by Apple:
http://lists.apple.com/mailman/listinfo/installer-dev
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden