aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/installer/vcxsrv-debug.nsi
blob: 654e0239f4e1db2e6b5391db807a642a97a11d4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/*  This file is part of vcxsrv.
 *
 *  Copyright (C) 2009 Marc Haesen
 *
 *  vcxsrv is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  vcxsrv is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with vcxsrv.  If not, see <http://www.gnu.org/licenses/>.
*/
;--------------------------------

; The name of the installer
Name "VcXsrv"

; The file to write
OutFile "vcxsrv-debug.1.14.2.0.installer.exe"

; The default installation directory
InstallDir $PROGRAMFILES32\VcXsrv

; Registry key to check for directory (so if you install again, it will 
; overwrite the old one automatically)
InstallDirRegKey HKLM SOFTWARE\VcXsrv "Install_Dir"

; Request application privileges for Windows Vista
RequestExecutionLevel admin

;--------------------------------
InstType "Full"

; Pages

Page components
Page directory
Page instfiles

UninstPage uninstConfirm
UninstPage instfiles

SetPluginUnload alwaysoff
; ShowInstDetails show
XPStyle on

!define FUSION_REFCOUNT_UNINSTALL_SUBKEY_GUID {8cedc215-ac4b-488b-93c0-a50a49cb2fb8}

;--------------------------------
; The stuff to install
Section "VcXsrv debug exe and dlls"

  SectionIn RO
  SectionIn 1

  ; Set output path to the installation directory.
  SetOutPath $INSTDIR

  ; Put files there
  File "..\obj\servdebug\vcxsrv.exe"
  File "..\..\xkbcomp\obj\debug\xkbcomp.exe"
  File "..\..\apps\xhost\obj\debug\xhost.exe"
  File "..\..\apps\xrdb\obj\debug\xrdb.exe"
  File "..\..\apps\xauth\obj\debug\xauth.exe"
  File "..\..\apps\xcalc\obj\debug\xcalc.exe"
  File "..\..\apps\xclock\obj\debug\xclock.exe"
  File "..\..\apps\xwininfo\obj\debug\xwininfo.exe"
  File "..\hw\xwin\xlaunch\obj\debug\xlaunch.exe"
  File "..\..\tools\plink\obj\debug\plink.exe"
  File "..\..\mesalib\windows\VC8\mesa\Win32\Debug\swrast_dri.dll"
  File "..\hw\xwin\swrastwgl_dri\obj\debug\swrastwgl_dri.dll"
  File "..\..\dxtn\obj\debug\dxtn.dll"
  File "..\..\zlib\obj\debug\zlib1.dll"
  File "..\..\libxcb\src\obj\debug\libxcb.dll"
  File "..\..\libXau\obj\debug\libXau.dll"
  File "..\..\libX11\obj\debug\libX11.dll"
  File "..\..\libXext\src\obj\debug\libXext.dll"
  File "..\..\libXmu\src\obj\debug\libXmu.dll"
  File "msvcr100d.dll"
  File "msvcp100d.dll"

  WriteRegStr HKLM SOFTWARE\VcXsrv "Install_Dir" "$INSTDIR"
SectionEnd