Well, first step is to search some of the tutorials around here, like zigzag said. Now, looking at your post, I guess you're distributing the program. You're going to want to modify/add whatever registry key said tutorial references within your program. A lot of the languages I've looked at have registry modifiers, so this'll be possible if you give it some research.
EXIT: And next time, it may be a good idea to hide torrented files.. you never know what may come from people seeing that sort of stuff.