delete first, then install