Make the usage of password prompt in install more smooth