2006-11-04 14:28:11 +00:00
|
|
|
|
/*
|
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
NSIS Script - LyX 1.5/1.6 Installer for Win32
|
2006-11-04 14:28:11 +00:00
|
|
|
|
Authors: Joost Verburg, Angus Leeming, Uwe St<53>hr
|
2008-03-30 21:37:53 +00:00
|
|
|
|
Requires NSIS 2.36 or later
|
2006-11-04 14:28:11 +00:00
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
Licence details for all installer scripts can be found in the file COPYING
|
2006-11-04 14:28:11 +00:00
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
!include settings.nsh
|
2006-11-04 14:28:11 +00:00
|
|
|
|
|
2007-02-26 16:03:30 +00:00
|
|
|
|
#--------------------------------
|
2008-03-30 21:37:53 +00:00
|
|
|
|
# Header files
|
|
|
|
|
|
|
|
|
|
!include include\declarations.nsh
|
2008-05-01 18:33:36 +00:00
|
|
|
|
!include include\variables.nsh
|
|
|
|
|
!include include\nsis.nsh
|
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
!include include\dictlist.nsh
|
|
|
|
|
!include include\filelist.nsh
|
2008-05-01 18:33:36 +00:00
|
|
|
|
!include include\langlist.nsh
|
|
|
|
|
|
|
|
|
|
!include include\detection.nsh
|
2008-03-30 21:37:53 +00:00
|
|
|
|
!include include\gui.nsh
|
|
|
|
|
!include include\init.nsh
|
|
|
|
|
|
2008-05-12 22:35:35 +00:00
|
|
|
|
#--------------------------------
|
|
|
|
|
# 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"'
|
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
#--------------------------------
|
|
|
|
|
# Setup
|
|
|
|
|
|
|
|
|
|
!include setup\install.nsh
|
|
|
|
|
!include setup\uninstall.nsh
|
2008-03-31 15:31:09 +00:00
|
|
|
|
!include setup\configure.nsh
|
2008-03-30 21:37:53 +00:00
|
|
|
|
|
|
|
|
|
#--------------------------------
|
|
|
|
|
# User interface (wizard pages)
|
|
|
|
|
|
|
|
|
|
!include gui\external.nsh
|
|
|
|
|
!include gui\langselect.nsh
|
|
|
|
|
!include gui\reinstall.nsh
|
2008-05-01 18:33:36 +00:00
|
|
|
|
|
|
|
|
|
#--------------------------------
|
|
|
|
|
# Output file
|
|
|
|
|
|
|
|
|
|
Outfile "${SETUP_EXE}"
|