Windows 7/8/10 but PRO as "Minimum operating system" ?

Got a problem you cannot solve? Try here.
dcube
Posts: 7
Joined: Tue Sep 29, 2009 7:44 am

Windows 7/8/10 but PRO as "Minimum operating system" ?

Postby dcube » Fri May 08, 2020 8:23 am

Hello Support,

I need to check and block installation if Windows (7,8, 8.1, or 10) is less then PRO editions or greater.

How to ?

Best regards
Paolo Botti
X11 Version

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

Re: Windows 7/8/10 but PRO as "Minimum operating system" ?

Postby FrancescoT » Fri May 08, 2020 2:01 pm

Unfortunately, it's not available a ready to use built-in method for detecting the target Windows Edition.

However, you may implement your own method (for example; with invoking a custom DLL or. EXE) around the "GetVersionEx" WINAPI. This function returns the target edition through the "OSVERSIONINFOEX" structure.
https://docs.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getversionexw

Hope this helps you.
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

dcube
Posts: 7
Joined: Tue Sep 29, 2009 7:44 am

Re: Windows 7/8/10 but PRO as "Minimum operating system" ?

Postby dcube » Sat May 09, 2020 3:45 am

Thanks Francesco for the answer,

I know the sysinfoapi functions in Kernel32 but honestly I would have hoped for another answer.
If we prepare our own DLL we will make it available to other users as well.

Best regards
Paolo Botti


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 77 guests