Skip to content
⌘ NSIS Forum Archive

example for GetWindowsVersion wrong ??

3 posts

stp#

example for GetWindowsVersion wrong ??

I think the example for GetWindowsVersion in the documentation
is not correct

NOW it is
StrCmp $R1 '5.0' lbl_winnt_2000 lbl_error
StrCmp $R1 '5.1' lbl_winnt_XP lbl_error
StrCmp $R1 '5.2' lbl_winnt_dotNET lbl_error


but i think correct is
StrCmp $R1 '5.0' lbl_winnt_2000
StrCmp $R1 '5.1' lbl_winnt_XP
StrCmp $R1 '5.2' lbl_winnt_dotNET lbl_error


Peter