1

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?

Simon Gymer
  • 417
  • 3
  • 12

1 Answers1

3

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.
Michael Urman
  • 15,737
  • 2
  • 28
  • 44
  • That's a fix for InstallShield 2013, not 2012. We don't have those constants defined at all in 2012, which is why I'm trying to use the SYSINFO.nOSMajor and SYSINFO.nOSMinor properties instead of the SYSINFO.nISOSL property. – Simon Gymer Mar 18 '14 at 09:50
  • Yes you're quite right. This post was very useful in explaining why it does it... http://stackoverflow.com/questions/20864730/why-os-version-reports-windows-8-0-for-windows-8-1. Those manifests do work ok for IS2012 so that it puts the right version number in the SYSINFO fields now. – Simon Gymer Mar 18 '14 at 12:50