Re: Pre and postinstall scripts not running from PM 3.0.1 pmdoc
Re: Pre and postinstall scripts not running from PM 3.0.1 pmdoc
- Subject: Re: Pre and postinstall scripts not running from PM 3.0.1 pmdoc
- From: Scott Amory <email@hidden>
- Date: Tue, 2 Dec 2008 09:46:45 -0800
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
@apple.com
This email sent to 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