Re: Using plugins with PackageMaker
Re: Using plugins with PackageMaker
- Subject: Re: Using plugins with PackageMaker
- From: Sanjay Rao <email@hidden>
- Date: Mon, 29 Apr 2013 12:04:29 +0530
Hi,
Similar requirement we had in past for our project. We choose to use
"Iceberg" over packagemaker. Its very easy to understand and use.
http://s.sudre.free.fr/Software/Iceberg.html
Regards,
Sanjay Rao
On 4/29/2013 1:54 AM, Stephane Sudre wrote:
On Sat, Apr 27, 2013 at 11:22 PM, Scott Grosch <email@hidden> wrote:
Have a few questions about the proper way to use a plugin with PackageMaker. I have the plugin displaying correctly at this point where I want it.
- After asking the user for the answers to questions, how do I pass those answers to the post install script that is run?
You can either write them on disk or spawn a process from the plugin
to answer the requests from the script.
- Is there a way to get notified if the user cancels the install? For example, if I take some actions right in the pane, how do I know to undo them?
There's no way to do this AFAIK. So it's good idea to only modify the
file system or the settings of an application with the payload and
with the pre/post installation scripts.
- What is the proper way to cancel an install? For example, if a required action my pane takes fails, how do I stop the install properly with a message to the user?
If it fails during an action launched when you move to the next pane,
what you could do is launch the action from:
- (BOOL)shouldExitPane:(InstallerSectionDirection)dir;
So that you can display a standard alert and prevent the user from
moving to the next pas.
Docs on PackageMaker seem pretty hard to come by. Especially since hitting Help inside of PackageMaker itself doesn't do anything :(
--
Sanjay Rao
Digital Media Group, Interra Systems
email@hidden
http://www.interrasystems.com
_______________________________________________
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