Recognize Windows Server 2012 based on the OS version/release information.
Windows Server 2012 was made available on 09/04/2012 and is only for x64_86 systems.
The version number of Windows Server 2012 and Windows 8 are identical (6.2), so must also test if ProductType is 1 (VER_NT_WORKSTATION). If so, it's Windows 8, otherwise it is Windows Server 2012.
I'd already added a check in STAF V3.4.9 to set STAF/OS/Name to Win8 if the Windows version is 6.2. So, now need to check if Product Type is 1 (VER_NT_WORKSTATION) and if not, set STAF/OS/Name to WinSrv2012.
Also, need to test STAF on Windows Server 2012.
Will also need to upgrade to InstallAnywhere FP 4 (just released) which provides support for Windows Server 2012 and Windows 8 64-bit (there's a separate feature for this).