site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:in-reply-to :references:content-type:message-id:content-transfer-encoding:from :subject:date:to:x-mailer; bh=BrUSfnKPdC1OxW+1fN2VZDU/k9xVhSsJeMFt5GD5Q3Y=; b=i6mdbv4rKSTRUMO28XzoBtfPogsl3l0pwJnEyR4EZAB4fvEznfANCjxwYzzUPVeSWE ybYG0HMCbRsVLlMngELkZFzS8VsOIcihd9hYPV+c56uWskeLg95y+ip/uUeiC5llG+EA LwqCR7hefQV7Jz/UNcadgBi6PWnxWL0PHHtNM= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:content-type:message-id :content-transfer-encoding:from:subject:date:to:x-mailer; b=sqiX+j/63Oxs9PEghOw5Jh8z9jlgp/XcEPCk9tDBleNJw5ndV8JokwO7OtOKMIcyyk zG3OA/ZmGMDSIRKo4Wql2V4siip7PvGz8y8czTkKXSqOyk4uGQTQUPkjdBFdoa8mgnfH utdx0DIYe459n9nTq0w+y2KnJn59jxWv8vgyE= On Mar 6, 2010, at 1:26 AM, Allan Marcus wrote: _______________________________________________ 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: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... It would be nice if the install would give the user a chance to rectify the situation by giving the user the opportunity to quit the program in question. Any idea on how to do that? Usually, that kind of operation is performed during the installation itself. That is after the user selected the components he/she wishes to install. The fact the application is running is usually not a strong requirement to prevent a component from being selected. What is done then is that through a preinstall script, you invoke a helper tool to check that the application is running and if it is, you ask the user to quit it. Since the installation is process is blocked until the application is quit, this will work fine. You could probably also refine this by adding a Stop Install button and returns a non zero value from the helper tool to make the preinstall script fail and the installation stop. Adding a stop/cancel button is also a good idea if the application is actually running in another user session and you can't fast switch to it to quit the application. This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev