Re: Get Value From User?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=U562oG0mUqW80y1X6bkbK9hhkk909o1i9bfjjGUhbak=; b=byW4KnSqpinhXEFjlV5rIJ3uaxUZqbtbXswv9D87AMurlmrrZPXUUz8GAb8Eoq4iCn HB8aqC3t6glXiAja3RLJNm+V7JFprmgA7Jk8SPjmmFjIl1CQE5fEDSrtQc2Vcc+4ZjYH zpeWkxkyEsYzeFlypsVtTiTCWfDrq4C5mDdZs= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=F3+n9lmwvMPd3V9C9mVKdG0urdShCxIrX6LR2W5o6QsczaEfHOCYg37gKu64a3Pdz4 xCRe1SkYvi4hd3SN852sXV58cLKJzs2SwOT41oGKMbzpmekgjpHY9yTn7+AtmVzRSMfg DT/MQDDK9SPg//pM3QnruNJjJ87aH3c6820Wg= On Apr 18, 2009, at 6:41 AM, Paul Cook wrote: _______________________________________________ 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... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev