3 NSIS Script - LyX 1.4 Installer for Win32
\r
4 Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
\r
5 Requires NSIS 2.21 or later
\r
7 Licence details for all installer scripts can be found
\r
8 in the file COPYING or at http://www.lyx.org/about/license.php
\r
12 SetCompressor /SOLID lzma
\r
14 !include "include\declarations.nsh"
\r
16 #--------------------------------
\r
17 # The following commands use makensis to compile two applications.
\r
18 # Although these applications are written in NSIS, they do not install anything.
\r
20 #--------------------------------
\r
21 #Compile the launcher
\r
23 !system '"${NSISDIR}\makensis.exe" "${FILES_LAUNCHER}\launcher.nsi"'
\r
25 #--------------------------------
\r
26 #Compile Windows PDF view helper
\r
28 !system '"${NSISDIR}\makensis.exe" "${FILES_PDFVIEW}\pdfview.nsi"'
\r
30 #--------------------------------
\r
31 #LyX Installer, output file can be specified using command line option
\r
32 # /DExeFile=/path/to/installer or /DBundleExeFile=/path/to/installer if
\r
33 # SETUPTYPE_BUNDLE is defined.
\r
36 !ifdef SETUPTYPE_BUNDLE
\r
37 !ifdef BundleExeFile
\r
38 OutFile "${BundleExeFile}"
\r
40 Outfile "${SETUP_EXE}"
\r
42 # regular installer
\r
45 OutFile "${ExeFile}"
\r
47 Outfile "${SETUP_EXE}"
\r
51 #--------------------------------
\r
54 !include "components\core.nsh"
\r
55 !include "components\user.nsh"
\r
56 !include "components\reinstall.nsh"
\r
57 !include "components\external.nsh"
\r
58 !include "components\viewer.nsh"
\r
59 !include "components\dicts.nsh"
\r
60 !include "components\langselect.nsh"
\r
61 !include "components\configure.nsh"
\r
62 !include "components\uninstall.nsh"
\r