An error code is returned if the installation command fails. Also the style is changed from warning to error. Tests was updated.