Where did your friend get the digital download from? If it's from Gamestop, you'll have to use their download client app to get the code for the game. The emails usually will tell you where you can find said registration code.