See this topic: How create exe file