From e75f03ab8fe80c3d7549ff1a931bdb4bd25889b0 Mon Sep 17 00:00:00 2001 From: kichik Date: Wed, 10 Jun 2009 18:50:12 +0000 Subject: [PATCH] 2008 r2 testing git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5991 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/Tests/winver.nsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Source/Tests/winver.nsi b/Source/Tests/winver.nsi index ec90f046..5bdf11c8 100644 --- a/Source/Tests/winver.nsi +++ b/Source/Tests/winver.nsi @@ -712,4 +712,20 @@ Section !insertmacro TestWinVer "Windows 7 x64" 7 0 client nt + #### WINDOWS 2008 R2 x64 + + # OSVERSIONINFOEX + StrCpy $OSVERSIONINFOEX_RES 1 + StrCpy $OSVERSIONINFOEX_CSD "" + StrCpy $OSVERSIONINFOEX_INIT "i 156, i 6, i 1, i 7100, i 2, &t128 s, &i2 0, &i2 0, &i2 272, &i1 3, &i1 0" + # 9c0000000600000001000000bc1b00000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010010300 + + # OSVERSIONINFO + StrCpy $OSVERSIONINFO_RES 1 + StrCpy $OSVERSIONINFO_CSD "" + StrCpy $OSVERSIONINFO_INIT "i 148, i 6, i 1, i 7100, i 2, &t128 s, &i2 37797, &i2 0, &i2 9341, &i1 83, &i1 0" + # 940000000600000001000000bc1b0000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + + !insertmacro TestWinVer "Windows 2008 R2 x64" 2008R2 0 server nt + SectionEnd