Windows 10企业版将产品名称返回为Windows 8 Pro

时间:2017-10-27 12:46:32

标签: windows windows-10 inno-setup

我正在使用Windows 10企业评估虚拟机,当我浏览注册表以在Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion ProductName下找到产品名称时,我发现它是 Windows 10企业评估

我使用innosetup函数在我的代码中使用以下函数打印产品名称。

RegQueryStringValue(HKLM64, 'SOFTWARE\Microsoft\Windows NT\CurrentVersion', 'ProductName', strProductName)

其中strProductName是我在函数中使用的String变量,但它打印 Windows 8 Pro

知道问题是什么。

先谢谢。

0 个答案:

没有答案