Re: PackageMaker plug-in for a "Show ReadMe" panel?
Re: PackageMaker plug-in for a "Show ReadMe" panel?
- Subject: Re: PackageMaker plug-in for a "Show ReadMe" panel?
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 25 Feb 2008 23:48:11 +0100
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.
In this plug-in project, the ReadMe file is a RTF file within the
plugin, it could be possible to relocate the RTF file to the package
project. This would require modifying the code a bit so that the path
points to the right location.
http://s.sudre.free.fr/files/ShowReadMe.zip (56 KB)
Hope it can help.
--
Stephane
_______________________________________________
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