]> git.lyx.org Git - features.git/blobdiff - development/Win32/packaging/installer/lyx-bundle.nsi
Consider inset strings in simple find/replaceAll (#12049)
[features.git] / development / Win32 / packaging / installer / lyx-bundle.nsi
index 6d53b1aea0f56d24ebb0653f54a1d1d506ec6501..9490f035f741da9dddac6c026c430c21f9a4abc2 100644 (file)
@@ -1,8 +1,8 @@
-/*
+/*
 
-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
 
 */
 
@@ -10,9 +10,15 @@ Compatible with NSIS 2.46
 # 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
@@ -38,23 +44,23 @@ SetCompressor /SOLID lzma
 # 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