Manualy sending an ebook and actication code

I just bought Executable and want to sent an ebook to a friend with a free activation code,

How do I go about, please.

You have several ways. Automated ways require scripting or use the built-in key generator in HTML Executable.