Windows editions - Advanced Installer Community
germ
Posts: 3
Joined: Thu Jun 18, 2015 7:59 am

Windows editions

Is there any way to detect which edition of Windows (Home, Pro, Enterprise, etc) the installer is being run on? My product requires some IIS features which aren't available in Home editions of Windows, but I don't want it to get as far as the Windows Features installation before the user is informed that the installation can't continue. I'd like to be able to detect a Home edition of Windows early in the installation process so that the installation can be aborted before anything is done.

Any help would be appreciated.
Fulgan
Posts: 101
Joined: Mon Feb 27, 2012 10:42 am

Re: Windows editions

The HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion key has an "EditionID" value that contains the relevant string ("Professional", "Home", "Enterprise",...)

You can create a search for that registry entry and then use the resulting property in a custom launch condition.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Windows editions

Hi,

Indeed, the solution Fulgan posted it is correct.Thank you Fulgan for sharing it.

Just let us know there is anything else that we can help you with.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”