Re: Problem with installing to /private/tmp
Re: Problem with installing to /private/tmp
- Subject: Re: Problem with installing to /private/tmp
- From: "Mark Hatsell" <email@hidden>
- Date: Tue, 9 Nov 2010 09:44:21 -0000
Hi Dave
Yes, I had exactly the same problem in that installing an
upgrade (or even reinstalling the same version) didn't put the files into tmp. I
tracked this down to the fact that I was moving the files out of tmp in a
postflight script. If I instead copied the files from tmp (rather than moving
them) it seemed to work. It appears that if any of the installation files are
removed, as they effectively are by moving them from tmp, they are not installed
on subsequent upgrades or reinstalls.
I have no idea why this behavior is there. I ended up working
around it by installing the files I needed with by application and copying them
from there, since I didn't really want to leave anything in tmp.
Hope this helps.
Regards Mark
----- Original Message -----
Sent: Friday, November 05, 2010 4:06
PM
Subject: RE: Problem with installing to
/private/tmp
Hi,
Ive
just the same thing during testing.
From
what I can tell, files installed to /private/tmp dont show up on Tiger, but
they do on Leopard and Snow Leopard.
Is
this to be expected / a bug ??
Regards,
Dave
I have built a package
installer for my app which generally seems to work successfully. However, on
some machines there seems to be an issue with installing a file to the
/private/tmp folder. The file I am installing here is later used in a
post-flight script where it is conditionally copied to another folder. The
problem manifests itself as an "Install Failed" at the end of the
installation process. The exact error is: "The following install step failed:
run postflight script...".
From looking at the
install.log file, it appears that the post-flight script is failing due to the
file that is supposed to be installed to /private/tmp not being present. This
confirmed by the following line in install.log which indicates that one file
from the installer has not been written (26206 of 26207
files):
May 25 06:26:28
Jamie-Coventry pkgExtractor[295]: 26206 of 26207 files written in 133.07
seconds.
Has anyone got any idea what
might be causing this failure to install the file on some
machines?
|
_______________________________________________
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