I'm assuming that you are refering to a setup.exe on the Windows platform.
Visual Studio has the tools to create an installation package.
Visual Studio Installer VS6 Visual Studio Installer 1.1 VS2005 The are also other third party tools that can help with this.
Some of them are mentioned
here.
Moving this to the General Computing forum.