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

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

  •  15-06-2023
  •  | 
  •  

Domanda

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?

È stato utile?

Soluzione

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.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top