fixed false success reporting when installing fails