It depends. What are the programs and downloads?
Most of the time, when you buy a program that comes with a free download, there is a code on the inside of the cd case/box. You use that code to get your free download. Either can be done first, you just need to have the code to get the download.