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
Windows 7/8/10 but PRO as "Minimum operating system" ?
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Windows 7/8/10 but PRO as "Minimum operating system" ?
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.
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
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
Re: Windows 7/8/10 but PRO as "Minimum operating system" ?
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
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
Who is online
Users browsing this forum: No registered users and 77 guests