Re: Installer Problem
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:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Vb21/EqlXqxmQvXjccd73X7LBt9vEz7tnQcfJmJJjJU=; b=ofnboGgiQbx87zk9RNVDXU5OWiedWWkyuj8ktd6pD+JfnRKo6fgFOQ7TM5+b5/A/1V RQWviVIW/j5zcF4nXpEqDEBB+JxDYmuD71IedMxjjbiByv9P9IIjS5YqpENbS/IFO2C5 wIrpFkp77p/ExqYkUu7UBfx015BUTVf1DJWdQ= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=pS4b7NVLJvZ9wgESwI/5uIaddSaO/+4v41buZHKHznIuQJa6sEiIF5WFljQOODWoua j6mzIi/CBIljM+j9BKX4TCM3+PQlEE1N90l4GCUI7m/M2nLnZqLJvtaVex+Ow9++WD2v ro5iF0LpLshJJ9NZZqxECeuruxZAtkem2x7Xk= Now, In UI installer, I want to pop a dialog which style like installer check script pop dialog, behind shell do something. eg, shell do a valid check, depend on this , Installer pop a dialog, tell client right or wrong . 2009/10/30 Sidney San Martín <s@sidneysm.com>:
What is the dialog for? That may determine whether an installer plugin or a script is more appropriate.
An installer plugin won't run at all from a command line or ARD install, so you wouldn't have to use the COMMAND_LINE_INSTALL environment variable. It also lets you show your dialog and other UI within the installer window, instead of launching a separate application.
That's something else to be aware of — a script on its own cannot display a dialog, it would need to launch a helper tool.
On Thu, Oct 29, 2009 at 2:51 AM, 李翯 <lihe2008125@gmail.com> wrote:
environment variable COMMAND_LINE_INSTALL is real, if I UI install pkg, COMMAND_LINE_INSTALL is null; but i command install pkg, the COMMAND_LINE_INSTALL is " l " . thanks !
Now , I have two choice, to complete this task. UI install will pop dialog, Command install not. one, environment variable COMMAND_LINE_INSTALL , this will write code in shell. two, installer plugin. this will write code in cocoa. which one is better? thanks a lot. 谢谢 _______________________________________________ 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/s%40sidneysm.com
This email sent to s@sidneysm.com
-- alf _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
李翯