Re: Installer changes permissions on itself and its payload after 1st run
Re: Installer changes permissions on itself and its payload after 1st run
- Subject: Re: Installer changes permissions on itself and its payload after 1st run
- From: Stéphane Sudre <email@hidden>
- Date: Sat, 12 Jul 2008 00:48:22 +0200
On Jul 11, 2008, at 8:24 PM, Mike wrote:
I have an installer I built with Xcode 2.5's PackageMaker under OS
X 10.5.4.
My installer has some plugins and a few scripts, and an
InstallerSections.plist file.
It's an .mpkg with sub .pkgs in it.
When I run the installer and install my product, everything works.
However, on any subsequent install from the same binary copy of the
same
installer, the resulting product doesn't work properly because the
installer has changed some of the permissions on the installed payload
and on the internal installer components themselves.
If I delete all the installed binaries and the installer, and
Finder-copy over a new copy and run it again, everything works.
I checked my preflight and postflight scripts and they don't change
any
permissions when they run so what gives?
What could cause this behavior?
Use lsbom (or Pacifist) to check the permissions of your payload
inside the packages. It may show something.
_______________________________________________
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