-/*
+/*
-NSIS Script - LyX 2.0 Installer for Win32
-Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
-Compatible with NSIS 2.46
+NSIS Script - LyX 2.3 Installer for Windows
+Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
+Compatible with NSIS 3.0
*/
# was not corrupted by the download.
CRCCheck force
#
-# Make the installer as small as possible.
+# Make the installer as small as possible
SetCompressor /SOLID lzma
+# make it a Unicode installer
+Unicode true
+
+# enable support for high DPI resolution
+ManifestDPIAware true
+
!ifndef SETUPTYPE
!define SETUPTYPE BUNDLE
!endif
# set up the installer pages
!include include\gui.nsh
-#
+# sets the install sections and checks the system on starting the un/installer
!include include\init.nsh
# install LyX and needed third-party programs like Python etc.
!include setup\install.nsh
+# loads a function to modify Windows environment variables
+!include include\EnvVarUpdate.nsh
+
# uninstall LyX and all programs that were installed together with LyX
!include setup\uninstall.nsh
# configure LyX (set start menu and write registry entries)
!include setup\configure.nsh
-#
-!include gui\external.nsh
-
-#
-!include gui\reinstall.nsh
+# provides downloads of external programs
+#!include gui\external.nsh
#--------------------------------
# Output file