I can work-around it by providing an empty stream as input. The output is still like it were interactive, but at least it continues to install in that case.