Talk:How to ensure a required version of .NET Framework is installed

From NSIS Wiki
Jump to navigationJump to search

Comment (MD): Note that this code only checks the major and minor version numbers. It does not check the build number. For example, if the installed .NET version is v1.0.1000 and you really required v1.0.1001, this code will tell you you have the required version installed.

Also, if either the major or minor version number ever became two digits long, there could be a problem. For example, 10.0 would not be seen as later than 2.0.

Given the way Microsoft has been versioning .NET so far, these are probably not real concerns at the moment. On my desktop, which should be up to date, 1.1 is 1.1.4322, and it seems that 1.0 had build number 3706. .NET Version 2 (installed in md-November 2005) is v2.0.50727.