SC2 installation cd key

cd key was never asked during installation from cd.
Game have been updated via battlenet.
Impossible to play online or offline via battlenet.

Don’t know what went wrong…?
In old time, for warcraft III, you were asked a cd key during installation, you joined battelnet on line (no need of an application) via an account and it was done…

Someone could help please ? thx.