Error .NET Framework Version 4.6.2 Required During DIAdem Installation

Updated Mar 25, 2024

Reported In

Software

  • DIAdem

Issue Details

  • When installing DIAdem, I receive an error stating that .NET Framework version 4.6.2 is required. How can I resolve this?
  • When I attempt to install DIAdem, a message appears stating that .NET Framework is required but I already have a later version installed. How can I fix this?
  • I see the below error when installing DIAdem:
This application requires one of the following versions of the .NET Framework:
.NETFramework, Version=v4.6.2

Do you want to install this .NET Framework version now?

Solution

This error occurs because DIAdem does not recognise that a compatible version of .NET Framework is installed.

Check if (and which version of) .NET Framework is installed, refer to the Use Registry Editor section in [External] How to: Determine which .NET Framework versions are installed.
Refer to the troubleshooting steps in the relevant sections below depending on which version of .NET Framework is installed.


.NET Framework is Not Installed

If .NET Framework is not already installed on the PC, download .NET Framework Runtime version 4.6.2 (or whichever version is required by the installer) from [External] Download .NET Framework 4.6.2.
 

.NET Framework 4.6.2 or Later is Already Installed

.NET Framework 4.5 and later is backwards-compatible with applications that were built with earlier versions, as explained in [External] Version compatibility. Therefore, if this error occurs when .NET Framework 4.6.2 or later is installed, it is caused by underlying issues on the PC that prevent the DIAdem installer from recognising .NET Framework.

Follow the troubleshooting steps below to resolve this error:
  1. Verify that the Windows PC is has the latest updates. Instructions can be found in [External] Get the latest Windows update.
  2. Run the [External] .NET Framework Repair Tool in case there are any issues with the .NET installation.
  3. Install the [External] .NET Framework 4.6.2 Developer Pack (or whichever version is required by the installer).
  4. Verify that the Common Language Runtime (CLR) is compatible using the Step 2: Windows Powershell section in [External] How to determine the installed CLR version.
    • The CLR version should be 4.0.30319.42000 or later.
  5. If using any 3rd party security or anti-virus software, temporarily uninstall it to check if the software is blocking the DIAdem installer.
  6. Configure Windows for a [External] Clean Boot. Upon restart, run the DIAdem installer again.
    • It's possible that a 3rd party process is conflicting with NI's installer or .NET Framework. This test will boot Windows with minimal start-up processes to verify if this is the case.
  7. If the Windows PC came with .NET Framework pre-installed, the Windows image may be corrupt. Re-image the PC.