install only required licenses for each mode