How to quit running app before installer replaces it?
How to quit running app before installer replaces it?
- Subject: How to quit running app before installer replaces it?
- From: Sean McBride <email@hidden>
- Date: Tue, 19 Feb 2013 12:16:20 -0500
- Organization: Rogue Research Inc.
Hi all,
Just joined this list, please be gentle... :)
We recently got a customer crash report that we figured out was due to version x of our app being run while the user ran the installer to install version y. Since the process was still running, it eventually tried to open one of its nib files (which changed from x to y) and crashed due to the mismatch.
So: how can/should I check if my app is already running, and warn the user before installing?
I've found this asked in the archives:
<http://lists.apple.com/archives/installer-dev/2008/Nov/msg00054.html>
<http://lists.apple.com/archives/installer-dev/2006/Jan/msg00036.html>
But they are years old... what is current best practice?
Thanks,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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