Re: Installer-dev Digest, Vol 102, Issue 14
Thanks! On 2/21/13 1:00 PM, "installer-dev-request@lists.apple.com" <installer-dev-request@lists.apple.com> wrote:
Send Installer-dev mailing list submissions to installer-dev@lists.apple.com
To subscribe or unsubscribe via the World Wide Web, visit https://lists.apple.com/mailman/listinfo/installer-dev or, via email, send a message with subject or body 'help' to installer-dev-request@lists.apple.com
You can reach the person managing the list at installer-dev-owner@lists.apple.com
When replying, please edit your Subject line so it is more specific than "Re: Contents of Installer-dev digest..."
Today's Topics:
1. Custom Install pane questions (Natalia Antonova) 2. Re: Custom Install pane questions (Stephane Sudre)
----------------------------------------------------------------------
Message: 1 Date: Thu, 21 Feb 2013 11:38:23 +0400 From: Natalia Antonova <natalya.a.antonova@gmail.com> To: Installer-Dev mailing-list <installer-dev@lists.apple.com> Subject: Custom Install pane questions Message-ID: <CAND+mHqmf2Xy97-yDWm-fAOZksB58MFXONyR4Lx12+SYr5b9pQ@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1"
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
participants (1)
-
Ballinger, Shawn