Re: Problem with metapackage postinstall task on OS X 10.3.9
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=j/7Pv3JUkR1QAw8XrhxuySCXdKbZogqsZsO+lRBGY3V0X+dqzqh6vT34TamM4Im3Ef6XlWZHa27Rw9VBnRu4N4MaPVZdpkoLIjOquIi2G5JnrxLM9lgmF6QhjN7c+MUbYRURG90ObCBWDlGblNVqIzQIp7GpNd26u75Z3rBlOBs= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=B/clzWOLnb3pve5zUJrsKxmH6hN3hLMi5O2ldaerX/zKA5UlqenbGp7dTo/mhExKKHGlxo2lqcQaOVkkv0rOnPdXV8UWxx2sVhwt09uciH1GN/hrAx5TjZVj/8JV3DQI/DDJUl4MPnZ6U8/p9tf3LBI5CIAtELsBr9GaSlNdA1M= User-agent: Thunderbird 1.5.0.12 (Windows/20070509) Hi Stephane, Thanks for the advice. Here is my reasoning behind the current structure. - Rick On mercredi, août 15, 2007, at 07:44 PM, cohen.rick@gmail.com wrote: I have a stupid suggestion. Wouldn't it make sense to just have a postflight script? This email sent to rcohen.lists@gmail.com _______________________________________________ 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... Currently, I use the same postflight script for each package. All it does is delete the receipt. The postinstall does all of the "heavy lifting", the real work, which is different for each package. The postinstall for the metapackage relies on some data that is computed in the individual package installers, so I need to run it. FYI, this installer is on a cross platform DVD, and none of the files that are installed are actually in the packages. Stéphane Sudre wrote: A bit more information. My installer did run the postinstall for the metapackage the 2nd time I ran it. That is because my installer also deletes receipts in the postflight scripts, so the installer never "upgrades". Unfortunately, I used a bad naming convention for the packages and my package name matched another that was in my receipts folder. So, because one of the packages was an "upgrade", the metapackage postinstall never ran. I don't really understand that, but there it is. What's surprising is that you're seeing the postinstall script of the two packages being run. Since you delete the receipts after installation, why do you bother with 2 scripts for each package (postinstall and postflight)? _______________________________________________ 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/rcohen.lists%40gmail.co... This email sent to site_archiver@lists.apple.com
participants (1)
-
cohen.rick@gmail.com