Re: How to quit running app before installer replaces it?
On Wed, Feb 20, 2013 at 1:12 AM, Sean McBride <sean@rogue-research.com> wrote:
On Tue, 19 Feb 2013 15:53:34 -0800, Stephane Sudre said:
One of the possible best practices is probably to use the 'must-close' options of a distribution script.
https://developer.apple.com/library/mac/#documentation/DeveloperTools/ Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html
Caveat: it's not supported by all OS versions that support distributions. I haven't checked which versions are supported yet.
This option/requirement is not supported at this time by the Packages application. So this would require to edit the distribution script (file) once you have built it (if it's a bundle distribution, you just need to edit the file, if it's a flat distribution, you would need to expand it and then flatten it) As mentioned, this option/requirement has been added somehow recently to the distribution script features so it probably requires Mac OS X 10.6.6 or later. I thought the minimum OS version was listed in the official documentation but the "Availability" info is missing. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre