Installer WPF UI

May 28, 2015 at 10:00 AM
Hi Oleg,
I want to build installer using WPF UI as in your example.

What about NET Framework on the client OS?
How to build the installer which will work always on OS>=Win7?
Use 3.5 ?
Or may be there is possibility to install needed NET Framework silently and continue installation?

May 29, 2015 at 12:59 AM
Edited Jul 29, 2016 at 4:06 AM
There a few approaches to your task.
  • You can use Bootstrapper (released a few days ago). In the Bundle class you can set .NET prerequisite:
 var bootstrapper = new Bundle("My Product",
                        new PackageGroupRef("NetFx40Web"),
                        new MsiPackage(productMsi) { DisplayInternalUI = true });
However this will display both bootstrapper and product UI. I am planing to develop a customUI for the boostrapper that would show no window at all. This would achieve a silent deployment of .NET followed by your product UI. Though the silent butstrapper UI is not ready yet.
  • You can usе SimplifiedBootstrapper (sample included in the distro). It does exactly what you need but currently it doesn't cover web installation.