C# – Redistributable .net framework installer

cinstallationnetredistributable

Is there a redistributable web installer for .net framework 4.0? Preferably, it'd detect the correct language version to install and download it from the internet.

I want to bundle this web installer with my 4.0 application, so that the download size of setup package is as small as possible (40MB of full offline installer could scare users), plus I don't want to deal with detecting the necessary version (x86, x64, which language) to install.

EDIT:
As to how I create the setup. I'll go for the easiest option. My application is really trivial. I just need to copy some files and make shortcuts in Start Menu / Desktop.
What's the simplest/fastest solution to this? The setup project that can be build with VS (I'm using VS 2010).

Best Answer

Visual Studio setup project covers your needs.

check this : http://msdn.microsoft.com/en-us/library/ee942965.aspx

edit fixed the link, you might want to check the web bootstrapper and redistribute framework related sections