Re: Get Value From User?
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