RE: Missing install receipt and script parameter in Snow Leopard
RE: Missing install receipt and script parameter in Snow Leopard
- Subject: RE: Missing install receipt and script parameter in Snow Leopard
- From: "Riffel, Allen" <email@hidden>
- Date: Thu, 15 Oct 2009 07:41:14 -0700
- Thread-topic: Missing install receipt and script parameter in Snow Leopard
In Snow Leopard they were nice enough to move the receipts folder to:
/private/var/db. Also, the receipts folder in that directory is all
named with lower case characters: "receipts".
Allen Riffel
QA Engineer
Extensis
http://www.extensis.com/
phone: 503.274.2020 x116
email: email@hidden
Font and Creative Assets Management Software. Trusted by Millions.
To learn more about Extensis Solutions, visit:
http://www.extensis.com/en/solutions/index.jsp
Notice: This communication may contain privileged or other confidential
information. If you are not the intended recipient, or believe that you
have received this communication in error, please do not print, copy,
retransmit, disseminate, or otherwise use the information. Also, please
indicate to the sender that you have received this email in error, and
delete the copy you received. Thank you.
-----Original Message-----
From: installer-dev-bounces+ariffel=email@hidden
[mailto:installer-dev-bounces+ariffel=email@hidden] On
Behalf Of Jim Dodd
Sent: Thursday, October 15, 2009 07:31
To: email@hidden
Subject: Missing install receipt and script parameter in Snow Leopard
I have an installer package that runs on both Leopard and Snow Leopard
successfully. There are three problems, though:
1) For Snow Leopard, I had to modify our postupgrade script to deal with
a missing parameter passed to the scripts by the Installer.app. I do not
know if it is the third or the fourth parameter that is missing. All I
know is they have been there in all other versions of OS X and now they
are not. There are four parameters passed to the preupgrade script.
Problem 3) below explains why I can't verify if the postinstall script
has the same problem.
2) For Snow Leopard, I am not seeing a receipt in the /Library/Receipts
folder after the install script runs successfully.
3) For Snow Leopard, whether I remove old copies of our application
before installing or not, I always see the preupgrade and postupgrade
scripts run. I never see the preinstall and postinstall scripts run.
Since I can't find a receipt, I can't remove that for testing.
Are these known problems? I am willing to enter bug reports if these are
real problems but I don't want to raise a false alarm if I'm just doing
something stupid. Is there now a "Use Receipt" flag I'm missing from
PackageMaker or something like that?
I have attempted to look through the list archives of this group and I
find nothing about these problems other than my original request for
information about the missing script parameter.
Thank you,
Jim Dodd
Onset Computer Corporation
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
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