GetWindowsFunction problem
The "useful functions" section (of makensis.htm) that has the GetWindowsFunction seems to be incorrect after i tested it.
This part:
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
Should be (if i'm not mistaken):
StrCmp $R1 '5.0' lbl_winnt_2000
StrCmp $R1 '5.1' lbl_winnt_XP
StrCmp $R1 '5.2' lbl_winnt_dotNET lbl_error
Because in the original one, if your OS is NOT win2k, it will straight away go to the lbl_error label...so it won't even check for XP and .NET Server even. Hope you can change it.