Or download the files after it is installed. This way the user will only get a downloader (which should be legal) and would ensure by herself that she has the right to download them.