Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

View Poll Results: How should Windows 10 releases be identified?
16299 | The build number 15 55.56%
1709 | The release date 10 37.04%
FallCreatorsUpdate | The semi-public name 1 3.70%
Redstone3 | The internal code name 0 0%
Something else? 0 0%
I don't care about Windows 10 releases 1 3.70%
Voters: 27. You may not vote on this poll

Reply
Thread Tools Search this Thread Display Modes
Old 15th April 2018, 22:02   #1
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,976
WinVer Windows 10 release identification

I'm considering adding more detailed Windows 10 detection support to WinVer and I'd like to get some feedback on the API design. How should each release be identified?

Technical note: Anything other than the build number will most likely require a lookup at compile-time and therefore a new NSIS release will be required to support new Windows 10 releases. If we choose something other than the build number, a macro for the build number will still be available.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 16th April 2018, 11:52   #2
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 522
Send a message via ICQ to T.Slappy
I voted for Build number, I think it is the most common way.

Cool looking installer with custom design: www.graphical-installer.com
I offer NSIS scripting, C/C++/C#/Delphi programming: www.unsigned.sk
Develop NSIS projects in Visual Studio 2005-2019: www.visual-installer.com
or RAD Studio 2009, 2010, XE-10.3 Rio: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Old 16th April 2018, 13:49   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,976
Quote:
Originally Posted by T.Slappy View Post
I voted for Build number, I think it is the most common way.
MSDN actually seems to use the date:

Quote:
Minimum supported client:
Windows 10, version 1511 [desktop apps only]
but there is no API to retrieve this date AFAIK. I'm not even sure if this number is documented as a date (or even documented anywhere on the developer pages on MSDN for that matter).

https://developer.microsoft.com/en-u...windows-10-sdk manages to use "Fall Creators Update", "10.0.16299.91" and "1507" on the same page. https://docs.microsoft.com/en-us/win...10-build-10586 and https://docs.microsoft.com/en-us/win...10-build-16299 starts off with "Windows 10 build 10586 (also known as the November Update or version 1511)" and "Windows 10 build 16299 (also known as the Fall Creators Update or version 1709)" which is not really helpful.

https://docs.microsoft.com/en-us/win.../waas-overview calls the date version "feature updates":
Quote:
Because feature updates are delivered more frequently than with previous Windows releases — twice per year, around March and September, rather than every 3–5 years

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 18th June 2018, 08:45   #4
prisma86
Junior Member
 
Join Date: Jun 2018
Posts: 1
I voted for Release Date, because in case of support customers mostly know, oh, yes, I just got the 1803 Update ( f*** ) They never know about a build number.
prisma86 is offline   Reply With Quote
Old 30th August 2018, 16:31   #5
sai20180
Junior Member
 
Join Date: Aug 2018
Posts: 1
Windows 10 release identification

many users of Windows 10 have a solid idea of which build they are on. In fact, most consumers likely do not know, and that is an OK thing. Windows 10 should be transparent, and users should not have to know the exact build of the OS they are running.

Windows Insiders, however, are a different breed. You, folks, like to keep tabs on every release and sometimes, just sometimes, you may have forgotten which build you are on. Alternatively, sometimes things update but you do not know what changed.
sai20180 is offline   Reply With Quote
Old 8th December 2018, 13:42   #6
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,976
We have decided to try to support all variations. Give https://sourceforge.net/p/nsis/code/...ude/WinVer.nsh a try.
Quote:
${If} ${AtLeastWaaS} 'Fall Creators Update'
...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 10th February 2019, 12:52   #7
StevenRosenberg
Junior Member
 
Join Date: Feb 2019
Posts: 1
Winver_2019

When will the proper values be added to the WinVer.nsh for Windows 2019 x64?

I understand the version is 10.0.17763, but it is not clear what the hex number value will be for the WINVER_2019_NT and WINVER_2019 defines?
StevenRosenberg is offline   Reply With Quote
Old 10th February 2019, 14:05   #8
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,976
Quote:
Originally Posted by StevenRosenberg View Post
When will the proper values be added to the WinVer.nsh for Windows 2019 x64?
I don't know if we will continue adding these defines since they are all "Windows 10" but you can check for a specific build on your own:

PHP Code:
${If} ${AtLeastBuild17763 ; Or use ${AtLeastWaaS1809
${AndIf} ${IsServerOS}
  ...
${EndIf} 
I frankly don't understand how server versions work anymore.

Take https://docs.microsoft.com/en-us/win...s-server-1809# for example, it says:

Quote:
In addition to features that are new in Windows Server version 1809, the following new features and capabilities for Windows Server 2019 also apply to Windows Server version 1809
but 1809 is version 10.0.17763 so what is the difference between "Windows Server 2019" and "Windows Server version 1809"? Since there are two "releases" per year, does that mean that there will be two versions of "Windows Server 2019"?

Microsoft does not really want people to do version checks anymore. If you require a specific feature you should try to detect that feature if possible instead of checking the version.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump