Adding non-interactive installation mode.

Closes #641