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=LwlER9JDkSn1OqO4BxnkpomskBIJOvsKB8QNLigNdoA=; b=Du5l47u5b7VWC42ttkmwpVpj+i8VmGvfTyAuixRLiWQPL/wftwsyLlDOnRFN4WWnZH mKAt5rJDYPHBo+3k9y1aIGgyc8CSX4PpyAOBy0nXn9YVtjlaNTx8Nn+naHmhVIHbvs8v cjBhHs2x8L8+AplPrSswlMra4huQblJcj2nQA= 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=Z3udNGrCnqbtXxDsiFD/ldjSzRqNt140UQsoVLkn7OJL2wNKhw1GOe9QUcuVgyvhXO gZMH41sH/KpESraQCQkqG/vjDBJiAahEXlhOYnRA+vhkhrhm9Hp2X4pdHerMrhwTWXkb /TFdoyhKQXUiTJZGw4d2X39gtKrXnHYIS8vuc= hi all! I want to pop a dialog in the end of install process. what can I do? I look at ADC, and known : 1 javascript can pop dialog, but it pop in the beginning of install . 2 installer plugin seemly help me to handle this, but plugin must add a panel to Installer UI, I do not plan to show this panel. 3 shell script is a way, but I cannot invoke Installer's functions in the shell. what can I do? thanks a lot....... 2009/11/2 李翯 <lihe2008125@gmail.com>:
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
-- 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)
-
李翯