Re: How to get Choice Requirements to work when there is subchoices.
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Andrew I'm trying to work around what is likely a bug. I don't want the user having to choose the same folder for each of the 10 packages, otherwise I wouldn't have a problem, since the requirements work if there aren't subchoices. If anyone can make sense of this, let me know if you can think of a different way to accomplish what I am trying to do. Thanks, Andrew -------------------------------------------------------------------------------- _______________________________________________ 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/apeckover%40pgmusic.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... Just in case anyone's interested, I was able to work around this by simply adding the functions to the script in the *built* package. ----- Original Message ----- From: "Andrew Peckover" <apeckover@pgmusic.com> To: "Installer-Dev mailing-list" <installer-dev@lists.apple.com> Sent: Wednesday, August 12, 2009 10:04 AM Subject: How to get Choice Requirements to work when there is subchoices. It appears that choice requirements don't work when there are subchoices. Maybe I'm not using the correct term "subchoices" - have attached a picture of what I mean - this is setup using raw editing mode, since it can't be done in the user interface (as far as I know). By examining the distribution script in raw editing mode, I can see what is happening... when there are subchoices, the requirement's function goes missing, even when added in raw editing mode. The function call is still there in the choice line (i.e. start selected="pm_choice1_selected()", the Function pm_choice1...." is gone. -- Anyways.... perhaps there is another way to do what I am trying to do: I have 10 packages, each of which need to be installed only if a certain file exists. The file is different for each of the 10 packages. In addition, the user can choose a custom folder to install to, but each package should be installed to the same custom folder. This is why I use subchoices, so in the Custom Install dialog, the user only has to choose the custom location once, and all of the sub-items will then install to that location. This email sent to apeckover@pgmusic.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Andrew Peckover