Re: Get Value From User?
Re: Get Value From User?
- Subject: Re: Get Value From User?
- From: Paul Cook <email@hidden>
- Date: Mon, 20 Apr 2009 10:28:02 -0500
Thanks, for both the custom plugin suggestion and the AppleScript
suggestion.
In terms of the AppleScript route, how does the answer get passed to a
script? (If for example, I want to use the answer in a PostFlight
Script?) I suppose one could have AppleScript write it in a file
somewhere and then you could read it from your script. But is there an
easier way?
I was able to find some information about custom Installer plugins at:
http://developer.apple.com/samplecode/InstallerPluginSample/listing1.html
I haven't looked at the sample code yet, so I don't know if the same
question applies to the custom installer plugin approach or not. But
unless it is real close to what I want, I may go the AppleScript route.
Best Wishes,
Paul
On Apr 17, 2009, at 11:41 PM, 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.
Thanks for any help,
Paul
_______________________________________________
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
_______________________________________________
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