Custom Install pane questions
Custom Install pane questions
- Subject: Custom Install pane questions
- From: Natalia Antonova <email@hidden>
- Date: Thu, 21 Feb 2013 11:38:23 +0400
Hello
On the Custom Install dialog I have 7 visible components that user can customize. All the components must be installed to the same directory, but user shall be allowed to change this directory. Thus in the Distribution file I have 1 fake choice on the top level with "customLocation" tag enabled, this choice doesn't have package reference. And I have 7 sub-choices below the top one, these choices don't have the "customLocation" tag defined but have references to the packages, so installation location is inherited from the top choice for these packages.
And since some components are quite big, I would like to show Custom Install dialog by default to let users decide if they really need all the components.
<options customize="always" ...>
...
<choices-outline>
<line choice="choice_top">
<line choice="choice_component_1">
...
<line choice="choice_component_7">
</line>
</choices-outline>
<choice id="choice_top" title="" customLocation="<default_location>" .. > </choice>
<choice id="choice_component_1" title="" .. >
<pkg_ref id=""> </pkg_ref>
</choice>
...
That works well but brings 3 issues. Does anyone knows how to resolve these?
1. Choices are always collapsed by default so users will see only top choice until they expand it manually. Is that possible to display choices expanded?
I know that if I remove the "choice_top" and move component choices to the top level, collapse-problem will be resolved but will it be possible to keep same installation folder for all selected choices?
2. Even though I have customize="always", I still see the Standard Install dialog following the Custom install one. This looks confusing IMHO. Is it possible to skip it somehow?
3. I have a plugin between PackageSelection and Install sections, it checks selected choices and asks "are you sure" if some particular components are selected. So in fact after users press "Install" button on Standard Install dialog, they will be asked if they want to go back and deselect components. I would like to jump back right to the Custom Install dialog from my plugin, but I just know how to return to the previous pane (i.e. to the Standard Install in my case). So the question is - is it possible to jump 2 standard panes back from the plugin?
Thanks,
/ Natalia
_______________________________________________
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