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:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=0Y4bbi68oHImmabmIA1GqtBumfAXpTwYqfl16QIwytY=; b=CWT4YS5V/KBqaJxYBgyazDTl276rUwrOeWlTSLLz8lt04DZvHpV4WgUlpnNIGzHVuA hUf7vpNTNGbC13gBdOkRkoB4SbgWGH4ZY3ZnG8zh5mEIOXldaonVfwwVUzQTJ58x2lgC mMUfkGbLGvWAzASTyAxbNg+uo4m9z/fATolMQ= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Upt3z8rDHBSXDLZ0Kr5lp+Q7l7xZEUdAdccKUYq+FeF6DkxYBb+NDT92FrWYPU9uwE va9Tk5wm6fLOadCTwxoKGNFdkr+3cBUN14NEwIt9WKGnKA/70vYp6O0QZy3h6V1yhfBA X5yRdp+CbhcTtaP690rGLDCT0CVYZTSHHs0u4= 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 <jonhodgson.devlists@googlemail.com> wrote:
On Thu, Jul 8, 2010 at 4:45 PM, Stephane Sudre <dev.iceberg@gmail.com> 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 (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