Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PackageMaker plug-in for a "Show ReadMe" panel?




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: http://lists.apple.com/mailman/options/installer-dev/email@hidden

This email sent to email@hidden
References: 
 >PackageMaker plug-in for a "Show ReadMe" panel? (From: Eddy <email@hidden>)
 >Re: PackageMaker plug-in for a "Show ReadMe" panel? (From: Stéphane Sudre <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.