• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Get Value From User?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get Value From User?


  • Subject: Re: Get Value From User?
  • From: Iceberg-Dev <email@hidden>
  • Date: Mon, 20 Apr 2009 10:34:47 +0200


On Apr 18, 2009, at 6:41 AM, Paul Cook wrote:

Is there anyway from any kind of any Installer script (preflight, postflight, etc.) to ask the user for a value and to get that value from within a script? (Bash, Perl, AppleScript, etc.)

In this case, we'd like to ask the user for a name of something. And then use that name within a script.

My fear based on the answer to the recent progress question is that the answer is probably No. But this is just different enough that I thought it might be worth hoping otherwise.

If you do not forget that the installation process can be performed without any kind of interaction and that you then need to have some default behavior/values for these cases, you can achieve what you're looking for by using an Installer plugin.


The plugin would provide the UI for the interaction and would save the value in a file in /tmp for instance so that it can be read from your script.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Get Value From User? (From: Paul Cook <email@hidden>)

  • Prev by Date: Get Value From User?
  • Next by Date: Re: Customize or suppress the Installation Type pane
  • Previous by thread: Get Value From User?
  • Next by thread: Re: Get Value From User?
  • Index(es):
    • Date
    • Thread