Detect install in running on Windows 10

Got a problem you cannot solve? Try here.
Sheri_Steeves
Posts: 124
Joined: Mon Oct 22, 2012 2:14 pm

Detect install in running on Windows 10

Postby Sheri_Steeves » Tue Oct 21, 2014 11:56 am

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Detect install in running on Windows 10

Postby FrancescoT » Wed Oct 22, 2014 9:22 am

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Sheri_Steeves
Posts: 124
Joined: Mon Oct 22, 2012 2:14 pm

Re: Detect install in running on Windows 10

Postby Sheri_Steeves » Thu Oct 23, 2014 9:21 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 91 guests