Selectively displaying Installerpane at runtime.
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