Seperated win7 and win8 to prevent any future awkwardness

This commit is contained in:
Glen De Cauwsemaecker 2014-04-12 21:15:36 +02:00
parent 9157a5d3ba
commit 1efa1a54e1
2 changed files with 10 additions and 4 deletions

View file

@ -18,6 +18,14 @@
<vs10redist>http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe</vs10redist> <vs10redist>http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe</vs10redist>
</general> </general>
</general> </general>
<Win8>
<b32>
<mongodb>https://fastdl.mongodb.org/win32/mongodb-win32-i386-2.6.0.zip</mongodb>
</b32>
<b64>
<mongodb>https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.6.0.zip</mongodb>
</b64>
</Win8>
<Win7> <Win7>
<b32> <b32>
<mongodb>https://fastdl.mongodb.org/win32/mongodb-win32-i386-2.6.0.zip</mongodb> <mongodb>https://fastdl.mongodb.org/win32/mongodb-win32-i386-2.6.0.zip</mongodb>

View file

@ -8,10 +8,8 @@ for /f "tokens=4-5 delims=. " %%i in ('ver') do set VERSION=%%i.%%j
if "%version%" == "5.2" ( call:set_os XP ) if "%version%" == "5.2" ( call:set_os XP )
if "%version%" == "6.0" ( call:set_os Vista ) if "%version%" == "6.0" ( call:set_os Vista )
if "%version%" == "6.1" ( call:set_os Win7 ) if "%version%" == "6.1" ( call:set_os Win7 )
:: we handle win8.0 as win7 if "%version%" == "6.2" ( call:set_os Win8 )
if "%version%" == "6.2" ( call:set_os Win7 ) if "%version%" == "6.3" ( call:set_os Win8 )
:: we handle win8.1 as win7
if "%version%" == "6.3" ( call:set_os Win7 )
goto:end goto:end