SYSINFO.nOSMinor returning wrong version for Windows 2012 R2 and Windows 8.1

StackOverflow https://stackoverflow.com/questions/22452803

  •  15-06-2023
  •  | 
  •  

문제

For InstallScript projects, does anyone know why InstallShield 2012 returns 6.2 in the SYSINFO values for Windows 8.1 and Windows 2012 R2 which should be returning 6.3? Specifically in the SYSINFO.nOSMajor and SYSINFO.nOSMinor versions numbers.

If this is simply a bug in InstallShield are there any other ways to detect the OS version number?

도움이 되었습니까?

해결책

See the InstallShield community thread Installscript Project - Target machine setting recognizing Windows 8.1 as Windows 8. Note that there are two downloads referenced:

  1. Updated manifest files so that Windows's compatibility shims don't interfere; this can be applied to any recent version of InstallShield.
  2. A fix for a bug that the first revealed in InstallShield 2013; this doesn't affect previous versions that lack explicit support for Windows 8.1, and should only be applied to InstallShield 2013.
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top