Re: Questions about InstallerPlugins
Re: Questions about InstallerPlugins
- Subject: Re: Questions about InstallerPlugins
- From: Christopher Ryan <email@hidden>
- Date: Wed, 27 Jul 2005 06:53:42 -0700
"shouldLoad" is part of the "InstallerSection". By default the template uses the built in InsallerSection base class which returns true for shouldLoad. You need to create a subclass and implement shouldLoad. Additionally, you need to change the "NSPrincipalClass" in the Info.plist to match the name of your subclass.
Chris Hi,
I'm trying to create a custom pane which allows users to enter a license key before they proceed (trust me, it really is the only way for our software). However, if they have a text file with the license information in the directory, we use that information instead.
I've created the plugin in Xcode using the template. The plugin loads fine and I can input the information and the stuff is written to a file for later scripts/customer reference (some work since I didn't know any Obj-C, but I'm still alive :). But I really don't want to load this plugin at all if they have a valid license file on the machine already. I know there was some reference to something like "shouldLoad" in some old WWDC slides, but it looks like it didn't make the final edition (at least it's not in the header). Is there something I missed, is there a new way to do this, or was this functionality really not determined useful and cut.
Thanks,
-- Trenton Schulz Trolltech AS
|
_______________________________________________
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