• 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
Selectively displaying Installerpane at runtime.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Selectively displaying Installerpane at runtime.


  • Subject: Selectively displaying Installerpane at runtime.
  • From: sanmukh k <email@hidden>
  • Date: Thu, 26 Apr 2012 01:17:28 +0530

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.

Thanks,
Sanmukh
 _______________________________________________
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

  • Follow-Ups:
    • Re: Selectively displaying Installerpane at runtime.
      • From: Stephane Sudre <email@hidden>
  • Prev by Date: Re: Ehh, what's up Dock?
  • Next by Date: Flat package installer-plug in permissions issue
  • Previous by thread: Re: Ehh, what's up Dock?
  • Next by thread: Re: Selectively displaying Installerpane at runtime.
  • Index(es):
    • Date
    • Thread