Re: How to recover from Installer-induced corruption?
Re: How to recover from Installer-induced corruption?
- Subject: Re: How to recover from Installer-induced corruption?
- From: Iceberg-Dev <email@hidden>
- Date: Sat, 21 Aug 2010 00:43:59 +0200
On Aug 20, 2010, at 8:52 PM, Bill Cheeseman wrote:
While developing an installer package with PackageMaker 3.0.4, one
of my test computers seems to have become corrupted. The final
version of the installer works perfectly on two Snow Leopard
machines, but on the PPC/Leopard test machine it puts up a FAILED
message when trying to run a preinstall script (or sometimes a
postinstall script).The scripts are known to be good. They worked
fine on this machine in previous versions of the installer, and
they have not been changed. Installers for other products continue
to work fine.
Since the installer works correctly on other computers and other
installers work correctly on this computer.
When you write installer, do you mean package?
I will probably write stupid suggestions but:
- have you tried running the preinstall or postinstall script outside
of the package? Directly from the Terminal?
- could it be possible that this script is calling some external
tools that are missing from this computer?
I'm suggesting this because I was recently faced with a case that
sounds like yours.
On a computer, an uninstaller was not working. It was working on our
computers but not on this computer. The uninstaller was calling a
shell script which itself was using the rm tool. We found out that
the origin of the issue was that the rm tool was "missing" from the
computer. Since rm is in /bin/rm, this could have been an accidental
corruption. Well, no. It turns out that the user had run a utility
distributed in a Mac Magazine and the purpose of this utility is to
"increase" the security of the Mac by renaming the rm tool to some
other name...
_______________________________________________
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