How to install a Debian package non-interactively when it requires user input?
Install the required package once manually, going through the configuration options you want. Then, do the following:
To be able to re-install MYPKG to a new machine without any user input, copy the MYPKG.CONF file to the new machine and do the following:
Tada! The package has been installed with the right configuration options without any user input.