Re: preflight script with productbuild
Re: preflight script with productbuild
- Subject: Re: preflight script with productbuild
- From: Greg Neagle <email@hidden>
- Date: Fri, 20 Mar 2015 13:53:20 -0700
Use pkgbuild to create a component pkg with your _preinstall_ script (pre_flight_ scripts are no longer supported).
Then use productbuild to build a distribution pkg containing your component pkg.
-Greg
On Mar 20, 2015, at 12:02 PM, Eric Gorouben <email@hidden> wrote:
> Hi there
>
> I try to include a preflight script (a shell script that sudo removes obsolete files...) to my product archive.
> I build the archive using productbuild and a xml distribution definition file, and I can't find the correct way.
> Did anyone successfully achieve this?
>
> Thanks in advance
> Eric Gorouben
_______________________________________________
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