You can't run a .NET Application without .NET. You will need to develop your installer with some sort of setup utility. With WIX configured correctly in your .NET Project and a setup utility, you can create what's called a CustomAction to further retrieve information at install time.
Note that the setup utility will be the one to detect if the .NET framework is installed and enabled on the system, if not it will proceed with installing it; This will need to be setup ahead of time in your setup tool of choice.
Refer to this site for lots of great Installer tools and tips: http://installsite.org/
Here is a nice guide on installing .NET framework programmatically via WiX
:
http://wixtoolset.org/documentation/manual/v3/howtos/redistributables_and_install_checks/install_dotnet.html
Here are some free setup tools you can use:
- WIX Toolset (Windows Installer XML toolset--lets developers create installers for Windows Installer, the Windows installation engine.)
- Advanced Installer (Free version, very easy to use! Free version includes limited set of features)
- Inno Setup
- NSIS (Open source Setup tool)
- Ghost Installer (Free version available)
- ClickTeam Install Creator (Very Friendly, Free version available)
- CreateInstall Free