Re: PackageMaker plug-in for a "Show ReadMe" panel?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com
On Feb 24, 2008, at 10:43 PM, Stéphane Sudre wrote:
On Feb 23, 2008, at 3:56 PM, Eddy wrote:
I'm looking for a PackageMaker plug-in that would show a panel after installation was complete that had a checkbox that said something like:
[X] Show ReadMe
When checked and the user clicks "Continue", it would open a URL that is specified during package creation (or the URL specified in a file included in the Resources folder).
Has something like this already been written?
This is pretty easy.
AFAIK, you just need to overwrite - (void)willExitPane: (InstallerSectionDirection)dir; and deal with the InstallerDirectionForward direction.
To illustrate the "pretty" easy statement, I have put up a small project that does this. In case, a 3rd party tool is used to create the package, there's also a simple project for this tool included in the archive.
Thank you very much for the example, Stéphane. It's definitely helpful. One thing I noticed with the "TestPlugin.pkg" is that because it has the additional plug-in present, you get a warning when you double-click the package that says "This package contains a program that determines if the software can be installed. Are you sure you want to continue?" I've seen then when you include an InstallationCheck or VolumeCheck script, but I was surprised to see the warning just because a plugin was present. Is there any way to avoid that extra warning or is it just another alert users will have to deal with? _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Eddy