Re: Post install / post flight in distribution script
Re: Post install / post flight in distribution script
- Subject: Re: Post install / post flight in distribution script
- From: Stephane Sudre <email@hidden>
- Date: Thu, 8 Jul 2010 19:25:13 +0200
In theory, if the invisible package is the latest in the root-level
choices hierarchy, it should be the last one to be installed.
I tend to believe that postinstall scripts (for flat package) are run
after the payload has been installed. For bundle packages, a
postflight script would ensure the script is run after all the
packages have been installed.
This would require some tests.
On Thu, Jul 8, 2010 at 6:09 PM, Jon Hodgson
<email@hidden> wrote:
> On Thu, Jul 8, 2010 at 4:45 PM, Stephane Sudre <email@hidden> wrote:
>> With distribution scripts, there are no preinstall and postinstall
>> options in the script itself.
>>
>> A solution could be to use an invisible package with an empty payload
>> and a postinstall script. IIRC, this is what Apple is using for the
>> pre/postaction stuff (Create Alias, Get Application, etc.).
>>
>
> What about the order that thing are done in? This only works if the
> postinstall script is run after everything else I think?
>
_______________________________________________
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