]> git.lyx.org Git - lyx.git/blob - development/Win32/packaging/installer/lyx.nsi
updated list of LyX translations
[lyx.git] / development / Win32 / packaging / installer / lyx.nsi
1 /*\r
2 \r
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
6 \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
9 \r
10 */\r
11 \r
12 SetCompressor /SOLID lzma\r
13 \r
14 !include "include\declarations.nsh"\r
15 \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
19 \r
20 #--------------------------------\r
21 #Compile the launcher\r
22 \r
23 !system '"${NSISDIR}\makensis.exe" "${FILES_LAUNCHER}\launcher.nsi"'\r
24 \r
25 #--------------------------------\r
26 #Compile Windows PDF view helper\r
27 \r
28 !system '"${NSISDIR}\makensis.exe" "${FILES_PDFVIEW}\pdfview.nsi"'\r
29 \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
34 \r
35 # bundle installer\r
36 !ifdef SETUPTYPE_BUNDLE\r
37 !ifdef BundleExeFile\r
38 OutFile "${BundleExeFile}"\r
39 !else\r
40 Outfile "${SETUP_EXE}"\r
41 !endif\r
42 # regular installer \r
43 !else\r
44 !ifdef ExeFile\r
45 OutFile "${ExeFile}"\r
46 !else\r
47 Outfile "${SETUP_EXE}"\r
48 !endif\r
49 !endif\r
50 \r
51 #--------------------------------\r
52 #Components\r
53 \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