每个Windows操作系统的注册表中的CurrentVersion值

Aji*_*kya 6 windows registry nsis

我正在研究nsis安装程序.为此,我想知道CurrentVersion每个操作系统的价值

HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion"
Run Code Online (Sandbox Code Playgroud)

例如:我的机器上安装了Windows 7专业版,CurrentVersion价值是6.1.

自Windows 98以来,任何人都可以为所有Windows操作系统列出它吗?

Aji*_*kya 12

这些是Windows操作系统的必需版本:

Operating system              Version number
----------------------------  --------------
Windows 10                      10.0
Windows Server 2019             10.0
Windows Server 2016             10.0
Windows 8.1                     6.3
Windows Server 2012 R2          6.3
Windows 8                       6.2
Windows Server 2012             6.2
Windows 7                       6.1
Windows Server 2008 R2          6.1
Windows Server 2008             6.0
Windows Vista                   6.0
Windows Server 2003 R2          5.2
Windows Server 2003             5.2
Windows XP 64-Bit Edition       5.2
Windows XP                      5.1
Windows 2000                    5.0
Windows ME                      4.90
Windows 98                      4.10
Run Code Online (Sandbox Code Playgroud)

  • 但请注意,有问题的注册表项将包含Windows 10的"6.3".您还需要检查新的"CurrentMajor/MinorVersionNumber"键:http://stackoverflow.com/q/31072543/87698 (10认同)