• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Installer changes permissions on itself and its payload after 1st run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Installer changes permissions on itself and its payload after 1st run (From: Mike <email@hidden>)

  • Prev by Date: Re: Uninstall problem...
  • Next by Date: Re: recipe for querying an info.plist file from postinstall?
  • Previous by thread: Installer changes permissions on itself and its payload after 1st run
  • Next by thread: recipe for querying an info.plist file from postinstall?
  • Index(es):
    • Date
    • Thread