• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PackageMaker plug-in for a "Show ReadMe" panel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Thu, 28 Feb 2008 00:32:48 +0100


On Feb 27, 2008, at 10:51 PM, Eddy wrote:

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?

It is just another alert users will have to deal with.

With an Installer Plugin, you can write and delete files (since you have access to all the System frameworks). Obviously the ones you authorized to delete (let's just forget about root escalation issues here).



_______________________________________________
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


References: 
 >Re: PackageMaker plug-in for a "Show ReadMe" panel? (From: Eddy <email@hidden>)

  • Prev by Date: Re: New to PackageMaker 3.0, could use some help
  • Next by Date: Re: How to make Installer find installed location when do upgrade and IFPkgFlagRelocatable is set to true
  • Previous by thread: Re: PackageMaker plug-in for a "Show ReadMe" panel?
  • Next by thread: On Updated Application CFBundleGetInfoString not correct until Log Out
  • Index(es):
    • Date
    • Thread