Re: Need to have Installer plug-in select/deselect packages
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:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=zWlckihmzaXpJJtwCEzVCxUiQKuT+24sNXUSvNNbXBw=; b=bJmCC95AYYvVxbkJL6D5eQp3hYrJHNW5lLaCRr6eoGAn/IHU3v537RvZgkoS042xev iLo3DaKaWZ2Y0sG+HdbKVvdNPAfBHp9zzPugzMviPOGPGTA9JOUjND0ty1ljv+a2mEwp /hzAaCDmQacbyIP2lnkhXyGhDX+L/Zj7q08VY= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=gCq+1mFf/cBirEsyR465KPaHIJSeB1PweqAS71NWpvClKAcjSs9fzZwV6VUrfnFXtx ou7Eq8Ekqn3UaSrZW3gWS3BWACaKgr+7cFUDyZHIl+YoEoxX6/6euURYfyvASvefgv5s 9ur7ajbfI852NvDR9JS9HAJRC+7chWLAiTUUg= On Apr 27, 2009, at 9:57 PM, Tony Zepeda wrote: Hi installer-dev@lists.apple.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... [...] There's another approach I can take but I'd rather be able do everything I need to do internally, within the installer. The other approach is basically chaining two installers. 1) Have one installer or application get the needed user input via custom code. 2) The custom code saves the needed information on disk and then launches the second, chained installer. 3) The main installer, on launch, will read the information on disk and via the Distribution.dist javascript mechanism, select and deselect the packages. I would need to do it this way because the Distribution.dist javascript file runs when the main installer first launches. So the information needed that selects and deselects packages in the main installer would have to already exist, on a file on a disk for example, when the main installer launches. I also know that packages can depend on packages, so if one gets selected/delected, other packages can get selected/deselected, but I can't do it this way. I'd appreciate input on this. Your solution based on an application is a good one IMHO. It would avoid you the trouble of seeing your packages being installed without the plugin being run (command line / ARRD/ etc.). It might not be totally impossible to re-evaluate the choices from an Installer plugin (with _evalItem:forAttribute:incrementOnEval: for instance) but that solution would be unsupported, Maybe you could also contact the mothership and see if they can offer a better solution. This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev