• 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: Installing files in postflight
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing files in postflight


  • Subject: Re: Installing files in postflight
  • From: Stephane Sudre <email@hidden>
  • Date: Fri, 14 Sep 2012 09:02:33 +0200

On Thu, Sep 13, 2012 at 11:34 PM, Mitchell Laurren-Ring
<email@hidden> wrote:
> (I never received a reply for this so I'm sending again)
>
> We deliver our software via dmg file. The disk image contains the installer,
> a read me file and a custom uninstaller.
>
> Currently, the installer archive contains duplicate copies of the
> uninstaller and read me. I would like to add a couple of copy commands to my
> postflight script so that I don't have duplicates.
>
> Is there a way to add these files to the package receipt from my postflight?

Maybe this can be achieved using through something like this:

pkgutil --export-plist yourpackageid > /tmp/somefilename.plist

# modify the plist file to add the files to the plist

pkgutil --import-plist /tmp/somefilename.plist

Might be worth a shot.




--
Packaging Resources - http://s.sudre.free.fr/Packaging.html
 _______________________________________________
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: 
 >Installing files in postflight (From: Mitchell Laurren-Ring <email@hidden>)

  • Prev by Date: Re: Signing packages
  • Next by Date: pkg installer interface size...
  • Previous by thread: Installing files in postflight
  • Next by thread: pkg installer interface size...
  • Index(es):
    • Date
    • Thread