Re: Ask user to quit application before installing?
Re: Ask user to quit application before installing?
- Subject: Re: Ask user to quit application before installing?
- From: Stéphane Sudre <email@hidden>
- Date: Mon, 15 Oct 2007 23:42:38 +0200
On lundi, octobre 15, 2007, at 07:43 PM, Bryan Hansen wrote:
I'm looking for a way to ask the user to quit an application before
installing. Is this possible with package maker?
Additionally to what Bill C. said, there's another option possible as
long as you don't need to install your package through ARD or via the
installer command line: Think reverse.
Instead of checking during the installation procedure, don't launch the
installation until the application has been quit. This would require
putting the package inside a wrapper. You can stick a custom icon or a
package icon on the wrapper application. When the application you want
to be quit has done so, you can open the package (NSWorkspace or
LaunchServices should work fine in most OS versions)
This allows for more flexibility from a user point of view (nicer UI)
and on the method you want to use to check that the application is
still running:
- not all applications have an CFBundleIdentifier
- not all applications have a correct Creator code or even one
- ps or killall is not reliable to find a process as they just check
the name (a partial one that is).
My $0.01
_______________________________________________
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