detecting if any previous install is not complete