How to get Choice Requirements to work when there is subchoices.
How to get Choice Requirements to work when there is subchoices.
- Subject: How to get Choice Requirements to work when there is subchoices.
- From: "Andrew Peckover" <email@hidden>
- Date: Wed, 12 Aug 2009 10:04:33 -0700
I'm trying to work around what is likely a bug.
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 done.
--
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.
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
Attachment:
choices.png
Description: PNG image
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden