site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Chris ----- Original Message ----- From: "Peter Bierman" <bierman@apple.com> To: "Dave Johnson" <DDJOHNSON@novell.com> Cc: <installer-dev@lists.apple.com> Sent: Wednesday, May 25, 2005 4:20 PM Subject: Re: Hi, All, Why can't the client app/tool ask the user the first time it's run? (See also: QuickTime registration panel during Software Update.) -pmb At 1:29 PM -0400 5/25/05, Dave Johnson wrote: This post: http://lists.apple.com/archives/installer-dev/2005/Feb/msg00002.html seems to imply that launching an app is the only way. Thanks in advance for any help/advice/suggestions! == dj This email sent to bierman@apple.com This email sent to jlevitsk@joshie.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/ryanc%40apple.com This email sent to ryanc@apple.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... Future ideas aside, the only way to do this in a "supported" fashion is to use an Installer Plugin introduced in Tiger. These plugins let you add a "section" in the Installer. You cannot add UI "during" install, but you can add UI right before or right after the files get laid down. If you have Tiger, there is an "Installer Plugin" template in Xcode under the "Standard Apple Plug-ins" section of the new project dialog. If you have further questions feel free to ask, since there is little documentation other then the headers in the "InstallerPlugins.framework". Sure would be nice to do it like InstallShield on Windows does. You can have default values that are picked in the case of a silent install and use a script to populate the values too. If the install is not run silently then it would have forms to get the information. Then you can do silent or prompted installs. Adding user interaction during the install process makes it very difficult to use that installer in any kind of automated situation, such as university labs, ARD Managed environments, clusters, etc... For that reason we highly discourage people from launching interactive apps or tools from the pre/post scripts. Hi, All, Is running a separate application from e.g. preflight the only way to get user input during the install process? This seems like a common need that Installer could handle, but I've not found any other way. My application is the client for a client-server application, and I need to tell it which server to connect to. I worked out an obscure way to do this using a Terminal window and shell script, from preflight, but it looks like Tiger breaks what I am doing. A cocoa app to ask the question would look better anyway, but it just seems like overkill to have an entire application that ships in my install just to ask one little question and to get the result into a file (or an environment variable would probably do) so that postflight has it available for configuring the client app. _______________________________________________ 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/bierman% 40apple.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/jlevitsk% 40joshie.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Christopher Ryan