Link to home
Start Free TrialLog in
Avatar of sam15
sam15

asked on

How install Microsoft Framework Version 4.0

Hi

I have a windows 10 machine.

I am trying to install a PB IDE that has features that require "Microsoft .NET Framework Version 4.0 or later".

How can I check if it is already installed on windows 10 machine? If not installed, how do you download it and install it?

Thanks,
ASKER CERTIFIED SOLUTION
Avatar of Antzs
Antzs
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sam15
sam15

ASKER

Does this list below tell you that .NET Version 2.0 or 4.0 is installed? It listed so many versions.
Also, dont you have to turn it on or activate it on machine?

C:>reg query "HKLM\SOFTWARE\Microsoft\Net Framework SEtup\NDP" /s

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\CDF

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\CDF\v4.0
    HttpNamespaceReservationInstalled    REG_DWORD    0x1
    NetTcpPortSharingInstalled    REG_DWORD    0x1
    NonHttpActivationInstalled    REG_DWORD    0x1
    SMSvcHostPath    REG_SZ    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
    WMIInstalled    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727
    CBS    REG_DWORD    0x1
    Increment    REG_SZ    4927
    Install    REG_DWORD    0x1
    OCM    REG_DWORD    0x1
    SP    REG_DWORD    0x2
    Version    REG_SZ    2.0.50727.4927

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1028
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1029
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1030
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1031
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1032
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1033
    CBS    REG_DWORD    0x1
    Increment    REG_SZ    4927
    SP    REG_DWORD    0x2
    Version    REG_SZ    2.0.50727.4927

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1035
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1036
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1038
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1040
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1041
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1042
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1043
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1044
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1045
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1046
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1049
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1053
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\1055
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\2052
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\2070
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\3076
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v2.0.50727\3082
    Install    REG_DWORD    0x1
    MSI    REG_DWORD    0x1
    OCM    REG_DWORD    0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v3.0
    CBS    REG_DWORD    0x1
    Increment    REG_SZ    4926
    Install    REG_DWORD    0x1
    SP    REG_DWORD    0x2
    Version    REG_SZ    3.0.30729.4926

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v3.0\Servicing

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v3.0\Servicing\Windows Workflow Foundation
    CBS    REG_DWORD    0x1
    Hotfix    REG_SZ
    Install    REG_DWORD    0x1
    SP    REG_DWORD    0x2
    SPIndex    REG_DWORD    0x0
    SPName    REG_SZ    SP2

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v3.0\Setup
    InstallSuccess    REG_DWORD    0x1
    Version    REG_SZ    3.0.30729.4926

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v3.0\Setup\1033
    CBS    REG_DWORD    0x1
    Increment    REG_SZ    4926
    Install    REG_DWORD    0x1
    InstallSuccess    REG_DWORD    0x1
    SP    REG_DWORD    0x2
    Version    REG_SZ    3.0.30729.4926

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v3.0\Setup\Windows Communication Foundation
    InstallSuccess    REG_DWORD    0x1
    ReferenceInstallPath    REG_SZ    C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\
    RuntimeInstallPath    REG_SZ    C:\windows\Microsoft.NET\Framework64\v3.0\Windows Communication Foundation\
    Version    REG_SZ    3.0.4506.4926

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v3.0\Setup\Windows Presentation Foundation
    (Default)    REG_SZ    WPF v3.0.6920.4902
    InstallRoot    REG_SZ    C:\windows\Microsoft.NET\Framework64\v3.0\WPF\
    InstallSuccess    REG_DWORD    0x1
    ProductVersion    REG_SZ    3.0.6920.4902
    Version    REG_SZ    3.0.6920.4902
    WPFCommonAssembliesPathx64    REG_SZ    C:\windows\System32\
    WPFNonReferenceAssembliesPathx64    REG_SZ    C:\windows\Microsoft.NET\Framework64\v3.0\WPF\
    WPFReferenceAssembliesPathx64    REG_SZ    C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v3.0\Setup\Windows Workflow Foundation
    (Default)    REG_SZ    Windows Workflow Foundation
    FileVersion    REG_SZ    3.0.4203.4926
    InstallDir    REG_SZ    C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\
    InstallSuccess    REG_DWORD    0x1
    MajorBuildNum    REG_SZ    4203
    ProductVersion    REG_SZ    3.0.0.0

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v3.5
    CBS    REG_DWORD    0x1
    Install    REG_DWORD    0x1
    InstallPath    REG_SZ    C:\windows\Microsoft.NET\Framework64\v3.5\
    SP    REG_DWORD    0x1
    Version    REG_SZ    3.5.30729.4926

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v3.5\1033
    CBS    REG_DWORD    0x1
    Install    REG_DWORD    0x1
    SP    REG_DWORD    0x1
    Version    REG_SZ    3.5.30729.4926

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v4

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v4\Client
    CBS    REG_DWORD    0x1
    Install    REG_DWORD    0x1
    InstallPath    REG_SZ    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
    Release    REG_DWORD    0x80ea8
    Servicing    REG_DWORD    0x0
    TargetVersion    REG_SZ    4.0.0
    Version    REG_SZ    4.8.03752

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v4\Client\1033
    CBS    REG_DWORD    0x1
    Install    REG_DWORD    0x1
    Release    REG_DWORD    0x80ea8
    Servicing    REG_DWORD    0x0
    TargetVersion    REG_SZ    4.0.0
    Version    REG_SZ    4.8.03752

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v4\Full
    CBS    REG_DWORD    0x1
    Install    REG_DWORD    0x1
    InstallPath    REG_SZ    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
    Release    REG_DWORD    0x80ea8
    Servicing    REG_DWORD    0x0
    TargetVersion    REG_SZ    4.0.0
    Version    REG_SZ    4.8.03752

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v4\Full\1033
    CBS    REG_DWORD    0x1
    Install    REG_DWORD    0x1
    Release    REG_DWORD    0x80ea8
    Servicing    REG_DWORD    0x0
    TargetVersion    REG_SZ    4.0.0
    Version    REG_SZ    4.8.03752

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v4.0
    (Default)    REG_SZ    deprecated

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Net Framework SEtup\NDP\v4.0\Client
    Install    REG_DWORD    0x1
    Version    REG_SZ    4.0.0.0
Yes that list shows you have v4.0 installed.

That said, you really want the latest version of 4.x, which should be 4.8 these days. The 4.0 version is REALLY old (if you have Windows 10 updates enabled, then you are probably on 4.7.x or 4.8)
You can have multiple .NET versions installed on a machine.  It will still works fine.  Application which requires the use of .NET will just run the specific .NET that they are designed to run on.
you can check file explorer

User generated image
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
"I am trying to install..." - but setup says something is missing?
Or didn't you try yet? Because it would just work. Dotnet will be at the current version.
Avatar of sam15

ASKER

Hi

I want to download and install the latest .NET 4.8 SDK.... On this page I see two links for runtime or developer pack and some advanced downloads

Which one do I need to download and install on the windows 10 machine?

https://dotnet.microsoft.com/download/dotnet-framework/net48


Runtime

The runtime includes everything you need to run existing apps/programs built with .NET Framework.

Avatar of sam15

ASKER

The documentation says i need SDK. Does not that mean i need the developer pack which also include runtime?
there are just 2 versions

SDK > if you will write .net applications using .net framework
Runtime > install this one to run any application that requires .Net

and latest version is 4.8

and if you need different languages, you can install those one
Avatar of sam15

ASKER

I am not writing .NET applications but i am installing a Powerbuilder 2019 client IDE and I think converts code to  .NET before deployment to server.

If the documentation states you need "Microsoft .NET Framework 4.6.1 SDK or later", does that mean SDK or runtime?

I assume SDK includes runtime so it should not hurt to install extra software even if it is not needed.
Sam, did you try and just install it? Many times, I see software requirements state that some SDK is needed while that's not even true, the normal dotnet that's build-in is enough. That might be a wrong requirement because developers test only with SDK installed themselves. Apatr from that, I looked at the documentation - I could only find that: https://docs.appeon.com/pb2019r2/installation_guide_for_pb/Software_Requirements.html - that does not talk of sdk.
In my opinion, you will be good to go without installing dotnet sdk.
Avatar of sam15

ASKER

If you hit the arrow twice on the page you will see the mention for SDK.  
Is the default .NET that comes with WIndows 10 for runtime only?

*****************************************************************************************************************************

Preparing your environment

PowerBuilder Installer relies on the following operating system and software to run:
  • Windows 10, 8.1, or 7 SP1 KB3033929
  • Universal C Runtime (CRT)
    Universal CRT is installed by default on Windows 10, but not on Windows 7 and 8.1. UCRT must be installed before you can install Microsoft .NET Framework 4.6.1 SDK. If PowerBuilder Installer detects that UCRT is not installed, it will provide the package list according to your platform, and you must download and install the package in the order listed.
  • Microsoft .NET Framework 4.6.1 SDK or later
    It can be downloaded from https://dotnet.microsoft.com/download/archives....
  • ******************************************************************************************************************


Ok, I see. How about using their link which leads to https://dotnet.microsoft.com/download/dotnet-framework/thank-you/net48-developer-pack-offline-installer (.net 4.8 developer pack offline installer) - did you install that, yet?
Avatar of sam15

ASKER


No, not yet. Please note I downloaded the OFFLINE installer as i dont have internet access for target machine.
Not sure if this requirement is only for the online installer.

Their link takes you back to the same webpage I was on which has two options: Runtime or Developer pack.
https://dotnet.microsoft.com/download/dotnet-framework/net48

Are you saying now I should install the developer pack?
just install runtime
if you need more, you can install full SDK later
Avatar of sam15

ASKER

netver.txtD

I installed the .NET sdk. Does the attached file show I have the latest .NET 4.8 installed now because I did not a see a new folder created under
C:\windows\microsoft.net\framework64 as one of the links above showed.


it says it is installed here...

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\

Open in new window

copy this, press Windows+R. paste, ENTER
you should go to that folder...
Avatar of sam15

ASKER

I did go to that folder. But what are you looking for there to indicate it was installed?

I see a list of old files and folders date 2018.

if you have that folder and soem folders and files there, it means you ionstalled .Net 4
User generated image
Avatar of sam15

ASKER

Excellent answers!