Hi,
The list of supported client & server operating systems is listed by Microsoft here: https://docs.microsoft.com/en-us/dotnet/framework/get-started/system-requirements#supported-server-operating-systems.
I get this when matching that against the list from InstallAware X6:
However, I'm unclear on how to use the "Get System Settings" command from InstallAware to perform all these checks. First off, does this command mix client & server operating systems? E.g. will the “Get System Settings” command return true for “Windows Server 2012 R2” minimum capability on “Windows 10”? It would help to understand what it does under the hood - does it just compare the build numbers?
Thanks in advance.
.NET Framework 4.8 - How to check that the target system meets the minimum capabilities
Re: .NET Framework 4.8 - How to check that the target system meets the minimum capabilities
First off, does this command mix client & server operating systems? E.g. will the “Get System Settings” command return true for “Windows Server 2012 R2” minimum capability on “Windows 10”? It would help to understand what it does under the hood - does it just compare the build numbers?
Apparently not, because "Get System Settings" for the "Windows Server 2012" (build number would be 9200) capability returns FALSE on Windows 10 (2004, build number 19041). This is probably a good thing for the task at hand.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: .NET Framework 4.8 - How to check that the target system meets the minimum capabilities
it's exactly as you say.
"Get System Settings" for the "Windows Server 2012" (minimum capability) will return FALSE when executed from any non-server version of Windows OS.
"Get System Settings" for the "Windows Server 2012" (minimum capability) will return FALSE when executed from any non-server version of Windows OS.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: .NET Framework 4.8 - How to check that the target system meets the minimum capabilities
Thanks for the confirmation!
Here's what I have so far, for .NET Framework 4.8.03928. Does this make sense? Any feedback would be highly appreciated.
Here's what I have so far, for .NET Framework 4.8.03928. Does this make sense? Any feedback would be highly appreciated.
Code: Select all
Read Registry Key HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\Version into DOTNET48_X86X64
if Variable DOTNET48_X86X64 Greater Than (Version) 4.8.03927
Set Variable DOTNET48_X86X64 to TRUE
else
Set Variable DOTNET48_X86X64 to FALSE
end
if Variable DOTNET48_X86X64 Equals FALSE
Set Variable DOTNET48_ABORT to FALSE
Get Exact OS Level into OS_VERSION
Get Exact SP Level into OS_SP_NUMBER
Get System Setting Windows with Server Features into IS_WINDOWSSERVER
if Variable IS_WINDOWSSERVER Equals TRUE
Get System Setting Windows 2008 R2 into ISATLEAST_WINDOWSSERVER2008R2
if Variable ISATLEAST_WINDOWSSERVER2008R2 Equals TRUE
if Variable OS_VERSION Equals 2008R2
if Variable OS_SP_NUMBER Equals 0
Comment: Windows Server 2008R2 w/out SP1
Set Variable DOTNET48_ABORT to TRUE
end
end
else
Comment: Before Windows Server 2008R2
Set Variable DOTNET48_ABORT to TRUE
end
else
Comment: Client OS
Get System Setting Windows 7 into ISATLEAST_WINDOWS7
if Variable ISATLEAST_WINDOWS7 Equals TRUE
if Variable OS_VERSION Equals SEVEN
if Variable OS_SP_NUMBER Equals 0
Comment: Windows 7 w/out SP1
Set Variable DOTNET48_ABORT to TRUE
end
else
if Variable OS_VERSION Equals METRO
Comment: Windows 8
Set Variable DOTNET48_ABORT to TRUE
else
Get System Setting Windows 10 into ISATLEAST_WINDOWS10
Get System Setting Windows 10 Redstone into ISATLEAST_WINDOWS10_1607
if Variable ISATLEAST_WINDOWS10 Equals TRUE
if Variable ISATLEAST_WINDOWS10_1607 Equals FALSE
Comment: Windows 10 before 1607
Set Variable DOTNET48_ABORT to TRUE
end
end
end
end
else
Comment: Before Windows 7
Set Variable DOTNET48_ABORT to TRUE
end
end
Who is online
Users browsing this forum: No registered users and 136 guests