aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-06-26 10:55:45 +0200
committermarha <marha@users.sourceforge.net>2012-06-26 10:55:45 +0200
commit3458e8f13f8389a146c5b54b145dfb586af98dce (patch)
tree0efd2afba851fe3129bf047dbfcac1a37e4ec24d /xorg-server
parent2207e9e23c1875aef1ef657db83b502ec38eb196 (diff)
downloadvcxsrv-3458e8f13f8389a146c5b54b145dfb586af98dce.tar.gz
vcxsrv-3458e8f13f8389a146c5b54b145dfb586af98dce.tar.bz2
vcxsrv-3458e8f13f8389a146c5b54b145dfb586af98dce.zip
libxcb is now a dll
Diffstat (limited to 'xorg-server')
-rw-r--r--xorg-server/installer/vcxsrv.nsi38
1 files changed, 21 insertions, 17 deletions
diff --git a/xorg-server/installer/vcxsrv.nsi b/xorg-server/installer/vcxsrv.nsi
index ac22ac8dc..09ad13bcf 100644
--- a/xorg-server/installer/vcxsrv.nsi
+++ b/xorg-server/installer/vcxsrv.nsi
@@ -67,23 +67,6 @@ Section "VcXsrv (required)"
IfFileExists "$INSTDIR\opengl32.dll" 0 +2
Delete "$INSTDIR\opengl32.dll"
- SectionGetFlags ${VcXsrv_debug_version"} $0
- IntCmp $0 0 nodebug
- nodebug:
- IfFileExists "$INSTDIR\vcxsrv_dbg.exe" 0 +2
- Delete "$INSTDIR\vcxsrv_dbg.exe"
- IfFileExists "$INSTDIR\vcxsrv_dbg.pdb" 0 +2
- Delete "$INSTDIR\vcxsrv_dbg.pdb"
- IfFileExists "$INSTDIR\swrast_dri_dbg.dll" 0 +2
- Delete "$INSTDIR\swrast_dri_dbg.dll"
- IfFileExists "$INSTDIR\swrastwgl_dri_dbg.dll" 0 +2
- Delete "$INSTDIR\swrastwgl_dri_dbg.dll"
- IfFileExists "$INSTDIR\dxtn_dbg.dll" 0 +2
- Delete "$INSTDIR\dxtn_dbg.dll"
- IfFileExists "$INSTDIR\msvcr100d.dll" 0 +2
- Delete "$INSTDIR\msvcr100d.dll"
- done:
-
; Put files there
File "..\obj\servrelease\vcxsrv.exe"
File "..\protocol.txt"
@@ -109,6 +92,7 @@ Section "VcXsrv (required)"
File "..\dxtn.dll"
File "..\..\libxml2\bin\libxml2.dll"
File "..\..\zlib\obj\release\zlib1.dll"
+ File "..\..\libxcb\src\obj\release\libxcb.dll"
File "..\..\libXau\obj\release\libXau.dll"
File "..\..\libX11\obj\release\libX11.dll"
File "..\..\libxml2\bin\iconv.dll"
@@ -209,6 +193,25 @@ Section "VcXsrv debug version" VcXsrv_debug_version
SectionEnd
+Section -removedbg
+ SectionGetFlags ${VcXsrv_debug_version} $0
+ IntCmp $0 0 nodebug done done
+ nodebug:
+ IfFileExists "$INSTDIR\vcxsrv_dbg.exe" 0 +2
+ Delete "$INSTDIR\vcxsrv_dbg.exe"
+ IfFileExists "$INSTDIR\vcxsrv_dbg.pdb" 0 +2
+ Delete "$INSTDIR\vcxsrv_dbg.pdb"
+ IfFileExists "$INSTDIR\swrast_dri_dbg.dll" 0 +2
+ Delete "$INSTDIR\swrast_dri_dbg.dll"
+ IfFileExists "$INSTDIR\swrastwgl_dri_dbg.dll" 0 +2
+ Delete "$INSTDIR\swrastwgl_dri_dbg.dll"
+ IfFileExists "$INSTDIR\dxtn_dbg.dll" 0 +2
+ Delete "$INSTDIR\dxtn_dbg.dll"
+ IfFileExists "$INSTDIR\msvcr100d.dll" 0 +2
+ Delete "$INSTDIR\msvcr100d.dll"
+ done:
+SectionEnd
+
;--------------------------------
; Uninstaller
@@ -251,6 +254,7 @@ Section "Uninstall"
Delete "$INSTDIR\dxtn_dbg.dll"
Delete "$INSTDIR\swrastwgl_dri.dll"
Delete "$INSTDIR\swrastwgl_dri_dbg.dll"
+ Delete "$INSTDIR\libxcb.dll"
Delete "$INSTDIR\libXau.dll"
Delete "$INSTDIR\libX11.dll"
Delete "$INSTDIR\libxml2.dll"