It used to be that a branded CD for installing Windows couldn't be used on a different brand computer, haven't had occasion to install on a custom computer but would guess the same applies with OEM keys.  Generally, beginning with Win8, the required license information is embedded on OEM motherboards.
caveat emptor