aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/installer/vcxsrv.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/installer/vcxsrv.nsi')
-rw-r--r--xorg-server/installer/vcxsrv.nsi12
1 files changed, 10 insertions, 2 deletions
diff --git a/xorg-server/installer/vcxsrv.nsi b/xorg-server/installer/vcxsrv.nsi
index 080784820..8ba22aa46 100644
--- a/xorg-server/installer/vcxsrv.nsi
+++ b/xorg-server/installer/vcxsrv.nsi
@@ -101,8 +101,6 @@ Section "VcXsrv (required)"
File "msvcp100.dll"
File "msvcr100d.dll"
!endif
- SetOutPath $INSTDIR\fonts
- File /r "..\fonts\*.*"
SetOutPath $INSTDIR\xkbdata
File /r "..\xkbdata\*.*"
SetOutPath $INSTDIR\locale
@@ -197,6 +195,16 @@ end:
SectionEnd
; Optional section (can be disabled by the user)
+Section "Fonts"
+ SectionIn 1
+
+ SetOutPath $INSTDIR\fonts
+ CreateDirectory "$SMPROGRAMS\VcXsrv"
+ File /r "..\fonts\*.*"
+
+SectionEnd
+
+; Optional section (can be disabled by the user)
Section "Start Menu Shortcuts"
SectionIn 1