A little project I am doing for fun. I want to make a self extracting exe that will take files of format .scx and extract them to a location on the computer based on a registry key that I know of. The key will help locate the location of the game and determine whether it is (x86) or not. But sometimes people install it in different then default so I still would prefer to use the registry key directly. How would I go about doing this?

Any help is appreciated.

I can't directly answer your question, but there are programs available that do similar things like wix (http://wix.sourceforge.net). I've never used it (as usual), but it seems very extensible.

Looks like what I was looking for. Thank you.