Re: Pre and postinstall scripts not running from PM 3.0.1 pmdoc
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AclUqKZqUk+NSwUN/UeaqwyOABWjgg== Thread-topic: Pre and postinstall scripts not running from PM 3.0.1 pmdoc User-agent: Microsoft-Entourage/12.10.0.080409 Thanks to you and dev.iceberg! Your explanation got me over the hump! Regards, Steve O'Sullivan On 12/2/08 9:46 AM, "Scott Amory" <samory@apple.com> wrote:
Hi Steve,
Can you clarify if you are using bundle style (targeting 10.4 or less) or flat (targeting Leopard only). If you are using bundle style check that you haven't already installed the package and are reinstalling it. Remember that in bundle style packages there are 3 different kinds of scripts that can run under certain conditions:
pre/postflight - these are always run when a package is installed pre/postinstall - these are only run the first time a package is installed pre/postupgrade - these are only not run the first time a package is installed.
Hope that helps.
Scott
On Dec 2, 2008, at 8:51 AM, OSullivan, Steve wrote:
Greetings all,
My apologies for this re-send. I am just hoping that perhaps one or two more people may see this and respond. This is the last time I will send this out....
In a nutshell, my pre- and postinstall scripts are not running from my package. I have three components under one install option, and I am allowing only an easy installation on the system volume. One component has a set of pre- and post install scripts attached to it, and the second has a postinstall script attached to it. The third component has no scripts attached.
My scripts are Bourne shell scripts (each starting off with #!/bin/ sh) and are executable. I have written them in TextWrangler. They are in Mac OS Roman encoding with Unix LineFeeds. (I hope this is not considered extraneous....)
In an earlier iteration of this installer setup, I did have a postinstall script that executed properly, and I think I have set things up virtually identically between the two iterations. I cannot seem to find where I am messing up....
I have put echo lines into my scripts that output to textfiles to see if the scripts are running, and the output files never get created. Therefore, I do not think that the scripts are running at all.
If anyone has any suggestions as to how to best troubleshoot this, I would really appreciate your input.
Thanks for any and all advice.
Regards,
Steve O'Sullivan
_______________________________________________ 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/samory %40apple.com
This email sent to samory@apple.com
_______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
OSullivan, Steve