From 0823306f59bac824d0aef06da55febaed308b84f Mon Sep 17 00:00:00 2001 From: kichik Date: Sun, 17 May 2009 21:56:04 +0000 Subject: [PATCH] some 7 loving git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5967 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/Tests/winver.nsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Source/Tests/winver.nsi b/Source/Tests/winver.nsi index d2f9559c..71778bbe 100644 --- a/Source/Tests/winver.nsi +++ b/Source/Tests/winver.nsi @@ -680,4 +680,18 @@ Section !insertmacro TestWinVer "Windows Server 2008" 2008 1 server nt + # 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 256, &i1 1, &i1 0" + # 9c0000000600000001000000bc1b00000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010100 + + # OSVERSIONINFO + StrCpy $OSVERSIONINFO_RES 1 + StrCpy $OSVERSIONINFO_CSD "" + StrCpy $OSVERSIONINFO_INIT "i 148, i 6, i 1, i 7100, i 2, &t128 s, &i2 22455, &i2 0, &i2 31205, &i1 95, &i1 0" + # 940000000600000001000000bc1b0000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + + !insertmacro TestWinVer "Windows 7 x64" 7 0 client nt + SectionEnd