Installing Windows without a license is not illegal, activating it through other means without an officially purchased product key is illegal.

Installing Windows without a license is not illegal, activating it through other means without an officially purchased product key is illegal.