chek preconditions on install