Re: Installer Problem
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Take a look at how Apple solves this problem. Download the Xcode installer and use Flat Package Editor (inside the PackageMaker.app bundle) to extract its scripts. Inside, you'll find an application named "Alert" which shows different alert messages and combinations of buttons when different environment variables are set. The install scripts run Alert.app whenever they want to show a message to the user. This may be a good option for you. On Mon, Nov 2, 2009 at 9:56 PM, 李�G <lihe2008125@gmail.com> wrote:
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 李�G <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, 李�G <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/s%40sidneysm.com
This email sent to s@sidneysm.com
_______________________________________________ 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)
-
Sidney San Martín