aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/installer/packageall.bat
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/installer/packageall.bat')
-rw-r--r--xorg-server/installer/packageall.bat18
1 files changed, 17 insertions, 1 deletions
diff --git a/xorg-server/installer/packageall.bat b/xorg-server/installer/packageall.bat
index b68ffdfa1..2856a9834 100644
--- a/xorg-server/installer/packageall.bat
+++ b/xorg-server/installer/packageall.bat
@@ -1,3 +1,19 @@
+@echo off
if exist vcxsrv.*.installer.exe del vcxsrv.*.installer.exe
+if "%VS2008%"=="1" goto vs2008
+
+copy %systemroot%\system32\msvcr100.dll
+copy %systemroot%\system32\msvcr100d.dll
+"C:\Program Files\NSIS\makensis.exe" vcxsrv.nsi
+del msvcr100.dll
+del msvcr100d.dll
+
+goto end
+:vs2008
+
python genruntimeinclude.py
-"C:\Program Files\NSIS\makensis.exe" vcxsrv.nsi \ No newline at end of file
+"C:\Program Files\NSIS\makensis.exe" /DVS2008=1 vcxsrv.nsi
+del runtime
+
+:end
+