site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=mu/VuLLInU1cHaARbnqxp8timukyAg5HkJtAUafD8W8=; b=K1qLsVNRxzgYkPQBmEDYucrRQ9OwaQ9JzWNvaDg7EjqmmbIf+saEW124iByU+5sH9x wTqVmlGvXl5gwsEZDDC7UUQ2DmI3b8bzp5INsQ6kK0XGPr9rKmAf27KL+22PsRRvdvhV l/Xg2Clv19fMr94+7EKfgZV8cRCoouzobSHKU= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=BGt6ArUvrJHtaI/M/ITcdNdWntqDgAGPcNYbw6y3PCMhGHJD+c664EfjqvW2c00qHO pv3dbxmqVdfrcqBIp3zcLQb/iFYcFkmiN9Ssb1XH2i6FDvEFp1esaabo2UnnNUKtJkHd UXQrO9OdJeztZQFv+AhYzxQZ4aERd9ryjJjrU= 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/rmuginov%40gmail.com
This email sent to rmuginov@gmail.com
-- Sincerelly, Rustam Muginov _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com