lyx_mirror/development/Win32/packaging/installer/lyx.nsi
Bo Peng 5402048cea Scons windows installer integration:
* INSTALL.Win32: add instructin of building windows bundle installer
	* development/scons/SConstruct: add bundle and bundle_dir option
	* development/scons/scons_utils.py: handle bundle building
	* development/Win32/packaging/installer/lyx.nsi: 
		allow specify bundle .exe name from command line
	* development/Win32/packaging/installer/settings.user.nsh: 
		allow specify bundle directory from command line
	* development/Win32/packaging/installer/components/external.nsh:
		get files from bundle directory
	* development/Win32/packaging/installer/settings.nsh
		update miktex version (link needs to be updated as well?)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17081 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-07 07:55:38 +00:00

52 lines
1.2 KiB
Plaintext

/*
NSIS Script - LyX 1.4 Installer for Win32
Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
Requires NSIS 2.21 or later
Licence details for all installer scripts can be found
in the file COPYING or at http://www.lyx.org/about/license.php
*/
SetCompressor /SOLID lzma
!include "include\declarations.nsh"
;--------------------------------
;Compile the launcher
!system '"${NSISDIR}\makensis.exe" "${FILES_LAUNCHER}\launcher.nsi"'
;--------------------------------
;Compile Windows PDF view helper
!system '"${NSISDIR}\makensis.exe" "${FILES_PDFVIEW}\pdfview.nsi"'
;--------------------------------
;LyX Installer, output file can be specified using command line option
; /DExeFile=/path/to/installer
!ifdef ExeFile
!ifdef SETUPTYPE_BUNDLE
OutFile "${BundleExeFile}"
!else
OutFile "${ExeFile}"
!endif
!else
Outfile "${SETUP_EXE}"
!endif
;--------------------------------
;Components
!include "components\core.nsh"
!include "components\user.nsh"
!include "components\reinstall.nsh"
!include "components\external.nsh"
!include "components\viewer.nsh"
!include "components\dicts.nsh"
!include "components\langselect.nsh"
!include "components\configure.nsh"
!include "components\uninstall.nsh"