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:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=lz+Uez29SOsM8an1HmtKApUUR3dcmqNI9AntTK47nC8=; b=FKLOP9JmQGnpWOhHIiopCSR9ZO4tOS33mdc3ek6RJEAC6QctjZ/XNi/velebuKez1G 8h8XQzULJaP02pjQVKk2BQrxjUclLQma25cbKh0ZnUQXzRufqKhQxKky2TTb8w5UuRup a101PhFRbbB2VyrL2vlWkbEINTi9xDSDoq3Cs= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=w6D/qSG7Yg4JIGFo6GQ40vmUVk8msDN43yOJYvV9epm4CBFlAAAcXDOgYAKZY8VIFD ex2pii+4T5I9KX8plrX4OtaT6Bc1mCmr9fuuTsNBXp9aZmieHYzN5Lm87O5+SnVVK/sk mCkyabzpdxc3cYeMQbj0qF8CDPRJmJxYGKcKs= -Erik On Apr 20, 2009, at 11:28 AM, Paul Cook wrote: I was able to find some information about custom Installer plugins at: http://developer.apple.com/samplecode/InstallerPluginSample/listing1.html Best Wishes, Paul On Apr 17, 2009, at 11:41 PM, Paul Cook wrote: Thanks for any help, Paul _______________________________________________ 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/cook.p.d%40comcast.net _______________________________________________ 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/ebenoist%40gmail.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... Paul- I recently completed a project that did exactly what you're asking. I wrote a Installer Plugin that compiled the input from the user (we were asking many questions) and outputted a bash script that set each of the variables that we were using in the pre/postflight scripts. The preflight script simply called the generated script that lived in /tmp and all the variables were ready to be used. I would definitely recommend going with the Installer Plugin as the UI experience is much more seamless. 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 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. 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. This email sent to cook.p.d@comcast.net This email sent to ebenoist@gmail.com This email sent to site_archiver@lists.apple.com