I am using Visual Studio 2010 to create a Setup package to install a WPF application. I can see that I can add the .NET framework 4.0 as a pre-requisite, but how do I get his to run automatically without manual intervention?
Do I have to create a small program (that targets framework 1.1 as I assume most machines have 1.1) that detects if .NET framework 4.0 is there and if not install it silently, or can I get the installer to do this.
I also have to install the OLEDB 12 drivers because I’m connecting to an Access 2007 database, so I will also have to run this installer before my application is run.
I don’t want the install to download and install the framework, I want to include the framework redistributables with the setup.
Any help would be appreciated.
Thanks
You want to do bootstraping, using visual studio 2010 and .net framework 4, as explained here.