I have a setup that install silently but it has dependency of dot net framework 4.5, so how can i create a installer that installs dependency silently also.
Setup is created in Install Shield and it is a wpf application
NET 4.5. 1 cannot be installed on Windows 10, only 4.6 and later. So if your application is incompatible with .
Go to Control Panel > Programs > Turn Windows features on or off, verify if . NET Framework 3.5 checkbox is selected and then proceed with the software installation. If the error persits, we will have to force the installation with the Windows command prompt (CMD).
Starting with Visual Studio 2022, Visual Studio no longer includes . NET Framework components for . NET Framework 4.0 - 4.5. 1 because these versions are no longer supported.
It should be possible to use a command line like
dotNetFx45_Full_setup.exe /q /norestart
Use the web bootstrapper to download the Framework online
Maybe have a look here and here
Edit: Just see that you don't want to include .net 4.5 setup... Edit: Code fixed
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