Re: "Common" post-install script
Re: "Common" post-install script
- Subject: Re: "Common" post-install script
- From: Iceberg-Dev <email@hidden>
- Date: Mon, 22 Mar 2010 22:58:05 +0100
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