basic winver tests to avoid another 2.39-ish disgrace

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5749 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2008-10-10 21:11:26 +00:00
parent 6577ff4f14
commit 75bef37109

15
Source/Tests/winver.nsi Normal file
View file

@ -0,0 +1,15 @@
Name winver
OutFile winver.exe
!include WinVer.nsh
# basic winver fun & games to make sure it compiles
Section
${If} ${IsWin2000}
${If} ${AtLeastServicePack} 4
${EndIf}
${EndIf}
SectionEnd