1. Does the program have any options or settings to make it non-interactive (ie auto-run)?
2. If it doesn't, you can always try writing a script that "prints" commands to the stdin (standard input, where the user normally types his information via the keyboard) to the program in question.
ie something like:
Code:
cat your_settings_file | your_program
(where "your_settings_file" contains each response the user is supposed to give via the keyboard)
for starters.