• 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: Copying Files in a Plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copying Files in a Plugin


  • Subject: Re: Copying Files in a Plugin
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 20 Aug 2008 23:07:21 +0200


On Aug 20, 2008, at 7:36 PM, Howard Shere wrote:


I need to copy some files into the application bundle which will replace some files installed by my installer.


I wrote an installer plugin to do the work and the files are being put into the installer bundle on the server before the installer is downloaded by the customer.

When the customer runs the installer, it goes through the normal install process and then runs my installer plugin which is supposed to copy files over from the installer bundle to the application bundle.

Installer.app runs with the current user id. It doesn't matter if you ask for root authentication or admin authentication.


Therefore if you need to change the contents of a root:admin 775 application, you need to belong to the admin group.

If you want to copy files, do it from a postflight script for instance.

My $0.02



_______________________________________________
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: 
 >Copying Files in a Plugin (From: Howard Shere <email@hidden>)

  • Prev by Date: Re: Launch Services cache not updated?
  • Next by Date: 10.5 commandline NSInvalidArgumentException
  • Previous by thread: Copying Files in a Plugin
  • Next by thread: Launch Services cache not updated?
  • Index(es):
    • Date
    • Thread