It may work, but you are violating the license agreement. OEM copies of Windows are for sale to system builders, who install it on a custom built computer that they are selling to a customer. If you want to be legal, you need to buy the retail copy of Windows to use on a Mac. It is more expensive but the OEM version isn't for use on Macs.