]> git.lyx.org Git - lyx.git/blobdiff - development/Win32/packaging/installer/lyx-standard.nsi
Wininstaller2: improved check if over installing
[lyx.git] / development / Win32 / packaging / installer / lyx-standard.nsi
index b910ff48c5cfbabd5bdb56309da16d7b723883c5..5c943b24261d92a312f49e69c1bb880c2d5c4688 100644 (file)
@@ -1,18 +1,22 @@
-/*
-
-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
 */
 
 # Do a Cyclic Redundancy Check to make sure the installer
 # 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 STANDARD
 !endif
@@ -38,23 +42,24 @@ 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