Windows 2008 detection inconsistent
Posted: Wed May 26, 2010 6:56 am
Hello,
Our software must be installed in a different way on Windows 2008 (R2).
I did some tests with the following code on Windows 2008 R2 system:
The result:
I am surprised about the 2008 = FALSE. Shouldn't it be set to TRUE as well?
The behavior is inconsistent with the other responses - I get the TRUE for XP, Vista, 7 and also 2003 checks..
Bug?
Best regards,
adi
Our software must be installed in a different way on Windows 2008 (R2).
I did some tests with the following code on Windows 2008 R2 system:
Code: Select all
Get System Setting Windows XP into IS_WINDOWS_XP
Get System Setting Windows Vista into IS_WINDOWS_VISTA
Get System Setting Windows 7 into IS_WINDOWS_7
Get System Setting Windows 2003 into IS_WINDOWS_2003
Get System Setting Windows 2008 into IS_WINDOWS_2008
Get System Setting Windows 2008 R2 into IS_WINDOWS_2008_R2
Code: Select all
XP = TRUE
Vista = TRUE
7 = TRUE
2003 = TRUE
2008 = FALSE
2008 R2 = TRUE
The behavior is inconsistent with the other responses - I get the TRUE for XP, Vista, 7 and also 2003 checks..
Bug?
Best regards,
adi