NSIS: find and download the .Net version

How can I get the .NET version with NSIS? And if I don’t have the required version, it redirects me to the site to download it.

I found some solutions for this, but they usually have some hard-coded materials (for example, dozens of specific links).

Is there any good solution for this?

thanks

note: I do not want to use the Windows installer / clickonce.

+5
source share
2 answers

Take a look here. I believe that I have changed some things from the NSIS forums, but this works pretty well.

http://stochfit.svn.sourceforge.net/viewvc/stochfit/trunk/StochFitMain/Installer.nsi?revision=108&view=markup

+3
source

.NET. 2.0, 1,1, ; 3.5, 2.0 3.0; .. , . , , , .

+5