Re: Requiring restart in component package using pkgbuild
On Tue, May 1, 2012 at 12:59 AM, Vikram Singh <vikram731@gmail.com> wrote:
From what I understand, component packages are for installing a single component of that full application. So if you want to specify Restart Action on a component package, it is similar to specifying that action on the Distribution that installs that component package. Component packages can definitely be more modular when they could specify their own requirements but requirements like Restart Action can be redundant if allowed for a component package. For example, if you have many component packages, you may end up including Restart Action on all of them when specifying only on the Distribution serves the same purpose.
I hope doing this in Distribution is the better way to go. Though you can wait for other answers as well :)
Defining the conclusion action in the distribution is not documented (even in the updated documentation from February *)… The conclusion action is not attached to a distribution but to each pkg-ref. Having the installer application figure out what the appropriate conclusion action should be based on the ones defined for each package is way more flexible. Ideally, it should be able to figure that based on the selected choices (I didn't check in a recent build of Mac OS X whether this has changed or not). _______________________________________________ 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: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre