Page 1 of 1

Detect install in running on Windows 10

Posted: Tue Oct 21, 2014 11:56 am
by Sheri_Steeves
Hello,

I am testing our installs on Windows 10 and need to determine that the install is running on Windows 10.

The call to GetExactOSLevel returns METROR2 (Windows 8.1), GetSystemSetting Windows 8.1 returns TRUE.
Calling GetVersion from the kernel32.dll returns 629146374 (double word).

I am running IA 18 (build 11.6.13) - should I upgrade to 18.08?

Thanks,

Sheri

Re: Detect install in running on Windows 10

Posted: Wed Oct 22, 2014 9:22 am
by FrancescoT
Dear Sheri,

it is highly recommended to upgrade to the latest IA version anyway.

For what concerns WIN 10 support, this OS is currently distributed for test purpose only ( ... it is a beta).
Of course future IA version will support it.

By the way, it's Always possible to retrieve the target OS version via WINDOWS API.

Regards

Re: Detect install in running on Windows 10

Posted: Thu Oct 23, 2014 9:21 am
by Sheri_Steeves
Francesco,

I figured Window 10 support would be coming down the pipes in the future; wasn't sure if it was already in place with 18.08 or not. We're trying to be proactive. :D

We did determine that as of Windows 8.1, when getting the OS version you cannot call GetVersionEx any more as what it returns depends on how the application is manifested. With no manifest, it returns Windows 8 OS version value (6.2). If you run in compatibility mode, you get the compatibility mode; not the actual OS version of the base operating system. We were able to work around this using VerifyVersionInfo.


Thanks,

Sheri