Re: preflight script with productbuild
Re: preflight script with productbuild
- Subject: Re: preflight script with productbuild
- From: Eric Gorouben <email@hidden>
- Date: Mon, 23 Mar 2015 13:13:51 +0100
Thanks to both for your help.
Eric Gorouben
> Le 21 mars 2015 à 14:08, Stephane Sudre <email@hidden> a écrit :
>
> Some additional notes just in case:
>
> - preinstall script with the new flat format are the equivalent of
> preflight script: they are always run be it a clean install or an
> update).
>
> - make sure the component pkg that only contains a preinstall script
> is listed before the product component in the choices list. That's
> what determines the order of installation (usually).
>
>
> On Fri, Mar 20, 2015 at 9:53 PM, Greg Neagle
> <email@hidden> wrote:
>> 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
>
>
>
> --
> 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
_______________________________________________
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