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

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

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

Post by dcube »

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" ?

Post by FrancescoT »

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/window ... versionexw

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" ?

Post by dcube »

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
Post Reply