Differentiate betn XP home and XP Pro
Posted 12 May 2003 - 18:01
How can I differentiate between Windows XP Home and Windows XP Professional in my installation scripts?
Both have versions 5.1 .
Posted 13 May 2003 - 01:20
Here's my re-worded version of the information:
Call the VerifyVersionInfo Windows API to compare the current system version to a required version. In this case, you'll want to see if wSuiteMask is set to VER_SUITE_PERSONAL meaning Windows XP Home Edition is installed.
Hope it helps.
Edited by TacoBell00, 13 May 2003 - 02:17.
Posted 14 May 2003 - 07:57
So it could help o check in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager for the value of LicensedProcessors.
If this is 0x00000001 it should be home edition, if 0x00000002 it should be professional.
Maybe someone can look for the values for the other xp versions ...
Posted 14 May 2003 - 14:27
As for other versions of XP, are you referring to the Tablet PC Edition and the Media Center Edition? 'cause it's not obvious from Microsoft's web site, but I expect they're also both limited to one processor.
Posted 14 May 2003 - 15:21
(which is now again called Windows 2003 Server,
does anyone know what the version number is? 5.2?)
and there was something called DataServer version ...
This I had in mind when thinking about the other versions of Windows XP
Posted 14 May 2003 - 15:39
Thanks for the replies..
Posted 15 May 2003 - 00:35
However, all of the editions of Windows Server 2003 are indeed v5.2.
Having said all that, that means there are 5 varities of XP, and therefore all the more reason to rely on the VerifyVersionInfo Windows API call instead of the previously mentioned registry hack.