transaction: add reinstall as a special action.