Re: Selectively displaying Installerpane at runtime.
Re: Selectively displaying Installerpane at runtime.
- Subject: Re: Selectively displaying Installerpane at runtime.
- From: Stephane Sudre <email@hidden>
- Date: Thu, 26 Apr 2012 00:14:45 -0700
On Wed, Apr 25, 2012 at 12:47 PM, sanmukh k <email@hidden> wrote:
> Hi,
>
> I have written an installerplugin to show a custom pane in the pkg
> installer. I want to display the pane only during first install and hide it
> when upgrading. I know how to find out if the package has already been
> installed or not but I am not able to figure out the logic of showing/hiding
> the installerpane based on a runtime decision.
>
> One method I could think of is that the installerplugin contains an
> Installersection outlet called parentSection. And installersection class has
> a function shouldload whose return value decides whether the section should
> be loaded or not. And this article:
> http://www.mactech.com/articles/mactech/Vol.25/25.06/InstallerPlugins/index.html
> mentions that the installersection methods can be overloaded. But I am
> unable to think of a way to overload the functions as parentSection is just
> an object inside the installerpane class.
I don't know of any official way to hide a plugin once it's there. But
you can skip the step by moving to the next/previous step (in most
cases) when you are supposed to continue or go back to your installer
plugin step./pane.
_______________________________________________
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