Þetta hjálpaði mér.
The CD-key is in fact encrypted now in the registry, which is a good thing as cd-key steeling malware will not be able to use it. .
If you get the invalid cd key after patching try this.
start the patchinstaller.
after selecting language, press next, and leave it at that.
go into run menu in start menu, type %TEMP% click OK.
Window opens up, press F3 and do a search for BF2CDKeyCheck.exe and run the .exe
now close the patchinstaller and start the game.
Maybe you have to copy the bf2 patch files from the temp dir to the battlefield 2 folder not sure, I didn't try this myself.
Kv [89th]Tige