I am using Visual Studio 2010 to create a setup project for my .NET 4.0 Winforms app.
When the deployed setup is run on a machine that does not have .NET 4.0 runtime installed, the installer downloads and installs the same from MS. That’s all good.. it works fine.
However, my app is likely to be installed by users without internet connectivity (laboratory computers often have no connectivity). Therefore, I would like to bundle the .NET 4.0 runtime with my project, and have it installed from the local file rather than downloaded.
Is this possible to still have the installer do the auto check & install using a local bundled file ? And if so, how is it achieved please ?
Appreciatively, Bazza
This MSDN guide should help you – it covers I think nearly all the scenarios – including where you need to package the entire redistributable.