• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom Install pane questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom Install pane questions


  • Subject: Re: Custom Install pane questions
  • From: Stephane Sudre <email@hidden>
  • Date: Thu, 21 Feb 2013 09:49:49 +0100

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.
 _______________________________________________
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

References: 
 >Custom Install pane questions (From: Natalia Antonova <email@hidden>)

  • Prev by Date: Custom Install pane questions
  • Next by Date: Re: Installer-dev Digest, Vol 102, Issue 14
  • Previous by thread: Custom Install pane questions
  • Next by thread: Re: Installer-dev Digest, Vol 102, Issue 14
  • Index(es):
    • Date
    • Thread