Re: Installer-dev Digest, Vol 102, Issue 14
Re: Installer-dev Digest, Vol 102, Issue 14
- Subject: Re: Installer-dev Digest, Vol 102, Issue 14
- From: "Ballinger, Shawn" <email@hidden>
- Date: Thu, 21 Feb 2013 14:12:51 -0700
- Acceptlanguage: en-US
- Thread-topic: Installer-dev Digest, Vol 102, Issue 14
Thanks!
On 2/21/13 1:00 PM, "email@hidden"
<email@hidden> wrote:
>Send Installer-dev mailing list submissions to
> email@hidden
>
>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
> email@hidden
>
>You can reach the person managing the list at
> email@hidden
>
>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 <email@hidden>
>To: Installer-Dev mailing-list <email@hidden>
>Subject: Custom Install pane questions
>Message-ID:
> <email@hidden>
>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
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.apple.com/archives/installer-dev/attachments/20130221/966946
>ac/attachment.html>
>
>------------------------------
>
>Message: 2
>Date: Thu, 21 Feb 2013 09:49:49 +0100
>From: Stephane Sudre <email@hidden>
>To: email@hidden
>Subject: Re: Custom Install pane questions
>Message-ID:
> <email@hidden>
>Content-Type: text/plain; charset=ISO-8859-1
>
>On Thu, Feb 21, 2013 at 8:38 AM, Natalia Antonova
><email@hidden> wrote:
>> 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?
>
>> 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?
>
>Not possible.
>
>> 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?
>
>Not possible with the official API and a class-dump of Installer.app
>does not reveal a private method that could be used to achieve this.
>
>
>------------------------------
>
>_______________________________________________
>Installer-dev mailing list
>email@hidden
>https://lists.apple.com/mailman/listinfo/installer-dev
>
>
>End of Installer-dev Digest, Vol 102, Issue 14
>**********************************************
_______________________________________________
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