Re: Installing files in postflight
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