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.

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/installer-dev/email@hidden

This email sent to 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.