Missing install receipt and script parameter in Snow Leopard
Missing install receipt and script parameter in Snow Leopard
- Subject: Missing install receipt and script parameter in Snow Leopard
- From: Jim Dodd <email@hidden>
- Date: Thu, 15 Oct 2009 07:31:21 -0700 (PDT)
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:
This email sent to email@hidden