.Net 2.0 Required Installer

What is the best way to ensure that the user who wants to install my application has .Net 2.0 installed on their computer? I really do not want to use a regular configuration project created using Visual Studio, because my application is a portable application and does not use the registry or does not need to add "Add or Remove Programs." It should be as simple as possible for users (because some of them may not be very literate on the computer).

Edit: I accepted MusiGenesis's answer because it is the easiest for both me and users. I am going to add a link to the .Net 2.0 installer from the website where they download my application.

In the future, I could combine all three answers and write a simple C ++ authentication application that users could run before they installed my application.

+3
source share
3 answers

If you are distributing your application from a website, provide a link to the redistributable .Net 2.0 installer (it is "only" about 23 MB). If you are distributing it from a CD or something else, enable the distribution to the disk.

You can also create an MSI that includes the redistributable .Net, but then your MSI will be 23+ MB, and most users will already have .Net 2.0 installed, so that would be useless.

+4
source

, . .NET-, .NET, .NET, ++. .NET.

+2

. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP, - . c:\Windows\Microsoft.NET\Framework. .

+1

Source: https://habr.com/ru/post/1715938/


All Articles