Re: package maker
Re: package maker
- Subject: Re: package maker
- From: Xochitl Lunde <email@hidden>
- Date: Mon, 22 Mar 2010 09:45:41 -0500
<installer-dev-bounces+xochitl_lunde=email@hidden>
wrote on 03/22/2010 12:22:49 AM:
> Hi,
> I am currently using PackageMaker 3.0.4 on Snow Leopard
to build
> my package.I want to know how to ask the user to quit an application
> before proceeding for install if that application is already
> running. Basically, I want to know how the user can be prompted to
> quit the application if it is running and then proceeding further
in
> installation like other applications on MAC.Any help on this matter
> will be greatly appreciated.
>
> Thanks in advance,
>
> Spondita
>
On the requirements pane of any choice or a distribution
package, you can add a requirement using the '+' button. You could
choose 'Result of Script' for the 'If' parameter, and write a script to
check for the process running. I've never done this myself, but that
is where it appears that the interface for doing so is. You can also
go to a distribution's 'Actions' menu and use a "Get Application"
and "Kill Application", but in my experience that doesn't warn
a user that the application is being killed.
What you probably want most is a way to get the InstallationCheck
script working so that you can provide a nice error message back to a user
(which I have just learned is supported only from InstallationCheck and
VolumeCheck scripts). I don't know how to do this using PackageMaker,
but Nick Peelman has a page that talks about the InstallationCheck script
and has a demo that uses Iceberg. http://www.peelman.us/tech/apple-packages/
_______________________________________________
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: | |
| >package maker (From: "spondita Madhuri Neog" <email@hidden>) |