Re: "Common" post-install script
Re: "Common" post-install script
- Subject: Re: "Common" post-install script
- From: Rustam Muginov <email@hidden>
- Date: Tue, 23 Mar 2010 07:28:03 +0300
So, PackageMaker does guarantee to install components exactly in the order they are places in the package list?
Is it documented anywhere?
Thank you.
On Mar 23, 2010, at 12:58 AM, Iceberg-Dev wrote:
>
> On Mar 22, 2010, at 8:46 PM, Rustam Muginov wrote:
>
>> Hello all.
>> I am building installer for 10.5 and later.
>> I do need a "common" post-install script, which would run after all components are installed. Currently, i can see options to assign preinstall/postinstall script for a particular component, but for whole distribution where are only "Actions" with the fixed list like "Create Alias", "Load Kernel Extension", e.t.c.
>> How could i add a script which would guaranteed to run after all components have been installed?
>
> A solution (which is the one PackageMaker uses for its distribution pre/post actions) is to have a package that contains an empty payload (i.e. no files are being installed) and a postinstall script. This package needs to be placed as the last package of the packages list and its visible flag should be set to false.
>
>
> _______________________________________________
> 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
--
Sincerelly,
Rustam Muginov
_______________________________________________
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