Is there a way to check if the .NET Framework 4 has been installed and install it only when it's not in the system?
I know, how do I determine, if the .NET Framework 4 is installed by checking the following registry key?
hasDotnet4 :=
RegKeyExists(HKEY_LOCAL_MACHINE, 'SOFTWAREMicrosoft.NETFrameworkpolicyv4.0');
How do I conditionally run the .NET Framework 4 installation based on the above check?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…