mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
f9e5128e31
* Add option to bundle required ImageMagick/Ghostscript files without the need to modify registry keys that belong to the original applications. This allows for full support for installation by limited users, gives different users the possibility to have a different setup of all LyX tools and reduces download size. The necessary files will be included in the dependency package. * Python, ImageMagick and Ghostscript will now all be compiled using the same MSVC compiler and can use the same C runtimes. This reduces the installer size. * Compile Python files during installation to improve performance. Limited users may not have access to the installation folders so the files cannot be compiled afterwards. * Only the settings that typically need to be changed for LyX releases are now in settings.nsh. * Rename launcher executable to LyXLauncher.exe to match the alternative installer. * Minor fixes and cleanup. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24574 a592a061-630c-0410-9148-cb99ea01b6c8
56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
/*
|
|
|
|
NSIS Script - LyX 1.5/1.6 Installer for Win32
|
|
Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
|
|
Requires NSIS 2.36 or later
|
|
|
|
Licence details for all installer scripts can be found in the file COPYING
|
|
|
|
*/
|
|
|
|
!include settings.nsh
|
|
|
|
#--------------------------------
|
|
# The following commands use makensis to compile two applications.
|
|
# Although these applications are written in NSIS, they do not install anything.
|
|
|
|
# Compile the launcher
|
|
!system '"${NSISDIR}\makensis.exe" "${FILES_LAUNCHER}\launcher.nsi"'
|
|
|
|
# Compile Windows PDF view helper
|
|
!system '"${NSISDIR}\makensis.exe" "${FILES_PDFVIEW}\pdfview.nsi"'
|
|
|
|
#--------------------------------
|
|
# Header files
|
|
|
|
!include include\declarations.nsh
|
|
!include include\variables.nsh
|
|
!include include\nsis.nsh
|
|
|
|
!include include\dictlist.nsh
|
|
!include include\filelist.nsh
|
|
!include include\langlist.nsh
|
|
|
|
!include include\detection.nsh
|
|
!include include\gui.nsh
|
|
!include include\init.nsh
|
|
|
|
#--------------------------------
|
|
# Setup
|
|
|
|
!include setup\install.nsh
|
|
!include setup\uninstall.nsh
|
|
!include setup\configure.nsh
|
|
|
|
#--------------------------------
|
|
# User interface (wizard pages)
|
|
|
|
!include gui\external.nsh
|
|
!include gui\langselect.nsh
|
|
!include gui\reinstall.nsh
|
|
|
|
#--------------------------------
|
|
# Output file
|
|
|
|
Outfile "${SETUP_EXE}"
|