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
The WPF development platform supports a broad set of application development features, including an application model, resources, controls, graphics, layout, data binding, documents, and security. It is a subset of the . NET Framework, so if you have previously built applications with the .
It has support for all kinds of . NET applications, including the Windows desktop platforms such as WPF, Windows Forms, and WinUI 3.0. In this article, I'll talk about what . NET 5 means for desktop developers and how to migrate your existing applications to .
“WPF would be dead in 2022 because Microsoft doesn't need to be promoting non-mobile and non-cloud technology. But WPF might be alive in that sense if it's the best solution for fulfilling specific customer needs today. Therefore, having a hefty desktop application needs to run on Windows 7 PCs with IE 8.
You want to do bootstraping, using visual studio 2010 and .net framework 4, as explained here.
You need to include .NET redistributable executable in your setup package. Check this article - its talking about Widows App, VS 2008 & .NET 3.5 but same thing should apply to you as well as.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With